rich_text_flutter 1.0.8
rich_text_flutter: ^1.0.8 copied to clipboard
A cross-platform Flutter rich text editor with HTML input and output. Supports web, iOS, Android, macOS, and Windows.
1.0.8 #
- Fixed
controller.textreturning empty aftersetHtml/text =in edit mode. Race condition: WebView events could send stale empty content back to Flutter whilesetHtmlwas still in flight, overwriting_currentHtml. - Added
_settingHtmlguard on the Dart side —updateFromEditoris skipped while a programmaticsetHtmlis in progress. - Added
_ignoreChangesguard on the JS side —sendToFlutteris suppressed during__setEditorContentto prevent any intermediate/empty event from leaking.
1.0.7 #
- Made
controller.textsync robust across all platforms by addingMutationObserver,keyup,compositionend, andblurevent listeners alongsideinput. - Deduplicates messages so the same HTML is not posted twice.
__setEditorContentnow updates the sent-cache to prevent echo onsetHtml.
1.0.6 #
- Fixed
invalid_use_of_protected_memberwarning that preventedcontroller.textfrom syncing with live editor content.
1.0.5 #
- Added
updateFromEditorsocontroller.textstays in sync with user edits in the editor.
1.0.4 #
- Fixed editor internal scroll not working when placed inside a scrollable parent (
SingleChildScrollView,ListView, etc.). - Uses
EagerGestureRecognizerso the WebView correctly claims touch events in nested scroll scenarios.
1.0.3 #
- Fixed editor not scrolling when content exceeds visible area.
- Toolbar now stays pinned at the top with internal scroll for the editor body.
1.0.2 #
- Added synchronous
textgetter/setter onRichTextEditorControllerfor convenience (works likeTextEditingController.text). - Can now set content before the WebView loads:
controller.text = 'Hello';.
1.0.1 #
- Documentation and metadata improvements.
1.0.0 #
- Initial release.
- Cross-platform rich text editor (Android, iOS, Web, macOS, Windows).
- HTML input and HTML output.
- Toolbar: bold, italic, underline, link, bullet list, numbered list.
RichTextEditorController:getHtml(),setHtml(),clear().