[wp-trac] [WordPress Trac] #17144: Editor API enhancement

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 23 15:01:34 UTC 2011


#17144: Editor API enhancement
-------------------------+------------------
 Reporter:  azaozz       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.3
Component:  Editor       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |
-------------------------+------------------

Comment (by trepmal):

 Adding to that, HTML view link button also fails on a new instance of the
 editor when Visual isn't available

 {{{
 add_action('admin_menu', function () {
         add_menu_page('wp_editor', 'wp_editor', 'read', 'wp_editor',
 function () {
                 echo '<div class="wrap"><h2>wp_editor()</h2>';
                 $settings = array(
                         'tinymce' => false
                 );
                 wp_editor('', 'editor-test', $settings);
                 echo '</div>';
         });
 });
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17144#comment:71>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list