[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
Mon Dec 26 15:09:20 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:                |
--------------------------+------------------------------

Comment (by mrclay):

 [http://www.tinymce.com/develop/bugtracker_view.php?id=4918 TinyMCE bug
 filed]. As I noted there, this behavior might be due to the improvements
 in [16394]. Namely, if the JS version of wpautop was incorrectly
 converting PRE newlines to BRs before switching to the Visual editor,
 these BRs were working around the TinyMCE bug.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19666#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list