[wp-trac] [WordPress Trac] #19666: Switching from HTML to Visual editor removes some line breaks inside PRE
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 28 18:55:15 UTC 2011
#19666: Switching from HTML to Visual editor removes some line breaks inside PRE
--------------------------+------------------------------
Reporter: mrclay | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by azaozz):
Replying to [comment:8 mrclay]:
> I'll look for that and submit another patch.
No need for patch, it's just copy/paste into
/tinymce/plugins/wordpress/editor_plugin.js.
> Maybe plugins shouldn't be allowed to set "setup" and instead have to
use a hook to add code to the setup function body. Just a thought.
Was thinking about that too. Perhaps it's better to encourage plugins to
use "real" TinyMCE plugins instead of using `init.setup`. As far as I've
seen it's rarely used at the moment.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19666#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list