1
0
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:
Cameron
2016-03-21 10:45:01 -07:00
parent c0501146ae
commit 4db14510de
5 changed files with 54 additions and 17 deletions

View File

@@ -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'))