lexical 0.3.4 → 0.3.5

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 CHANGED
@@ -8846,7 +8846,7 @@ class LexicalEditor {
8846
8846
  * LICENSE file in the root directory of this source tree.
8847
8847
  *
8848
8848
  */
8849
- const VERSION = '0.3.4';
8849
+ const VERSION = '0.3.5';
8850
8850
 
8851
8851
  /**
8852
8852
  * Copyright (c) Meta Platforms, Inc. and affiliates.
package/Lexical.prod.js CHANGED
@@ -173,6 +173,6 @@ exports.$isGridCellNode=jd;exports.$isGridNode=hd;exports.$isGridRowNode=id;expo
173
173
  exports.$parseSerializedNode=function(a){return Id(a,I()._nodes)};exports.$setCompositionKey=J;exports.$setSelection=ob;exports.BLUR_COMMAND=La;exports.CAN_REDO_COMMAND={};exports.CAN_UNDO_COMMAND={};exports.CLEAR_EDITOR_COMMAND={};exports.CLEAR_HISTORY_COMMAND={};exports.CLICK_COMMAND=ca;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=ja;
174
174
  exports.COPY_COMMAND=Ia;exports.CUT_COMMAND=Ja;exports.DELETE_CHARACTER_COMMAND=da;exports.DELETE_LINE_COMMAND=na;exports.DELETE_WORD_COMMAND=ma;exports.DRAGEND_COMMAND=Ha;exports.DRAGOVER_COMMAND=Ga;exports.DRAGSTART_COMMAND=Fa;exports.DROP_COMMAND=Ea;exports.DecoratorNode=Vd;exports.ElementNode=Wd;exports.FOCUS_COMMAND=Ka;exports.FORMAT_ELEMENT_COMMAND={};exports.FORMAT_TEXT_COMMAND=q;exports.GridCellNode=se;exports.GridNode=te;exports.GridRowNode=ue;exports.INDENT_CONTENT_COMMAND={};
175
175
  exports.INSERT_LINE_BREAK_COMMAND=ea;exports.INSERT_PARAGRAPH_COMMAND=ia;exports.KEY_ARROW_DOWN_COMMAND=xa;exports.KEY_ARROW_LEFT_COMMAND=sa;exports.KEY_ARROW_RIGHT_COMMAND=qa;exports.KEY_ARROW_UP_COMMAND=wa;exports.KEY_BACKSPACE_COMMAND=Aa;exports.KEY_DELETE_COMMAND=Ca;exports.KEY_ENTER_COMMAND=ya;exports.KEY_ESCAPE_COMMAND=Ba;exports.KEY_MODIFIER_COMMAND=Oa;exports.KEY_SPACE_COMMAND=za;exports.KEY_TAB_COMMAND=Da;exports.LineBreakNode=$d;exports.MOVE_TO_END=ra;exports.MOVE_TO_START=va;
176
- exports.OUTDENT_CONTENT_COMMAND={};exports.PASTE_COMMAND=ka;exports.ParagraphNode=oe;exports.REDO_COMMAND=pa;exports.REMOVE_TEXT_COMMAND=la;exports.RootNode=Xd;exports.SELECTION_CHANGE_COMMAND=aa;exports.TextNode=fe;exports.UNDO_COMMAND=oa;exports.VERSION="0.3.4";exports.createCommand=function(){return{}};
176
+ exports.OUTDENT_CONTENT_COMMAND={};exports.PASTE_COMMAND=ka;exports.ParagraphNode=oe;exports.REDO_COMMAND=pa;exports.REMOVE_TEXT_COMMAND=la;exports.RootNode=Xd;exports.SELECTION_CHANGE_COMMAND=aa;exports.TextNode=fe;exports.UNDO_COMMAND=oa;exports.VERSION="0.3.5";exports.createCommand=function(){return{}};
177
177
  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=Yd(),h=b.namespace||(null!==e?e._config.namespace:Lb()),k=b.editorState,m=[Xd,fe,$d,oe,...(b.nodes||[])],l=b.onError;b=b.readOnly||!1;if(void 0===a&&null!==c)a=c._nodes;else for(a=new Map,c=0;c<m.length;c++){let n=m[c],r=n.getType();a.set(r,{klass:n,transforms:new Set})}d=new re(g,e,a,{disableEvents:f,namespace:h,theme:d},l,qe(a),b);void 0!==k&&(d._pendingEditorState=k,d._dirtyType=
178
178
  2);return d}
@@ -5,4 +5,4 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
- export declare const VERSION = "0.3.4";
8
+ export declare const VERSION = "0.3.5";
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "rich-text"
10
10
  ],
11
11
  "license": "MIT",
12
- "version": "0.3.4",
12
+ "version": "0.3.5",
13
13
  "main": "Lexical.js",
14
14
  "repository": {
15
15
  "type": "git",