1
0
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:
Cameron
2015-08-18 13:18:54 -07:00
parent 4ffb3ab2c4
commit 215b539675
3 changed files with 42 additions and 13 deletions

View File

@@ -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;
});*/
});
*/