lexical_editor_flutter 1.7.0 copy "lexical_editor_flutter: ^1.7.0" to clipboard
lexical_editor_flutter: ^1.7.0 copied to clipboard

Batteries-included Lexical editor for Flutter: every node type registered, a default theme with presenters for each of them, history, and one widget that puts it together.

Changelog #

1.7.0 #

No library changes. The packages version in lockstep — they are one library split for pay-for-what-you-use, not a set of independent projects — so this release keeps the set on one version. See lexical_image and lexical_flutter for what changed.

1.6.1 #

No library changes. The packages version in lockstep — they are one library split for pay-for-what-you-use, not a set of independent projects — so this release keeps the set on one version. See lexical_image for what changed.

1.6.0 #

lexicalDecoratorBuilders(imagePlaceholderBuilder:) forwards to the image builder. A stand-in that cannot say which image failed, or offer to try again, leaves a grey box and no way forward — and the bundle was the one path that could not replace it.

1.5.0 #

lexicalDecoratorBuilders(imageStyle:) forwards a LexicalImageStyle, so a bundled editor can draw the image's selection chrome in its own accent instead of the built-in blue.

1.4.0 #

LexicalMentions.surfaceBuilder forwards to MentionScope, so a bundle user can give the typeahead its own material rather than the box a Decoration allows.

1.3.0 #

No library changes. The packages version in lockstep — they are one library split for pay-for-what-you-use, not a set of independent projects — so this release keeps the set on one version. See lexical_core for what changed.

1.2.0 #

  • LexicalHorizontalRuleView and horizontalRuleDecoratorBuilders(), for the HorizontalRuleNode new in lexical_rich_text 1.2.0. Included in lexicalDecoratorBuilders, so a bundled editor draws a rule rather than the text stand-in a decorator without a builder falls back to. Its colour comes from the surrounding text style, so it follows a light or dark document without being configured.

1.1.0 #

  • LexicalEditorField.mentions: the @ typeahead, given a source. Mentions are the one feature that cannot have a default — only the application knows who can be mentioned — which is why there is no registerMention beside registerTable.
  • Selected table cells are tinted. Selecting cells and merging them are the same rectangle, and a user who cannot see it is guessing.

1.0.0 #

First stable release; semantic versioning applies from here. The batteries-included editor: every node type, the default theme, history and smart-link interaction in one widget. registerLexical now also registers link and mark behaviour; editableKey hands over the selection geometry a floating toolbar needs, and contextMenuBuilder can suppress the platform's own selection menu for an application that draws its own.

The entries below record how it got here.

0.1.0-dev.2 #

Seeding an empty document waits for the end of the frame, so a listener that rebuilds is not asked to rebuild during a build.

LexicalEditorField.interaction forwards hover and tap, and interactiveNodeTypes names every type in the bundle that can point somewhere — link, autolink, mention, hashtag.

0.1.0-dev.1 #

First development release.

Added #

  • createLexicalEditor and lexicalNodes: every node type in this family, registered together.
  • registerLexical: rich text, lists, code and history, in the order their command priorities require.
  • defaultLexicalTheme and LexicalPalette, presenting every registered type — heading scale by level, quote bars, code backgrounds, bullets, numbers and checkboxes, table grids, link and mention styling.
  • LexicalEditorField, the one-widget arrangement of all of it.
0
likes
0
points
502
downloads

Publisher

verified publisherahmadre.com

Weekly Downloads

Batteries-included Lexical editor for Flutter: every node type registered, a default theme with presenters for each of them, history, and one widget that puts it together.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, lexical_code, lexical_core, lexical_embed, lexical_flutter, lexical_hashtag, lexical_history, lexical_image, lexical_link, lexical_list, lexical_mark, lexical_mention, lexical_mention_flutter, lexical_rich_text, lexical_table, meta

More

Packages that depend on lexical_editor_flutter