Commit f012ff6d authored by sun's avatar sun

#341267 by sun: Fixed improper test for internal editor plugins.

parent 7214cd0a
...@@ -6,6 +6,7 @@ Wysiwyg x.x-x.x, xxxx-xx-xx ...@@ -6,6 +6,7 @@ Wysiwyg x.x-x.x, xxxx-xx-xx
Wysiwyg 6.x-x.x, xxxx-xx-xx Wysiwyg 6.x-x.x, xxxx-xx-xx
--------------------------- ---------------------------
#341267 by sun: Fixed improper test for internal editor plugins.
#341996 by sun: Fixed editor cannot be re-enabled with one input format only. #341996 by sun: Fixed editor cannot be re-enabled with one input format only.
#341267 by sun: Added support for extensions that do not need to be loaded. #341267 by sun: Added support for extensions that do not need to be loaded.
......
...@@ -307,7 +307,7 @@ function wysiwyg_tinymce_themes($editor, $profile) { ...@@ -307,7 +307,7 @@ function wysiwyg_tinymce_themes($editor, $profile) {
function wysiwyg_tinymce_plugin_settings($editor, $profile, $plugins) { function wysiwyg_tinymce_plugin_settings($editor, $profile, $plugins) {
$settings = array(); $settings = array();
foreach ($plugins as $name => $plugin) { foreach ($plugins as $name => $plugin) {
if (!isset($plugin['internal'])) { if (empty($plugin['internal'])) {
$settings[$name] = base_path() . $plugin['path']; $settings[$name] = base_path() . $plugin['path'];
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment