diff --git a/src/Forms/HTMLEditor/TinyMCEConfig.php b/src/Forms/HTMLEditor/TinyMCEConfig.php index 2bd132aeb..84743308a 100644 --- a/src/Forms/HTMLEditor/TinyMCEConfig.php +++ b/src/Forms/HTMLEditor/TinyMCEConfig.php @@ -242,6 +242,7 @@ class TinyMCEConfig extends HTMLEditorConfig 'paste' => null, 'code' => null, 'importcss' => null, + 'lists' => null, ); /** diff --git a/tests/php/Forms/HTMLEditor/HTMLEditorConfigTest.php b/tests/php/Forms/HTMLEditor/HTMLEditorConfigTest.php index 6d517dbdb..5739ad84f 100644 --- a/tests/php/Forms/HTMLEditor/HTMLEditorConfigTest.php +++ b/tests/php/Forms/HTMLEditor/HTMLEditorConfigTest.php @@ -60,7 +60,7 @@ class HTMLEditorConfigTest extends SapphireTest $c = new TinyMCEConfig(); $c->setTheme('modern'); $c->setOption('language', 'es'); - $c->disablePlugins('table', 'emoticons', 'paste', 'code', 'link', 'importcss'); + $c->disablePlugins('table', 'emoticons', 'paste', 'code', 'link', 'importcss', 'lists'); $c->enablePlugins( array( 'plugin1' => 'mypath/plugin1.js', diff --git a/tests/php/Forms/HTMLEditor/TinyMCECombinedGeneratorTest.php b/tests/php/Forms/HTMLEditor/TinyMCECombinedGeneratorTest.php index 55532935a..69b832c74 100644 --- a/tests/php/Forms/HTMLEditor/TinyMCECombinedGeneratorTest.php +++ b/tests/php/Forms/HTMLEditor/TinyMCECombinedGeneratorTest.php @@ -37,7 +37,7 @@ class TinyMCECombinedGeneratorTest extends SapphireTest $c = new TinyMCEConfig(); $c->setTheme('testtheme'); $c->setOption('language', 'en'); - $c->disablePlugins('table', 'emoticons', 'paste', 'code', 'link', 'importcss'); + $c->disablePlugins('table', 'emoticons', 'paste', 'code', 'link', 'importcss', 'lists'); $c->enablePlugins( array( 'plugin1' => 'mycode/plugin1.js', // @@ -100,7 +100,7 @@ EOS $c = new TinyMCEConfig(); $c->setTheme('testtheme'); $c->setOption('language', 'en'); - $c->disablePlugins('table', 'emoticons', 'paste', 'code', 'link', 'importcss'); + $c->disablePlugins('table', 'emoticons', 'paste', 'code', 'link', 'importcss', 'lists'); $c->enablePlugins(['plugin1' => 'mycode/plugin1.js']); HTMLEditorConfig::set_config('testconfig', $c);