Tag Info

Hot answers tagged


If you wait for the SetupEditor event then you can access the editors: add_action( 'admin_print_footer_scripts', function () { ?> <script type="text/javascript"> jQuery(function ($) { tinymce.on('SetupEditor', function (editor) { if (editor.id === 'contentLeft') { // Could use new 'input' event ...


I'm not a very good coder, I've only asked questions on here, but because no one was able to answer your question, I suppose I'll give it a shot. If I remember correctly, this should remove the toolbars on the tinyMCE: function my_format_TinyMCE( $in ) { $in['toolbar1'] = ''; $in['toolbar2'] = ''; $in['toolbar'] = false; return $in; } ...

Only top voted, non community-wiki answers of a minimum length are eligible