lexical_editor_flutter 1.4.0
lexical_editor_flutter: ^1.4.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.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 #
LexicalHorizontalRuleViewandhorizontalRuleDecoratorBuilders(), for theHorizontalRuleNodenew inlexical_rich_text1.2.0. Included inlexicalDecoratorBuilders, 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 noregisterMentionbesideregisterTable.- 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 #
createLexicalEditorandlexicalNodes: every node type in this family, registered together.registerLexical: rich text, lists, code and history, in the order their command priorities require.defaultLexicalThemeandLexicalPalette, 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.