diff --git a/ts/WoltLabSuite/Core/Component/Ckeditor/Configuration.ts b/ts/WoltLabSuite/Core/Component/Ckeditor/Configuration.ts index c63223b6653..ecf2794137e 100644 --- a/ts/WoltLabSuite/Core/Component/Ckeditor/Configuration.ts +++ b/ts/WoltLabSuite/Core/Component/Ckeditor/Configuration.ts @@ -151,15 +151,11 @@ class ConfigurationBuilder { this.#removePlugins.push("ImageUpload", "ImageUploadUI", "WoltlabAttachment"); } } else { - this.#removePlugins.push("ImageInsertUI", "ImageToolbar", "ImageStyle", "ImageUpload", "ImageUploadUI"); + this.#removePlugins.push("ImageInsertUI"); if (this.#features.link) { this.#removePlugins.push("LinkImage"); } - - // Disable built-in plugins that rely on the image plugin. - this.#removePlugins.push("WoltlabAttachment"); - this.#removePlugins.push("WoltlabSmiley"); } } diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Component/Ckeditor/Configuration.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Component/Ckeditor/Configuration.js index 50f9699e224..14716a17094 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Component/Ckeditor/Configuration.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Component/Ckeditor/Configuration.js @@ -139,13 +139,10 @@ define(["require", "exports", "../../Language"], function (require, exports, Lan } } else { - this.#removePlugins.push("ImageInsertUI", "ImageToolbar", "ImageStyle", "ImageUpload", "ImageUploadUI"); + this.#removePlugins.push("ImageInsertUI"); if (this.#features.link) { this.#removePlugins.push("LinkImage"); } - // Disable built-in plugins that rely on the image plugin. - this.#removePlugins.push("WoltlabAttachment"); - this.#removePlugins.push("WoltlabSmiley"); } } #setupBlocks() {