diff --git a/src/mixins/setContent.js b/src/mixins/setContent.js index 0126fde5668..e0490db197e 100644 --- a/src/mixins/setContent.js +++ b/src/mixins/setContent.js @@ -51,7 +51,7 @@ export default { const editor = createEditor({ enableRichEditing: isRichEditor, }) - const json = generateJSON(html, editor.extensionManager.extensions) + const json = generateJSON(html, editor.options.extensions) const doc = Node.fromJSON(editor.schema, json) const getBaseDoc = (doc) => {