[wp-trac] [WordPress Trac] #6331: TinyMCE should have a code button
WordPress Trac
noreply at wordpress.org
Sun Sep 7 16:49:39 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: has-patch | Focuses:
-------------------------+-----------------------------
Comment (by Denis-de-Bernardy):
Looks like I forgot to delete the two unneeded settings-related lines at
the very top of the plugin. For information the only issue I ran into was
when you:
1. Hit the pre/code button
2. Type code to your heart's content
3. Press enter when your done as if to start a new paragraph
4. Hit the pre/code button to disable the pre area
Further trial and error revealed that step 3 in the above actually needs
Shift + Enter to break out of the PRE -- in which case step 4 is unneeded
and the issue goes away by itself. It's not super intuitive to discover
though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/6331#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list