diff --git a/e107_plugins/tinymce4/e_footer.php b/e107_plugins/tinymce4/e_footer.php index 023ad961d..10fd5ce90 100644 --- a/e107_plugins/tinymce4/e_footer.php +++ b/e107_plugins/tinymce4/e_footer.php @@ -17,10 +17,7 @@ if((e107::wysiwyg() === true && check_class($pref['post_html'])) || strpos(e_SEL { if(e_PAGE != 'image.php') { - //e107::js('tinymce','tiny_mce.js','jquery'); - //e107::js('tinymce','wysiwyg.php','jquery',5); - // e107::js('footer', "https://tinymce.cachefly.net/4.2/tinymce.min.js"); - e107::js('footer', "https://tinymce.cachefly.net/4.0/tinymce.min.js"); // 4.1 and 4.2 have issues with saving under Firefox. http://www.tinymce.com/develop/bugtracker_view.php?id=7655 + e107::js('footer', "https://tinymce.cachefly.net/4.2/tinymce.min.js"); e107::js('footer',e_PLUGIN.'tinymce4/wysiwyg.php','jquery',5); // Add to e107_config.php to view hidden content when TinyMce not saving correctly @@ -48,8 +45,8 @@ if((e107::wysiwyg() === true && check_class($pref['post_html'])) || strpos(e_SEL if(ADMIN) { $insert = "$('#'+id).after('
/gim, "[td]"); - rep(/<\/td>/gim, "[/td]"); - rep(/ |
"); - rep(/\[\/blockquote\]/gi,""); - - rep(/\[code\]/gi,"
");
- rep(/\[\/code\]/gi,"
");
-
- //rep( /(?" )
-
-
- rep(/\[b\]/gi,"");
- rep(/\[\/b\]/gi,"");
- rep(/\[i\]/gi,"");
- rep(/\[\/i\]/gi,"");
- rep(/\[u\]/gi,"");
- rep(/\[\/u\]/gi,"");
- rep(/\[link=([^\]]+)\](.*?)\[\/link\]/gi,"$2");
- rep(/\[url\](.*?)\[\/url\]/gi,"$1");
- // rep(/\[img.*?style=(.*?).*?\](.*?)\[\/img\]/gi,"