mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 09:39:55 +02:00
Issue #1155 - debugging options added.
This commit is contained in:
@@ -19,12 +19,23 @@ if((e107::wysiwyg() === true && check_class($pref['post_html'])) || strpos(e_SEL
|
||||
//e107::js('tinymce','tiny_mce.js','jquery');
|
||||
//e107::js('tinymce','wysiwyg.php','jquery',5);
|
||||
|
||||
e107::js('footer', "http://tinymce.cachefly.net/4.2/tinymce.min.js");
|
||||
e107::js('footer', "https://tinymce.cachefly.net/4.2/tinymce.min.js");
|
||||
e107::js('footer',e_PLUGIN.'tinymce4/wysiwyg.php','jquery',5);
|
||||
// e107::js('inline', "
|
||||
// tinymce.init({selector:'.e-wysiwyg'});
|
||||
// ");
|
||||
|
||||
|
||||
// Add to e107_config.php to view hidden content when TinyMce not saving correctly
|
||||
if(deftrue('e_TINYMCE_DEBUG'))
|
||||
{
|
||||
e107::js('footer-inline', '
|
||||
|
||||
|
||||
window.onload = function () {
|
||||
|
||||
$("textarea.e-wysiwyg").css("display","block");
|
||||
$("textarea.e-wysiwyg").css("visibility","inherit");
|
||||
|
||||
}
|
||||
');
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
@@ -101,7 +112,8 @@ if((e107::wysiwyg() === true && check_class($pref['post_html'])) || strpos(e_SEL
|
||||
|
||||
$('#uiModal').modal('hide');
|
||||
return true;
|
||||
});*/
|
||||
});
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user