diff --git a/build/media/editors/codemirror/css/codemirror.css b/build/media/plg_editors_codemirror/css/codemirror.css similarity index 100% rename from build/media/editors/codemirror/css/codemirror.css rename to build/media/plg_editors_codemirror/css/codemirror.css diff --git a/build/media/editors/tinymce/css/tinymce-builder.css b/build/media/plg_editors_tinymce/css/tinymce-builder.css similarity index 100% rename from build/media/editors/tinymce/css/tinymce-builder.css rename to build/media/plg_editors_tinymce/css/tinymce-builder.css diff --git a/build/media/editors/tinymce/js/tinymce-builder.js b/build/media/plg_editors_tinymce/js/tinymce-builder.js similarity index 100% rename from build/media/editors/tinymce/js/tinymce-builder.js rename to build/media/plg_editors_tinymce/js/tinymce-builder.js diff --git a/build/media_src/editors/tinymce/js/plugins/dragdrop/plugin.es6.js b/build/media_src/plg_editors_tinymce/js/plugins/dragdrop/plugin.es6.js similarity index 100% rename from build/media_src/editors/tinymce/js/plugins/dragdrop/plugin.es6.js rename to build/media_src/plg_editors_tinymce/js/plugins/dragdrop/plugin.es6.js diff --git a/build/media_src/editors/tinymce/js/tinymce.es6.js b/build/media_src/plg_editors_tinymce/js/tinymce.es6.js similarity index 100% rename from build/media_src/editors/tinymce/js/tinymce.es6.js rename to build/media_src/plg_editors_tinymce/js/tinymce.es6.js diff --git a/layouts/plugins/editors/tinymce/field/tinymcebuilder.php b/layouts/plugins/editors/tinymce/field/tinymcebuilder.php index babc2330b0350..1b8c6dacb9803 100644 --- a/layouts/plugins/editors/tinymce/field/tinymcebuilder.php +++ b/layouts/plugins/editors/tinymce/field/tinymcebuilder.php @@ -58,8 +58,8 @@ HTMLHelper::_('behavior.core'); HTMLHelper::_('jquery.ui', array('core', 'sortable')); HTMLHelper::_('stylesheet', 'media/vendor/tinymce/skins/lightgray/skin.min.css', array('version' => 'auto', 'relative' => false)); -HTMLHelper::_('stylesheet', 'editors/tinymce/tinymce-builder.css', array('version' => 'auto', 'relative' => true)); -HTMLHelper::_('script', 'editors/tinymce/tinymce-builder.js', array('version' => 'auto', 'relative' => true)); +HTMLHelper::_('stylesheet', 'plg_editors_tinymce/tinymce-builder.css', array('version' => 'auto', 'relative' => true)); +HTMLHelper::_('script', 'plg_editors_tinymce/tinymce-builder.js', array('version' => 'auto', 'relative' => true)); if ($languageFile) { diff --git a/plugins/editors/codemirror/layouts/editors/codemirror/styles.php b/plugins/editors/codemirror/layouts/editors/codemirror/styles.php index 8da51d8c0a0ab..88c42063bf6f1 100644 --- a/plugins/editors/codemirror/layouts/editors/codemirror/styles.php +++ b/plugins/editors/codemirror/layouts/editors/codemirror/styles.php @@ -32,7 +32,7 @@ $b = hexdec($color{5} . $color{6}); $highlightMatchColor = 'rgba(' . $r . ', ' . $g . ', ' . $b . ', .5)'; -HTMLHelper::_('stylesheet', 'editors/codemirror/codemirror.css', array('version' => 'auto', 'relative' => true)); +HTMLHelper::_('stylesheet', 'plg_editors_codemirror/codemirror.css', array('version' => 'auto', 'relative' => true)); Factory::getDocument()->addStyleDeclaration( <<getTag() . '.js'; - $languageFile2 = 'media/editors/tinymce/langs/' . substr($language->getTag(), 0, strpos($language->getTag(), '-')) . '.js'; + $languageFile1 = 'media/vendor/tinymce/langs/' . $language->getTag() . '.js'; + $languageFile2 = 'media/vendor/tinymce/langs/' . substr($language->getTag(), 0, strpos($language->getTag(), '-')) . '.js'; $data['languageFile'] = ''; diff --git a/plugins/editors/tinymce/tinymce.php b/plugins/editors/tinymce/tinymce.php index d2cd29d14c670..97206e23fa9eb 100644 --- a/plugins/editors/tinymce/tinymce.php +++ b/plugins/editors/tinymce/tinymce.php @@ -63,7 +63,7 @@ public function onInit() { HTMLHelper::_('behavior.core'); HTMLHelper::_('script', $this->_basePath . '/tinymce.min.js', array('version' => 'auto')); - HTMLHelper::_('script', 'editors/tinymce/tinymce.min.js', array('version' => 'auto', 'relative' => true)); + HTMLHelper::_('script', 'plg_editors_tinymce/tinymce.min.js', array('version' => 'auto', 'relative' => true)); } /** @@ -139,11 +139,6 @@ public function onDisplay( { $btns = $this->tinyButtons($id, $buttons); - if (!empty($btns['names'])) - { - HTMLHelper::_('script', 'editors/tinymce/tiny-close.min.js', array('version' => 'auto', 'relative' => true), array('defer' => 'defer')); - } - // Set editor to readonly mode if (!empty($params['readonly'])) { @@ -474,7 +469,7 @@ public function onDisplay( if ($dragdrop && $user->authorise('core.create', 'com_media')) { - $externalPlugins['jdragndrop'] = Uri::root() . 'media/editors/tinymce/js/plugins/dragdrop/plugin.min.js'; + $externalPlugins['jdragndrop'] = Uri::root() . 'media/plg_editors_tinymce/js/plugins/dragdrop/plugin.min.js'; $allowImgPaste = true; $isSubDir = ''; diff --git a/templates/system/incompatible.html b/templates/system/incompatible.html index 3422c6245ffeb..55bd7a21c496f 100644 --- a/templates/system/incompatible.html +++ b/templates/system/incompatible.html @@ -6,7 +6,7 @@ Joomla: unsupported PHP version - +