lexical 0.3.10 → 0.3.11

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
@@ -8981,7 +8981,7 @@ class LexicalEditor {
8981
8981
  * LICENSE file in the root directory of this source tree.
8982
8982
  *
8983
8983
  */
8984
- const VERSION = '0.3.10';
8984
+ const VERSION = '0.3.11';
8985
8985
 
8986
8986
  /**
8987
8987
  * Copyright (c) Meta Platforms, Inc. and affiliates.
package/Lexical.prod.js CHANGED
@@ -177,7 +177,7 @@ exports.$getPreviousSelection=Nb;exports.$getRoot=Hb;exports.$getSelection=v;exp
177
177
  exports.$nodesOfType=function(a){var b=H();let c=b._readOnly,d=a.getType();b=b._nodeMap;let f=[];for(let [,e]of b)e instanceof a&&e.__type===d&&(c||e.isAttached())&&f.push(e);return f};exports.$parseSerializedNode=function(a){return Nd(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=ba;
178
178
  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=ha;exports.COPY_COMMAND=Ia;exports.CUT_COMMAND=Ja;exports.DELETE_CHARACTER_COMMAND=ca;exports.DELETE_LINE_COMMAND=ma;exports.DELETE_WORD_COMMAND=la;exports.DRAGEND_COMMAND=Ha;exports.DRAGOVER_COMMAND=Ga;exports.DRAGSTART_COMMAND=Fa;exports.DROP_COMMAND=Ea;exports.DecoratorNode=Zd;
179
179
  exports.ElementNode=$d;exports.FOCUS_COMMAND=Ka;exports.FORMAT_ELEMENT_COMMAND={};exports.FORMAT_TEXT_COMMAND=q;exports.GridCellNode=we;exports.GridNode=xe;exports.GridRowNode=ye;exports.INDENT_CONTENT_COMMAND={};exports.INSERT_LINE_BREAK_COMMAND=ea;exports.INSERT_PARAGRAPH_COMMAND=fa;exports.KEY_ARROW_DOWN_COMMAND=xa;exports.KEY_ARROW_LEFT_COMMAND=ra;exports.KEY_ARROW_RIGHT_COMMAND=pa;exports.KEY_ARROW_UP_COMMAND=wa;exports.KEY_BACKSPACE_COMMAND=Aa;exports.KEY_DELETE_COMMAND=Ca;
180
- exports.KEY_ENTER_COMMAND=ya;exports.KEY_ESCAPE_COMMAND=Ba;exports.KEY_MODIFIER_COMMAND=Ma;exports.KEY_SPACE_COMMAND=za;exports.KEY_TAB_COMMAND=Da;exports.LineBreakNode=de;exports.MOVE_TO_END=qa;exports.MOVE_TO_START=sa;exports.OUTDENT_CONTENT_COMMAND={};exports.PASTE_COMMAND=ja;exports.ParagraphNode=se;exports.REDO_COMMAND=oa;exports.REMOVE_TEXT_COMMAND=ka;exports.RootNode=ae;exports.SELECTION_CHANGE_COMMAND=aa;exports.TextNode=je;exports.UNDO_COMMAND=na;exports.VERSION="0.3.10";
180
+ exports.KEY_ENTER_COMMAND=ya;exports.KEY_ESCAPE_COMMAND=Ba;exports.KEY_MODIFIER_COMMAND=Ma;exports.KEY_SPACE_COMMAND=za;exports.KEY_TAB_COMMAND=Da;exports.LineBreakNode=de;exports.MOVE_TO_END=qa;exports.MOVE_TO_START=sa;exports.OUTDENT_CONTENT_COMMAND={};exports.PASTE_COMMAND=ja;exports.ParagraphNode=se;exports.REDO_COMMAND=oa;exports.REMOVE_TEXT_COMMAND=ka;exports.RootNode=ae;exports.SELECTION_CHANGE_COMMAND=aa;exports.TextNode=je;exports.UNDO_COMMAND=na;exports.VERSION="0.3.11";
181
181
  exports.createCommand=function(){return{}};
182
182
  exports.createEditor=function(a){var b=a||{},c=Z,d=b.theme||{};let f=void 0===a?c:b.parentEditor||null,e=b.disableEvents||!1,g=be(),h=b.namespace||(null!==f?f._config.namespace:Lb()),k=b.editorState,m=[ae,je,de,se,...(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 ve(g,f,a,{disableEvents:e,namespace:h,theme:d},l?l:console.error,ue(a),b);void 0!==k&&(d._pendingEditorState=
183
183
  k,d._dirtyType=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.10";
8
+ export declare const VERSION = "0.3.11";
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "rich-text"
10
10
  ],
11
11
  "license": "MIT",
12
- "version": "0.3.10",
12
+ "version": "0.3.11",
13
13
  "main": "Lexical.js",
14
14
  "repository": {
15
15
  "type": "git",