[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
Tue Dec 27 16:56:11 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:5 mrclay]:
> 19666.patch adds an onBeforeSetContent handler to TinyMCE...
Yes, ideally this should be fixed upstream but we could add a workaround
for now. The place for this would be inside the "wordpress" MCE plugin. We
shouldn't use the 'init.setup = function()...` method as it could be
overwritten by another WP plugin.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19666#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list