diff --git a/src/mixins/setContent.js b/src/mixins/setContent.js index addf6aee02c..2ccfa4c7b1b 100644 --- a/src/mixins/setContent.js +++ b/src/mixins/setContent.js @@ -34,7 +34,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) => {