I am able to create a tinymce editor, and toggling the editor on and off. Upon initially creation, is there a preferred way to have it hidden (not actually hidden, but editor off and just show the div)?
tinymce.init({
'selector': "#divID"
});
tinymce.editors['divID'].hide();
tinymce.editors['divID'].show();
This is what I eventually did. Don't know if there is a better way, but it works.
tinymce.init({
'selector':'#divID',
setup: function(ed) {
ed.on('init', function(e) {
e.target.hide();
});
}
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With