@lexical/headless 0.12.1 → 0.12.3

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.
@@ -9,13 +9,13 @@
9
9
  var lexical = require('lexical');
10
10
 
11
11
  /** @module @lexical/headless */
12
+
12
13
  /**
13
14
  * Generates a headless editor that allows lexical to be used without the need for a DOM, eg in Node.js.
14
15
  * Throws an error when unsupported metehods are used.
15
16
  * @param editorConfig - The optional lexical editor configuration.
16
17
  * @returns - The configured headless editor.
17
18
  */
18
-
19
19
  function createHeadlessEditor(editorConfig) {
20
20
  const editor = lexical.createEditor(editorConfig);
21
21
  editor._headless = true;
package/package.json CHANGED
@@ -8,10 +8,10 @@
8
8
  "headless"
9
9
  ],
10
10
  "license": "MIT",
11
- "version": "0.12.1",
11
+ "version": "0.12.3",
12
12
  "main": "LexicalHeadless.js",
13
13
  "peerDependencies": {
14
- "lexical": "0.12.1"
14
+ "lexical": "0.12.3"
15
15
  },
16
16
  "repository": {
17
17
  "type": "git",