Skip to content

Commit

Permalink
Merge pull request #6605 from nextcloud/backport/6602/stable30
Browse files Browse the repository at this point in the history
[stable30] fix(addContent): only process addExtensions once
  • Loading branch information
mejo- authored Nov 7, 2024
2 parents 379366a + a0555ac commit 85b483d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixins/setContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 85b483d

Please sign in to comment.