@haklex/rich-headless 0.40.0 → 0.41.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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -130,7 +130,7 @@ var SpoilerNode = class SpoilerNode extends ElementNode {
130
130
  super(key);
131
131
  }
132
132
  static importJSON(_json) {
133
- return new SpoilerNode();
133
+ return new SpoilerNode().updateFromJSON(_json);
134
134
  }
135
135
  exportJSON() {
136
136
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haklex/rich-headless",
3
- "version": "0.40.0",
3
+ "version": "0.41.1",
4
4
  "description": "Headless Lexical node registry for server-side parsing (no React)",
5
5
  "repository": {
6
6
  "type": "git",