[wp-trac] [WordPress Trac] #20112: Visual editor damages edited text

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 24 19:06:19 UTC 2012


#20112: Visual editor damages edited text
--------------------------+------------------------------
 Reporter:  spoko_ws      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  3.3.1
 Severity:  normal        |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------
Changes (by azaozz):

 * keywords:  needs-patch => close


Comment:

 It seems your external HTML doesn't conform to the requirement neither for
 the visual editor nor for the HTML editor. The problem is with autop: you
 either use it and replace all <p> tags with line breaks or you don't use
 it and strip all line breaks from the HTML code (as the visual editor
 would do).

 In reality autop allows line breaks after the closing tags for block
 elements but nowhere else.

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


More information about the wp-trac mailing list