@tiptap/core 3.4.2 → 3.4.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.
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/Editor.ts +2 -1
package/dist/index.js
CHANGED
|
@@ -4640,13 +4640,14 @@ var Editor = class extends EventEmitter {
|
|
|
4640
4640
|
...(_a = this.options.editorProps) == null ? void 0 : _a.attributes
|
|
4641
4641
|
},
|
|
4642
4642
|
dispatchTransaction: this.dispatchTransaction.bind(this),
|
|
4643
|
-
state: this.editorState
|
|
4643
|
+
state: this.editorState,
|
|
4644
|
+
markViews: this.extensionManager.markViews,
|
|
4645
|
+
nodeViews: this.extensionManager.nodeViews
|
|
4644
4646
|
});
|
|
4645
4647
|
const newState = this.state.reconfigure({
|
|
4646
4648
|
plugins: this.extensionManager.plugins
|
|
4647
4649
|
});
|
|
4648
4650
|
this.view.updateState(newState);
|
|
4649
|
-
this.createNodeViews();
|
|
4650
4651
|
this.prependClass();
|
|
4651
4652
|
this.injectCSS();
|
|
4652
4653
|
const dom = this.view.dom;
|