@lexical/headless 0.6.3 → 0.6.5
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 +2 -2
package/README.md
CHANGED
|
@@ -4,6 +4,12 @@ This package allows you to use interact with Lexical in a headless environment (
|
|
|
4
4
|
main features like editor.update(), editor.registerNodeTransform(), editor.registerUpdateListener()
|
|
5
5
|
to create, update or traverse state.
|
|
6
6
|
|
|
7
|
+
Install `@lexical/headless`:
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
npm install --save @lexical/headless
|
|
11
|
+
```
|
|
12
|
+
|
|
7
13
|
```js
|
|
8
14
|
const { createHeadlessEditor } = require('@lexical/headless');
|
|
9
15
|
|
package/package.json
CHANGED