• I’m loading via ajax a new wp_editor()

    Everything worked fine on version 3.8.2

    The problem is the scripting. The working version on 3.8.2 is

    var settings = {
       id: 'ajax_wp_editor',
       buttons: 'strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close'
    };
    
    quicktags(settings);
    QTags._buttonsInit();
    
    tinymce.execCommand('mceAddControl', true, 'ajax_wp_editor');

    This was working fine. On 3.9 … not so much. I read somewhere to change from mceAddControl to mceAddEditor, but that doesn’t help. Or isn’t enought.

    Thank you

The topic ‘wp_editor and AJAX’ is closed to new replies.