Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .maestro/enrichedText/flows/empty_list_elements_display.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
appId: swmansion.enriched.example
tags:
- android-only
---
# Validates that lists with empty items are parsed and displayed correctly
- launchApp
Expand Down
2 changes: 0 additions & 2 deletions .maestro/enrichedText/flows/inline_styles_display.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
appId: swmansion.enriched.example
tags:
- android-only
---
# Validates that inline styles are displayed correctly
- launchApp
Expand Down
2 changes: 0 additions & 2 deletions .maestro/enrichedText/flows/link_press.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
appId: swmansion.enriched.example
tags:
- android-only
---
# Validates that link press events are triggered correctly
- launchApp
Expand Down
2 changes: 0 additions & 2 deletions .maestro/enrichedText/flows/mention_press.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
appId: swmansion.enriched.example
tags:
- android-only
---
# Validates that mention press events are triggered correctly
- launchApp
Expand Down
2 changes: 0 additions & 2 deletions .maestro/enrichedText/flows/paragraph_styles_display.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
appId: swmansion.enriched.example
tags:
- android-only
---
# Validates that paragraph styles are displayed correctly
- launchApp
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apps/example/src/components/TextRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const styles = StyleSheet.create({
borderRadius: 8,
},
text: {
fontSize: 16,
fontSize: 18,
color: 'black',
marginTop: 4,
fontFamily: 'Nunito-Regular',
Expand Down
10 changes: 5 additions & 5 deletions ios/EnrichedTextInputView.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#pragma once
#import "AttributesManager.h"
#import "BaseStyleProtocol.h"
#import "InputConfig.h"
#import "EnrichedConfig.h"
#import "EnrichedViewHost.h"
#import "InputParser.h"
#import "InputTextView.h"
#import "LinkData.h"
Expand All @@ -15,11 +16,11 @@
NS_ASSUME_NONNULL_BEGIN

@interface EnrichedTextInputView
: RCTViewComponentView <MediaAttachmentDelegate> {
: RCTViewComponentView <MediaAttachmentDelegate, EnrichedViewHost> {
@public
InputTextView *textView;
@public
InputConfig *config;
EnrichedConfig *config;
@public
InputParser *parser;
@public
Expand All @@ -44,8 +45,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)anyTextMayHaveBeenModified;
- (void)scheduleRelayoutIfNeeded;
- (BOOL)handleStyleBlocksAndConflicts:(StyleType)type range:(NSRange)range;
- (NSArray<NSNumber *> *)getPresentStyleTypesFrom:(NSArray<NSNumber *> *)types
range:(NSRange)range;

@end

NS_ASSUME_NONNULL_END
Expand Down
Loading