Skip to content

v1.0.10

Choose a tag to compare

@gazreese gazreese released this 07 Jul 15:26
· 10 commits to main since this release
d726f0d
  • Added a contextMenuBuilder parameter to Markdown and MarkdownBody, letting callers customise or suppress (pass null) the text-selection toolbar shown when selectable is enabled. Defaults to the platform-adaptive Flutter selection toolbar, so existing behaviour is unchanged (#134)
  • onSelectionChanged now reports the full selectable plain text via TextSpan.toPlainText(). Previously, paragraphs containing rich/nested inline spans (bold, italic, code, links) reported the top-level TextSpan.text, which was null for multi-child spans; callers now receive the complete text so TextSelection.textInside works as expected (#134)

Thanks to our contributors:

  • @momadvisor for the contextMenuBuilder parameter and plain-text selection fix (#134)