diff --git a/commons-exo-extension/src/main/webapp/WEB-INF/gatein-resources.xml b/commons-exo-extension/src/main/webapp/WEB-INF/gatein-resources.xml index 18860f1c..0ef6b3a5 100644 --- a/commons-exo-extension/src/main/webapp/WEB-INF/gatein-resources.xml +++ b/commons-exo-extension/src/main/webapp/WEB-INF/gatein-resources.xml @@ -30,15 +30,4 @@ eXoVueI18n - - WYSIWYGPluginsExtensions - NotesEditorGRP - - - extensionRegistry - - diff --git a/commons-exo-extension/src/main/webapp/vue-app/noteEditorPluginsExtensions/extensions.js b/commons-exo-extension/src/main/webapp/vue-app/noteEditorPluginsExtensions/extensions.js deleted file mode 100644 index 2c9b0a71..00000000 --- a/commons-exo-extension/src/main/webapp/vue-app/noteEditorPluginsExtensions/extensions.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (C) 2024 eXo Platform SAS - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -export function init() { - if (eXo.ecm) { - CKEDITOR.plugins.addExternal('uploadImage', '/eXoWCMResources/eXoPlugins/uploadImage/', 'plugin.js'); - CKEDITOR.plugins.addExternal('selectImage', '/eXoWCMResources/eXoPlugins/selectImage/', 'plugin.js'); - - extensionRegistry.registerExtension('WYSIWYGPlugins', 'image', { - id: 'selectImage', - extraPlugin: 'selectImage', - extraToolbarItem: 'selectImage', - rank: 20, - }); - } -} diff --git a/commons-exo-extension/webpack.prod.js b/commons-exo-extension/webpack.prod.js index cf45e412..3404c955 100644 --- a/commons-exo-extension/webpack.prod.js +++ b/commons-exo-extension/webpack.prod.js @@ -23,7 +23,6 @@ const config = { }, entry: { eXoPlatformGamificationConnectorExtensions: './src/main/webapp/vue-app/gamification-connectorExtensions/extensions.js', - WYSIWYGPluginsExtensions: './src/main/webapp/vue-app/noteEditorPluginsExtensions/extensions.js' }, output: { path: path.join(__dirname, 'target/commons-exo-extension/'),