Skip to content

Commit

Permalink
Merge pull request #6602 from nextcloud/fix/warning-about-duplicate-e…
Browse files Browse the repository at this point in the history
…xtensions

fix(addContent): only process addExtensions once
  • Loading branch information
juliusknorr authored Nov 6, 2024
2 parents 796ce8c + ebaae96 commit af98ade
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 @@ -35,7 +35,7 @@ export default {
? createRichEditor()
: createPlainEditor()

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 af98ade

Please sign in to comment.