Hello, guys.
I replaced TinyMCE with other content editor, but i don't want to change core files, i wrote:
Requirements::block('sapphire/thirdparty/tinymce/tiny_mce_src.js');
Requirements::block('sapphire/javascript/tiny_mce_improvements.js');
and
$fields->removeFieldFromTab('Root.Content.Main', 'Content');
$fields->addFieldToTab('Root.Content.Main', new HTEditField('Content'));
in Page.php,
everything works fine, but anyway I have tinymce lines in source code:
<script type="text/javascript">//<![CDATA[
if((typeof tinyMCE != 'undefined')) {
....
//]]></script>
How can i remove them or totally replace HtmlEditorField class w/o changing core files?