`ImageInsertUI` is now required by `ImageBlock`
authorAlexander Ebert <ebert@woltlab.com>
Fri, 9 Feb 2024 16:28:39 +0000 (17:28 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 9 Feb 2024 16:28:39 +0000 (17:28 +0100)
ts/WoltLabSuite/Core/Component/Ckeditor/Configuration.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Component/Ckeditor/Configuration.js

index bf4a37188292bdb352932048997898ca04e8f181..c9079a9f36a7eb91933ce1f3a2b160425cf9fbbf 100644 (file)
@@ -156,8 +156,6 @@ class ConfigurationBuilder {
         this.#removePlugins.push("ImageUpload", "ImageUploadUI", "WoltlabAttachment");
       }
     } else {
-      this.#removePlugins.push("ImageInsertUI");
-
       if (this.#features.link) {
         this.#removePlugins.push("LinkImage");
       }
index 6670c5cfcd73b7afcbdfb9e6b3df5099ccf118f5..c507f06bb6e7bfef399a0ffeb3e8c99916e35a33 100644 (file)
@@ -142,7 +142,6 @@ define(["require", "exports", "../../Language"], function (require, exports, Lan
                 }
             }
             else {
-                this.#removePlugins.push("ImageInsertUI");
                 if (this.#features.link) {
                     this.#removePlugins.push("LinkImage");
                 }