mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 09:39:55 +02:00
Issue #1433 Remove confusion about image attachments in forum posts. PDF files now added to default filetypes during install.
This commit is contained in:
@@ -22,7 +22,15 @@ if((e107::wysiwyg() === true && check_class($pref['post_html'])) || strpos(e_SEL
|
||||
e107::js('footer', '//cdn.tinymce.com/4/tinymce.min.js');
|
||||
|
||||
// e107::js('footer', "//cdn.tinymce.com/4/tinymce.min.js");
|
||||
e107::js('footer',e_PLUGIN.'tinymce4/wysiwyg.php','jquery',5);
|
||||
|
||||
$mceScript = e_PLUGIN.'tinymce4/wysiwyg.php';
|
||||
|
||||
if(defined('e_TINYMCE_TEMPLATE'))
|
||||
{
|
||||
$mceScript .= '?config='.e_TINYMCE_TEMPLATE.'&other=';
|
||||
}
|
||||
|
||||
e107::js('footer',$mceScript,'jquery',5);
|
||||
|
||||
// Add to e107_config.php to view hidden content when TinyMce not saving correctly
|
||||
if(deftrue('e_TINYMCE_DEBUG'))
|
||||
|
Reference in New Issue
Block a user