diff --git a/bl-plugins/tinymce/plugin.php b/bl-plugins/tinymce/plugin.php index c56e9e9d..fa793cb0 100644 --- a/bl-plugins/tinymce/plugin.php +++ b/bl-plugins/tinymce/plugin.php @@ -13,6 +13,7 @@ class pluginTinymce extends Plugin $this->dbFields = array( 'toolbar1' => 'formatselect bold italic forecolor backcolor removeformat | bullist numlist table | blockquote alignleft aligncenter alignright | link unlink pagebreak image code', 'toolbar2' => '', + 'contextmenu' => 'link linkchecker image editimage table spellchecker configurepermanentpen', 'plugins' => 'code autolink image link pagebreak advlist lists textpattern table', 'codesampleLanguages' => 'HTML/XML markup|JavaScript javascript|CSS css|PHP php|Ruby ruby|Python python|Java java|C c|C# sharp|C++ cpp' ); @@ -36,6 +37,13 @@ class pluginTinymce extends Plugin $html .= ''; $html .= ''; + $html .= '
'; + $html .= ''; + $html .= ''; + $html .= '
'; + + $html .= ''; + $html .= '
'; $html .= ''; $html .= ''; @@ -74,6 +82,7 @@ class pluginTinymce extends Plugin $toolbar1 = $this->getValue('toolbar1'); $toolbar2 = $this->getValue('toolbar2'); + $contextmenu = $this->getValue('contextmenu'); $content_css = $this->htmlPath() . 'css/tinymce_content.css'; $plugins = $this->getValue('plugins'); $version = $this->version(); @@ -143,6 +152,7 @@ class pluginTinymce extends Plugin plugins: ["$plugins"], toolbar1: "$toolbar1", toolbar2: "$toolbar2", + contextmenu: "$contextmenu", language: "$lang", content_css: "$content_css", codesample_languages: [$codesampleConfig],