@lexical/react
Advanced tools
Comparing version 0.11.2 to 0.11.3
@@ -20,2 +20,2 @@ /** | ||
editorRef: React.RefCallback<LexicalEditor> | MutableRefObject<LexicalEditor>; | ||
}): void; | ||
}): null; |
@@ -33,11 +33,9 @@ /** | ||
editorRef(editor); | ||
return; | ||
} else if (typeof editorRef === 'object') { | ||
editorRef.current = editor; | ||
} | ||
if (typeof editorRef === 'object') { | ||
editorRef.current = editor; | ||
return; | ||
} | ||
return null; | ||
} | ||
exports.EditorRefPlugin = EditorRefPlugin; |
@@ -7,2 +7,2 @@ /** | ||
*/ | ||
'use strict';var c=require("@lexical/react/LexicalComposerContext");exports.EditorRefPlugin=function({editorRef:a}){let [b]=c.useLexicalComposerContext();"function"===typeof a?a(b):"object"===typeof a&&(a.current=b)} | ||
'use strict';var c=require("@lexical/react/LexicalComposerContext");exports.EditorRefPlugin=function({editorRef:a}){let [b]=c.useLexicalComposerContext();"function"===typeof a?a(b):"object"===typeof a&&(a.current=b);return null} |
@@ -11,25 +11,25 @@ { | ||
"license": "MIT", | ||
"version": "0.11.2", | ||
"version": "0.11.3", | ||
"dependencies": { | ||
"@lexical/clipboard": "0.11.2", | ||
"@lexical/code": "0.11.2", | ||
"@lexical/dragon": "0.11.2", | ||
"@lexical/hashtag": "0.11.2", | ||
"@lexical/history": "0.11.2", | ||
"@lexical/link": "0.11.2", | ||
"@lexical/list": "0.11.2", | ||
"@lexical/mark": "0.11.2", | ||
"@lexical/markdown": "0.11.2", | ||
"@lexical/overflow": "0.11.2", | ||
"@lexical/plain-text": "0.11.2", | ||
"@lexical/rich-text": "0.11.2", | ||
"@lexical/selection": "0.11.2", | ||
"@lexical/table": "0.11.2", | ||
"@lexical/text": "0.11.2", | ||
"@lexical/utils": "0.11.2", | ||
"@lexical/yjs": "0.11.2", | ||
"@lexical/clipboard": "0.11.3", | ||
"@lexical/code": "0.11.3", | ||
"@lexical/dragon": "0.11.3", | ||
"@lexical/hashtag": "0.11.3", | ||
"@lexical/history": "0.11.3", | ||
"@lexical/link": "0.11.3", | ||
"@lexical/list": "0.11.3", | ||
"@lexical/mark": "0.11.3", | ||
"@lexical/markdown": "0.11.3", | ||
"@lexical/overflow": "0.11.3", | ||
"@lexical/plain-text": "0.11.3", | ||
"@lexical/rich-text": "0.11.3", | ||
"@lexical/selection": "0.11.3", | ||
"@lexical/table": "0.11.3", | ||
"@lexical/text": "0.11.3", | ||
"@lexical/utils": "0.11.3", | ||
"@lexical/yjs": "0.11.3", | ||
"react-error-boundary": "^3.1.4" | ||
}, | ||
"peerDependencies": { | ||
"lexical": "0.11.2", | ||
"lexical": "0.11.3", | ||
"react": ">=17.x", | ||
@@ -36,0 +36,0 @@ "react-dom": ">=17.x" |
371940
7205
+ Added@lexical/clipboard@0.11.3(transitive)
+ Added@lexical/code@0.11.3(transitive)
+ Added@lexical/dragon@0.11.3(transitive)
+ Added@lexical/hashtag@0.11.3(transitive)
+ Added@lexical/history@0.11.3(transitive)
+ Added@lexical/html@0.11.3(transitive)
+ Added@lexical/link@0.11.3(transitive)
+ Added@lexical/list@0.11.3(transitive)
+ Added@lexical/mark@0.11.3(transitive)
+ Added@lexical/markdown@0.11.3(transitive)
+ Added@lexical/offset@0.11.3(transitive)
+ Added@lexical/overflow@0.11.3(transitive)
+ Added@lexical/plain-text@0.11.3(transitive)
+ Added@lexical/rich-text@0.11.3(transitive)
+ Added@lexical/selection@0.11.3(transitive)
+ Added@lexical/table@0.11.3(transitive)
+ Added@lexical/text@0.11.3(transitive)
+ Added@lexical/utils@0.11.3(transitive)
+ Added@lexical/yjs@0.11.3(transitive)
+ Addedlexical@0.11.3(transitive)
- Removed@lexical/clipboard@0.11.2(transitive)
- Removed@lexical/code@0.11.2(transitive)
- Removed@lexical/dragon@0.11.2(transitive)
- Removed@lexical/hashtag@0.11.2(transitive)
- Removed@lexical/history@0.11.2(transitive)
- Removed@lexical/html@0.11.2(transitive)
- Removed@lexical/link@0.11.2(transitive)
- Removed@lexical/list@0.11.2(transitive)
- Removed@lexical/mark@0.11.2(transitive)
- Removed@lexical/markdown@0.11.2(transitive)
- Removed@lexical/offset@0.11.2(transitive)
- Removed@lexical/overflow@0.11.2(transitive)
- Removed@lexical/plain-text@0.11.2(transitive)
- Removed@lexical/rich-text@0.11.2(transitive)
- Removed@lexical/selection@0.11.2(transitive)
- Removed@lexical/table@0.11.2(transitive)
- Removed@lexical/text@0.11.2(transitive)
- Removed@lexical/utils@0.11.2(transitive)
- Removed@lexical/yjs@0.11.2(transitive)
- Removedlexical@0.11.2(transitive)
Updated@lexical/clipboard@0.11.3
Updated@lexical/code@0.11.3
Updated@lexical/dragon@0.11.3
Updated@lexical/hashtag@0.11.3
Updated@lexical/history@0.11.3
Updated@lexical/link@0.11.3
Updated@lexical/list@0.11.3
Updated@lexical/mark@0.11.3
Updated@lexical/markdown@0.11.3
Updated@lexical/overflow@0.11.3
Updated@lexical/plain-text@0.11.3
Updated@lexical/rich-text@0.11.3
Updated@lexical/selection@0.11.3
Updated@lexical/table@0.11.3
Updated@lexical/text@0.11.3
Updated@lexical/utils@0.11.3
Updated@lexical/yjs@0.11.3