mirror of https://github.com/fantasticit/think.git
This commit is contained in:
parent
abb1a3868b
commit
a4a2205d11
|
@ -1,3 +1,10 @@
|
|||
import { EditorView } from 'prosemirror-view';
|
||||
// @see https://github.com/ueberdosis/tiptap/issues/1451
|
||||
EditorView.prototype.updateState = function updateState(state) {
|
||||
if (!this.docView) return; // This prevents the matchesNode error on hot reloads
|
||||
this.updateStateInner(state, this.state.plugins != state.plugins);
|
||||
};
|
||||
|
||||
export { getSchema } from '@tiptap/core';
|
||||
export * from './react';
|
||||
export * from './start-kit';
|
||||
|
|
Loading…
Reference in New Issue