@byline/richtext-lexical 6.10.0 → 6.10.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/package.json +6 -6
- package/src/lexical-editor.tsx +2 -0
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": false,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
|
-
"version": "6.10.
|
|
6
|
+
"version": "6.10.1",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=22.22.2"
|
|
9
9
|
},
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@byline/admin": "6.10.
|
|
66
|
-
"@byline/client": "6.10.
|
|
67
|
-
"@byline/core": "6.10.
|
|
68
|
-
"@byline/i18n": "6.10.
|
|
69
|
-
"@byline/ui": "6.10.
|
|
65
|
+
"@byline/admin": "6.10.1",
|
|
66
|
+
"@byline/client": "6.10.1",
|
|
67
|
+
"@byline/core": "6.10.1",
|
|
68
|
+
"@byline/i18n": "6.10.1",
|
|
69
|
+
"@byline/ui": "6.10.1",
|
|
70
70
|
"@lexical/code": "0.52.0",
|
|
71
71
|
"@lexical/code-prism": "0.52.0",
|
|
72
72
|
"@lexical/extension": "0.52.0",
|
package/src/lexical-editor.tsx
CHANGED
|
@@ -124,12 +124,14 @@ export function lexicalEditor(configure?: ConfigureFn): RichTextEditorComponent
|
|
|
124
124
|
baked = configure(seed)
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
+
// biome-ignore lint/correctness/noComponentHookFactories: resolved once per lexicalEditor() call at config time, not per render
|
|
127
128
|
const Configured: RichTextEditorComponent = (props) => (
|
|
128
129
|
<RichTextField {...props} editorConfig={baked} />
|
|
129
130
|
)
|
|
130
131
|
return { default: Configured as React.ComponentType<any> }
|
|
131
132
|
})
|
|
132
133
|
|
|
134
|
+
// biome-ignore lint/correctness/noComponentHookFactories: lexicalEditor() runs once at config time and returns this stable component
|
|
133
135
|
const ConfiguredEditor: RichTextEditorComponent = (props) => (
|
|
134
136
|
<Suspense
|
|
135
137
|
fallback={
|