Rev 719 | Rev 772 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 719 | Rev 753 | ||
---|---|---|---|
Line 993... | Line 993... | ||
993 | // 'quickbars' added 11 July 2019: Disabled because of two problems: |
993 | // 'quickbars' added 11 July 2019: Disabled because of two problems: |
994 | // 1. When you load TinyMCE via AJAX using the left menu, the quickbar is immediately shown, even if TinyMCE does not have the focus |
994 | // 1. When you load TinyMCE via AJAX using the left menu, the quickbar is immediately shown, even if TinyMCE does not have the focus |
995 | // 2. When you load a page without TinyMCE using the left menu, the quickbar is still visible, although there is no edit |
995 | // 2. When you load a page without TinyMCE using the left menu, the quickbar is still visible, although there is no edit |
996 | // 'colorpicker', 'textcolor' and 'contextmenu' added in 07 April 2020, because it is built in in the core. |
996 | // 'colorpicker', 'textcolor' and 'contextmenu' added in 07 April 2020, because it is built in in the core. |
997 | // 'importcss' added 17 September 2020, because it breaks the "Format/Style" dropdown box ("styleselect" toolbar) |
997 | // 'importcss' added 17 September 2020, because it breaks the "Format/Style" dropdown box ("styleselect" toolbar) |
998 | // 'legacyoutput' added 24 September 2021, because it is marked as deprecated |
998 | // 'legacyoutput' added 24 September 2021, because it is declared as deprecated |
999 | // 'spellchecker' added 6 October 2021, because it is marked as deprecated and marked for removal in TinyMCE 6.0 |
999 | // 'spellchecker' added 6 October 2021, because it is declared as deprecated and marked for removal in TinyMCE 6.0 |
- | 1000 | // 'imagetools' and 'toc' added 23 February 2022, because they are declared as deprecated and marked for removal in TinyMCE 6.0 ("moving to premium") |
|
1000 | public static $exclude_tinymce_plugins = array('fullpage', 'bbcode', 'quickbars', 'colorpicker', 'textcolor', 'contextmenu', 'importcss', 'legacyoutput', 'spellchecker'); |
1001 | public static $exclude_tinymce_plugins = array('fullpage', 'bbcode', 'quickbars', 'colorpicker', 'textcolor', 'contextmenu', 'importcss', 'legacyoutput', 'spellchecker', 'imagetools', 'toc'); |
1001 | 1002 | ||
1002 | protected static function showMCE($name, $content) { |
1003 | protected static function showMCE($name, $content) { |
1003 | $mce_plugins = array(); |
1004 | $mce_plugins = array(); |
1004 | foreach (glob(OIDplus::localpath().'vendor/tinymce/tinymce/plugins/*') as $m) { // */ |
1005 | foreach (glob(OIDplus::localpath().'vendor/tinymce/tinymce/plugins/*') as $m) { // */ |
1005 | $mce_plugins[] = basename($m); |
1006 | $mce_plugins[] = basename($m); |