diff --git a/package-lock.json b/package-lock.json index 4e213200840..1043b26b388 100644 --- a/package-lock.json +++ b/package-lock.json @@ -58,7 +58,7 @@ "@tiptap/extension-task-list": "^2.1.13", "@tiptap/extension-text": "^2.1.13", "@tiptap/extension-underline": "^2.1.13", - "@tiptap/html": "^2.2.4", + "@tiptap/html": "^2.1.13", "@tiptap/pm": "^2.1.13", "@tiptap/suggestion": "^2.1.13", "@tiptap/vue-2": "^2.1.13", @@ -5152,11 +5152,11 @@ } }, "node_modules/@tiptap/html": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/@tiptap/html/-/html-2.2.4.tgz", - "integrity": "sha512-a6ORgv+X5CExUOdLVjAd4uIPPTrETLylyed/4vhaPIhe3fZKc+2oJrj87lxfUGasY4LV7Gpn+s08XM5fXyB61g==", + "version": "2.1.13", + "resolved": "https://registry.npmjs.org/@tiptap/html/-/html-2.1.13.tgz", + "integrity": "sha512-ozkMbAU3dxbUbIfvXulDvrNW0pxqEQ+75zkVGdDMouLhMjYLcWUZ/jzIYkUvZs7XDUwWFS2XNq/YDHXKbizmZw==", "dependencies": { - "zeed-dom": "^0.10.9" + "zeed-dom": "^0.9.19" }, "funding": { "type": "github", @@ -30930,9 +30930,9 @@ } }, "node_modules/zeed-dom": { - "version": "0.10.11", - "resolved": "https://registry.npmjs.org/zeed-dom/-/zeed-dom-0.10.11.tgz", - "integrity": "sha512-7ukbu6aQKx34OQ7PfUIxOuAhk2MvyZY/t4/IJsVzy76zuMzfhE74+Dbyp8SHiUJPTPkF0FflP1KVrGJ7gk9IHw==", + "version": "0.9.26", + "resolved": "https://registry.npmjs.org/zeed-dom/-/zeed-dom-0.9.26.tgz", + "integrity": "sha512-HWjX8rA3Y/RI32zby3KIN1D+mgskce+She4K7kRyyx62OiVxJ5FnYm8vWq0YVAja3Tf2S1M0XAc6O2lRFcMgcQ==", "dependencies": { "css-what": "^6.1.0" }, @@ -34313,11 +34313,11 @@ "requires": {} }, "@tiptap/html": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/@tiptap/html/-/html-2.2.4.tgz", - "integrity": "sha512-a6ORgv+X5CExUOdLVjAd4uIPPTrETLylyed/4vhaPIhe3fZKc+2oJrj87lxfUGasY4LV7Gpn+s08XM5fXyB61g==", + "version": "2.1.13", + "resolved": "https://registry.npmjs.org/@tiptap/html/-/html-2.1.13.tgz", + "integrity": "sha512-ozkMbAU3dxbUbIfvXulDvrNW0pxqEQ+75zkVGdDMouLhMjYLcWUZ/jzIYkUvZs7XDUwWFS2XNq/YDHXKbizmZw==", "requires": { - "zeed-dom": "^0.10.9" + "zeed-dom": "^0.9.19" } }, "@tiptap/pm": { @@ -52741,9 +52741,9 @@ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==" }, "zeed-dom": { - "version": "0.10.11", - "resolved": "https://registry.npmjs.org/zeed-dom/-/zeed-dom-0.10.11.tgz", - "integrity": "sha512-7ukbu6aQKx34OQ7PfUIxOuAhk2MvyZY/t4/IJsVzy76zuMzfhE74+Dbyp8SHiUJPTPkF0FflP1KVrGJ7gk9IHw==", + "version": "0.9.26", + "resolved": "https://registry.npmjs.org/zeed-dom/-/zeed-dom-0.9.26.tgz", + "integrity": "sha512-HWjX8rA3Y/RI32zby3KIN1D+mgskce+She4K7kRyyx62OiVxJ5FnYm8vWq0YVAja3Tf2S1M0XAc6O2lRFcMgcQ==", "requires": { "css-what": "^6.1.0" } diff --git a/package.json b/package.json index f5a6ee2d519..c7bd4ffe34d 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "@tiptap/extension-task-list": "^2.1.13", "@tiptap/extension-text": "^2.1.13", "@tiptap/extension-underline": "^2.1.13", - "@tiptap/html": "^2.2.4", + "@tiptap/html": "^2.1.13", "@tiptap/pm": "^2.1.13", "@tiptap/suggestion": "^2.1.13", "@tiptap/vue-2": "^2.1.13", diff --git a/src/EditorFactory.js b/src/EditorFactory.js index c30371c22c2..feeb13e1238 100644 --- a/src/EditorFactory.js +++ b/src/EditorFactory.js @@ -49,7 +49,7 @@ const loadSyntaxHighlight = async (language) => { } } -const createEditor = ({ language, onCreate, onUpdate = () => {}, extensions, enableRichEditing, session, relativePath, isEmbedded = false }) => { +const createEditor = ({ language, onCreate = () => {}, onUpdate = () => {}, extensions, enableRichEditing, session, relativePath, isEmbedded = false }) => { let defaultExtensions if (enableRichEditing) { defaultExtensions = [