-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
99 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
#import <UIKit/UIKit.h> | ||
#import <react-native-live-markdown/RCTMarkdownUtils.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface MarkdownLayoutManager : NSLayoutManager | ||
|
||
@property(nonatomic) RCTMarkdownUtils *markdownUtils; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
#import <UIKit/UIKit.h> | ||
#import <react-native-live-markdown/RCTMarkdownStyle.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface MarkdownTextInputDecoratorView : UIView | ||
|
||
- (void)setMarkdownStyle:(nonnull RCTMarkdownStyle *)markdownStyle; | ||
- (void)setMarkdownStyle:(RCTMarkdownStyle *)markdownStyle; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#import <React/RCTViewManager.h> | ||
|
||
@interface MarkdownTextInputDecoratorViewManager : RCTViewManager | ||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface MarkdownTextInputDecoratorViewManager : RCTViewManager | ||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
#import <React/RCTBackedTextInputViewProtocol.h> | ||
#import <react-native-live-markdown/RCTMarkdownStyle.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface RCTMarkdownUtils : NSObject | ||
|
||
@property (nonatomic) RCTMarkdownStyle *markdownStyle; | ||
@property (nonatomic) NSMutableArray<NSValue *> *quoteRanges; | ||
@property (nonatomic) NSMutableArray<NSValue *> *blockquoteRanges; | ||
@property (weak, nonatomic) UIView<RCTBackedTextInputViewProtocol> *backedTextInputView; | ||
|
||
- (instancetype)initWithBackedTextInputView:(UIView<RCTBackedTextInputViewProtocol> *)backedTextInputView; | ||
|
||
- (NSAttributedString *)parseMarkdown:(NSAttributedString *)input; | ||
- (NSAttributedString *)parseMarkdown:(nullable NSAttributedString *)input; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.