@byline/richtext-lexical 3.15.2 → 3.16.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
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": false,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
|
-
"version": "3.
|
|
6
|
+
"version": "3.16.1",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=20.9.0"
|
|
9
9
|
},
|
|
@@ -56,12 +56,9 @@
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@lexical/clipboard": "0.44.0",
|
|
60
59
|
"@lexical/code": "0.44.0",
|
|
61
60
|
"@lexical/extension": "0.44.0",
|
|
62
|
-
"@lexical/hashtag": "0.44.0",
|
|
63
61
|
"@lexical/headless": "0.44.0",
|
|
64
|
-
"@lexical/html": "0.44.0",
|
|
65
62
|
"@lexical/link": "0.44.0",
|
|
66
63
|
"@lexical/list": "0.44.0",
|
|
67
64
|
"@lexical/mark": "0.44.0",
|
|
@@ -75,12 +72,11 @@
|
|
|
75
72
|
"classnames": "^2.5.1",
|
|
76
73
|
"lexical": "0.44.0",
|
|
77
74
|
"npm-run-all": "^4.1.5",
|
|
78
|
-
"prism-react-renderer": "^2.4.1",
|
|
79
75
|
"react-error-boundary": "^6.1.1",
|
|
80
|
-
"@byline/
|
|
81
|
-
"@byline/
|
|
82
|
-
"@byline/
|
|
83
|
-
"@byline/
|
|
76
|
+
"@byline/admin": "3.16.1",
|
|
77
|
+
"@byline/core": "3.16.1",
|
|
78
|
+
"@byline/ui": "3.16.1",
|
|
79
|
+
"@byline/client": "3.16.1"
|
|
84
80
|
},
|
|
85
81
|
"peerDependencies": {
|
|
86
82
|
"react": "^19.0.0",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Every built-in feature of the Lexical adapter — and every supported way for a third party to extend it — lives in this directory as a Lexical `defineExtension(...)` co-located with its node class(es), modal, decorator, and (where relevant) populate visitor.
|
|
4
4
|
|
|
5
|
-
This README is a navigation aid only. The full reference and authoring contract lives in the project's [`docs/
|
|
5
|
+
This README is a navigation aid only. The full reference and authoring contract lives in the project's [`docs/04-collections/06-rich-text.md`](../../../../../docs/04-collections/06-rich-text.md) — start with the **Extensibility** section.
|
|
6
6
|
|
|
7
7
|
## What's where
|
|
8
8
|
|
|
@@ -25,7 +25,7 @@ This README is a navigation aid only. The full reference and authoring contract
|
|
|
25
25
|
|
|
26
26
|
1. Create a directory next to these.
|
|
27
27
|
2. Implement your `defineExtension(...)` (and any nodes / decorators).
|
|
28
|
-
3. To contribute a toolbar item or a floating UI, declare a peer dependency against `BylineToolbarExtension` / `BylineFloatingUIExtension` — see the worked recipes in `docs/
|
|
28
|
+
3. To contribute a toolbar item or a floating UI, declare a peer dependency against `BylineToolbarExtension` / `BylineFloatingUIExtension` — see the worked recipes in `docs/04-collections/06-rich-text.md`.
|
|
29
29
|
4. Either register your extension at site level via `lexicalEditor((c) => c.extensions.add(MyExtension))`, or — if it's a built-in being shipped by this package — append it to `defaultExtensionsArray()` in `field/config/default-extensions.ts`.
|
|
30
30
|
|
|
31
31
|
You should never need to touch `field/editor.tsx` to add a feature.
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Contract tests for the one-way Lexical → markdown export serializer.
|
|
11
11
|
* The expected strings below ARE the format contract — agents build on
|
|
12
12
|
* this shape, so a change here is a consumer-visible format change and
|
|
13
|
-
* should be deliberate (see
|
|
13
|
+
* should be deliberate (see TODO-INTERNAL.md → "The output is a contract
|
|
14
14
|
* surface").
|
|
15
15
|
*/
|
|
16
16
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* One-way Lexical → markdown serializer for the agent-readable export
|
|
11
|
-
* surface (`.md` routes, `llms.txt` — see
|
|
11
|
+
* surface (`.md` routes, `llms.txt` — see TODO-INTERNAL.md → markdown export).
|
|
12
12
|
*
|
|
13
13
|
* Walks the **stored** `SerializedEditorState` JSON directly — no
|
|
14
14
|
* `@lexical/headless`, no DOM, no node registration. Output is read-only
|