Tag Info

New answers tagged

1

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; } ...


1

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 ...


0

Simpler steps: 1) in functions.php,add: add_action('init','my_wpEditOUPUTT');function my_wpEditOUPUTT(){ if (isset($_POST['Give_me_editorrr'])){ wp_editor( '' , 'txtrID_'.$_POST['myNumber'], $settings = array( 'editor_class'=>'my_class', 'textarea_name'=>'named_'. $_POST['myNumber'], 'tinymce'=>true , 'media_buttons' => true , ...



Top 50 recent answers are included