[wp-trac] [WordPress Trac] #6331: TinyMCE should have a code button

WordPress Trac noreply at wordpress.org
Sat Mar 22 23:34:55 UTC 2014


#6331: TinyMCE should have a code button
-------------------------+-----------------------
 Reporter:  westi        |       Owner:
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  3.9
Component:  TinyMCE      |     Version:  2.5
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------

Comment (by azaozz):

 Replying to [comment:29 miyauchi]:

 6331.4.diff would make a nice WordPress plugin (that adds the TinyMCE
 plugin) but not sure we want to have another modal just to enter code in
 the default TinyMCE configuration.

 Also it looks like you've been looking at some old/outdated TinyMCE code
 as `editor.onNodeChange.add()` is the 3.x way to add event handlers. In
 TinyMCE 4.0 that has changed to `editor.on( 'NodeChange', function( event
 ) { ...`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/6331#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list