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

WordPress Trac noreply at wordpress.org
Fri Mar 14 23:24:57 UTC 2014


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

Comment (by azaozz):

 This can also be improved: can insert both `<pre><code>` at the same time.
 Or perhaps can have another TinyMCE command and shortcut for that.

 A bit of a downside is that if the user selects multiple paragraphs, all
 will be converted to `<pre><code>...</code></pre>`. Of course that can be
 undone or toggled back easily.

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


More information about the wp-trac mailing list