@byline/richtext-lexical 4.1.0 → 4.2.0

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.
@@ -7,6 +7,7 @@
7
7
 
8
8
  :is(.label-row-GTig6y, .byline-field-richtext-label) {
9
9
  align-items: center;
10
+ margin-bottom: .25rem;
10
11
  display: flex;
11
12
  }
12
13
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "private": false,
4
4
  "type": "module",
5
5
  "license": "MPL-2.0",
6
- "version": "4.1.0",
6
+ "version": "4.2.0",
7
7
  "engines": {
8
8
  "node": ">=20.9.0"
9
9
  },
@@ -73,10 +73,10 @@
73
73
  "lexical": "0.46.0",
74
74
  "npm-run-all": "^4.1.5",
75
75
  "react-error-boundary": "^6.1.2",
76
- "@byline/admin": "4.1.0",
77
- "@byline/ui": "4.1.0",
78
- "@byline/core": "4.1.0",
79
- "@byline/client": "4.1.0"
76
+ "@byline/core": "4.2.0",
77
+ "@byline/admin": "4.2.0",
78
+ "@byline/client": "4.2.0",
79
+ "@byline/ui": "4.2.0"
80
80
  },
81
81
  "peerDependencies": {
82
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/04-collections/06-rich-text.md`](../../../../../docs/04-collections/06-rich-text.md) — start with the **Extensibility** section.
5
+ This README is a navigation aid only. The full reference and authoring contract lives in the project's [`docs/04-collections/07-rich-text.md`](../../../../../docs/04-collections/07-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/04-collections/06-rich-text.md`.
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/07-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.
@@ -22,6 +22,7 @@
22
22
  :global(.byline-field-richtext-label) {
23
23
  display: flex;
24
24
  align-items: center;
25
+ margin-bottom: 0.25rem;
25
26
  }
26
27
 
27
28
  .body,