@payload-onpage/lexical 0.3.0 → 0.3.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/README.md +6 -0
- package/package.json +18 -5
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Inline rich-text editing for Payload's Lexical `richText` fields. Reads and writes Payload's Lexical JSON, keeps Payload's link shape, and preserves nodes it doesn't edit (uploads, blocks…). The editor loads lazily, only when a rich-text field opens.
|
|
4
4
|
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
5
9
|
```tsx
|
|
6
10
|
import { lexicalEditors } from '@payload-onpage/lexical' // included by @payload-onpage/next by default
|
|
7
11
|
```
|
|
@@ -11,3 +15,5 @@ Peers: `lexical` and `@lexical/*` `~0.50.0`, the versions Payload 3.90's `@paylo
|
|
|
11
15
|
Part of [**payload-onpage**](https://github.com/jellologic/payload-onpage): on-page editing and draft previews for Payload CMS + Next.js. Start with the [getting started guide](https://github.com/jellologic/payload-onpage/blob/main/docs/getting-started.md).
|
|
12
16
|
|
|
13
17
|
MIT licensed.
|
|
18
|
+
|
|
19
|
+
See the **[tour](https://github.com/jellologic/payload-onpage/blob/main/docs/tour.md)** and **[getting started](https://github.com/jellologic/payload-onpage/blob/main/docs/getting-started.md)**.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payload-onpage/lexical",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "payload-onpage rich-text field editor: inline Lexical editing compatible with Payload's Lexical JSON.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -15,12 +15,25 @@
|
|
|
15
15
|
"keywords": [
|
|
16
16
|
"payload",
|
|
17
17
|
"payloadcms",
|
|
18
|
+
"payload-cms",
|
|
18
19
|
"payload-plugin",
|
|
19
20
|
"nextjs",
|
|
21
|
+
"next.js",
|
|
22
|
+
"app-router",
|
|
20
23
|
"visual-editing",
|
|
21
|
-
"
|
|
24
|
+
"visual-editor",
|
|
22
25
|
"inline-editing",
|
|
23
|
-
"
|
|
26
|
+
"front-end-editing",
|
|
27
|
+
"live-preview",
|
|
28
|
+
"draft-preview",
|
|
29
|
+
"preview-links",
|
|
30
|
+
"page-builder",
|
|
31
|
+
"wysiwyg",
|
|
32
|
+
"headless-cms",
|
|
33
|
+
"cms",
|
|
34
|
+
"react",
|
|
35
|
+
"lexical",
|
|
36
|
+
"rich-text"
|
|
24
37
|
],
|
|
25
38
|
"exports": {
|
|
26
39
|
".": {
|
|
@@ -53,8 +66,8 @@
|
|
|
53
66
|
"provenance": true
|
|
54
67
|
},
|
|
55
68
|
"dependencies": {
|
|
56
|
-
"@payload-onpage/core": "0.3.
|
|
57
|
-
"@payload-onpage/react": "0.3.
|
|
69
|
+
"@payload-onpage/core": "0.3.1",
|
|
70
|
+
"@payload-onpage/react": "0.3.1"
|
|
58
71
|
},
|
|
59
72
|
"peerDependencies": {
|
|
60
73
|
"@lexical/list": "~0.50.0",
|