Auto-resize when writing with Custom post WP editor

Finally I got around this. You need to modify tinymce args passed to wp_editor function. WordPress have a argument wp_autoresize_on to allow the editor to be resized automatically. So instead of these: ‘tinymce’ => array( ‘toolbar1’=> ‘bold,italic,underline,link,unlink,forecolor’, ‘toolbar2’ => ”, ‘toolbar3’ => ” ) you need to use this: ‘tinymce’ => array( ‘autoresize_min_height’ => 100, … Read more

Theme options WP Editor

In theme options, I had to define wp_editor_settings. So, just in options.php, I used: //WP_editor settigs $wp_editor_settings = array( ‘wpautop’ => true, // Default ‘textarea_rows’ => 15, ‘tinymce’ => array( ‘plugins’ => ‘fullscreen,wordpress,wplink, textcolor’ )); Basically, I’m adding tinymce plugin.

help on wp_editor via ajax load [duplicate]

I’m not good with English, but the answer is that the editor class calls the scripts needed in the admin footer (wp-includes/class-wp-editor.php line 160) : add_action( ‘admin_print_footer_scripts’, array( __CLASS__, ‘editor_js’), 50 ); add_action( ‘admin_footer’, array( __CLASS__, ‘enqueue_scripts’), 1 ); So when you call the wp_editor function in your ajax, the scripts aren’t printed with it, … Read more

Using multiple instances of wp_editor in Custom Post Type admin area

you’ve got a lot of options. some of which are: to toot my own horn, i have used WP Alchemy to create repeating sortable tinyMCE editors with all the code available here http://www.kathyisawesome.com/426/multiple-wordpress-wysiwyg-visual-editors/ there is also the http://www.advancedcustomfields.com/ plugin. you can definitely have multiple instances, but you can’t add dynamic blocks on the fly.