Changelog
0.1.10 (February 22, 2022)
null | RangeSelection | NodeSelection
. Upgrade note: selection !== null
-> $isRangeSelection(selection)
.static convertDOM(): DOMConversionMap | null
.createEditor({onError})
errors will now throw by default. Also, removed registerListener('error')
.Changelog
0.1.9 (February 18, 2022)
registerListener('mutation', Class<LexicalNode>, Map<NodeKey, NodeMutation>)
to track created/destroyed nodes. NodeMutation = 'created' | 'destroyed'
$log()
.@lexical/table
package.Changelog
0.1.8 (February 11, 2022)
Lexical{Plain/Rich}TextPlugin
and DEPRECATED_use{Plain/Rich}TextPlugin
no longer create a ParagraphNode for you. This logic has been decoupled into a separate plugin <BootstrapPlugin />. The Bootstrap plugin also accepts an initialPayloadFn and clearEditorFn for custom initialization (i.e. edit behavior from server data). <BootstrapPlugin /> <RichTextPlugin .. />
. If you're using the DEPRECATED_{Plain/Rich}Text
version you may also want to copy-paste this hook and run it before the RichText initialization - https://github.com/facebook/lexical/blob/main/packages/lexical/src/tests/utils/DEPRECATED__useLexicalBootstrap.jsChangelog
0.1.21 (April 12, 2022)