rich_text_flutter 1.0.8 copy "rich_text_flutter: ^1.0.8" to clipboard
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.text returning empty after setHtml / text = in edit mode. Race condition: WebView events could send stale empty content back to Flutter while setHtml was still in flight, overwriting _currentHtml.
  • Added _settingHtml guard on the Dart side — updateFromEditor is skipped while a programmatic setHtml is in progress.
  • Added _ignoreChanges guard on the JS side — sendToFlutter is suppressed during __setEditorContent to prevent any intermediate/empty event from leaking.

1.0.7 #

  • Made controller.text sync robust across all platforms by adding MutationObserver, keyup, compositionend, and blur event listeners alongside input.
  • Deduplicates messages so the same HTML is not posted twice.
  • __setEditorContent now updates the sent-cache to prevent echo on setHtml.

1.0.6 #

  • Fixed invalid_use_of_protected_member warning that prevented controller.text from syncing with live editor content.

1.0.5 #

  • Added updateFromEditor so controller.text stays 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 EagerGestureRecognizer so 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 text getter/setter on RichTextEditorController for convenience (works like TextEditingController.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().
2
likes
0
points
297
downloads

Publisher

verified publishersuneerck.in

Weekly Downloads

A cross-platform Flutter rich text editor with HTML input and output. Supports web, iOS, Android, macOS, and Windows.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, webview_flutter

More

Packages that depend on rich_text_flutter