lexical 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Lexical.dev.js +1 -1
- package/Lexical.js.flow +1 -1
- package/Lexical.prod.js +1 -1
- package/LexicalVersion.d.ts +1 -1
- package/package.json +1 -1
package/Lexical.dev.js
CHANGED
package/Lexical.js.flow
CHANGED
|
@@ -58,7 +58,7 @@ declare export function createCommand<T>(type?: string): LexicalCommand<T>;
|
|
|
58
58
|
/**
|
|
59
59
|
* LexicalEditor
|
|
60
60
|
*/
|
|
61
|
-
type IntentionallyMarkedAsDirtyElement =
|
|
61
|
+
type IntentionallyMarkedAsDirtyElement = boolean;
|
|
62
62
|
|
|
63
63
|
type MutationListeners = Map<MutationListener, Class<LexicalNode>>;
|
|
64
64
|
export type NodeMutation = 'created' | 'updated' | 'destroyed';
|
package/Lexical.prod.js
CHANGED
|
@@ -191,6 +191,6 @@ exports.$nodesOfType=function(a){var b=I();let c=b._readOnly,d=a.getType();b=b._
|
|
|
191
191
|
exports.CLICK_COMMAND=da;exports.COMMAND_PRIORITY_CRITICAL=4;exports.COMMAND_PRIORITY_EDITOR=0;exports.COMMAND_PRIORITY_HIGH=3;exports.COMMAND_PRIORITY_LOW=1;exports.COMMAND_PRIORITY_NORMAL=2;exports.CONTROLLED_TEXT_INSERTION_COMMAND=ia;exports.COPY_COMMAND=Ia;exports.CUT_COMMAND=Ja;exports.DELETE_CHARACTER_COMMAND=ea;exports.DELETE_LINE_COMMAND=na;exports.DELETE_WORD_COMMAND=ma;
|
|
192
192
|
exports.DEPRECATED_$createGridSelection=function(){let a=new X("root",0,"element"),b=new X("root",0,"element");return new Ad("root",a,b)};exports.DEPRECATED_$isGridCellNode=Fd;exports.DEPRECATED_$isGridNode=Dd;exports.DEPRECATED_$isGridRowNode=Ed;exports.DEPRECATED_$isGridSelection=Bd;exports.DEPRECATED_GridCellNode=Ke;exports.DEPRECATED_GridNode=Le;exports.DEPRECATED_GridRowNode=Me;exports.DRAGEND_COMMAND=Ha;exports.DRAGOVER_COMMAND=Ga;exports.DRAGSTART_COMMAND=Fa;exports.DROP_COMMAND=Ea;
|
|
193
193
|
exports.DecoratorNode=me;exports.ElementNode=ne;exports.FOCUS_COMMAND=Ka;exports.FORMAT_ELEMENT_COMMAND={};exports.FORMAT_TEXT_COMMAND=oa;exports.INDENT_CONTENT_COMMAND={};exports.INSERT_LINE_BREAK_COMMAND=fa;exports.INSERT_PARAGRAPH_COMMAND=ha;exports.KEY_ARROW_DOWN_COMMAND=wa;exports.KEY_ARROW_LEFT_COMMAND=ta;exports.KEY_ARROW_RIGHT_COMMAND=ra;exports.KEY_ARROW_UP_COMMAND=va;exports.KEY_BACKSPACE_COMMAND=Aa;exports.KEY_DELETE_COMMAND=Ca;exports.KEY_ENTER_COMMAND=xa;exports.KEY_ESCAPE_COMMAND=Ba;
|
|
194
|
-
exports.KEY_MODIFIER_COMMAND=Ma;exports.KEY_SPACE_COMMAND=ya;exports.KEY_TAB_COMMAND=Da;exports.LineBreakNode=se;exports.MOVE_TO_END=sa;exports.MOVE_TO_START=ua;exports.OUTDENT_CONTENT_COMMAND={};exports.PASTE_COMMAND=ka;exports.ParagraphNode=Ge;exports.REDO_COMMAND=qa;exports.REMOVE_TEXT_COMMAND=la;exports.RootNode=pe;exports.SELECTION_CHANGE_COMMAND=ba;exports.TextNode=ye;exports.UNDO_COMMAND=pa;exports.VERSION="0.7.
|
|
194
|
+
exports.KEY_MODIFIER_COMMAND=Ma;exports.KEY_SPACE_COMMAND=ya;exports.KEY_TAB_COMMAND=Da;exports.LineBreakNode=se;exports.MOVE_TO_END=sa;exports.MOVE_TO_START=ua;exports.OUTDENT_CONTENT_COMMAND={};exports.PASTE_COMMAND=ka;exports.ParagraphNode=Ge;exports.REDO_COMMAND=qa;exports.REMOVE_TEXT_COMMAND=la;exports.RootNode=pe;exports.SELECTION_CHANGE_COMMAND=ba;exports.TextNode=ye;exports.UNDO_COMMAND=pa;exports.VERSION="0.7.1";exports.createCommand=function(){return{}};
|
|
195
195
|
exports.createEditor=function(a){var b=a||{},c=Z,d=b.theme||{};let e=void 0===a?c:b.parentEditor||null,f=b.disableEvents||!1,g=qe(),h=b.namespace||(null!==e?e._config.namespace:Pb()),k=b.editorState,l=[pe,ye,se,Ge,...(b.nodes||[])],m=b.onError;b=void 0!==b.editable?b.editable:!0;if(void 0===a&&null!==c)a=c._nodes;else for(a=new Map,c=0;c<l.length;c++){let n=l[c];var p=null;"function"!==typeof n&&(p=n,n=p.replace,p=p.with);let r=n.getType();a.set(r,{klass:n,replace:p,transforms:new Set})}d=new Je(g,
|
|
196
196
|
e,a,{disableEvents:f,namespace:h,theme:d},m?m:console.error,Ie(a),b);void 0!==k&&(d._pendingEditorState=k,d._dirtyType=2);return d}
|
package/LexicalVersion.d.ts
CHANGED