[wp-trac] [WordPress Trac] #20943: Paragraphs get removed in table cells when Visual editor is refreshed

WordPress Trac noreply at wordpress.org
Fri Mar 20 05:46:03 UTC 2015


#20943: Paragraphs get removed in table cells when Visual editor is refreshed
-------------------------------------------------+-------------------------
 Reporter:  JboyJW                               |       Owner:  azaozz
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  4.2
Component:  Formatting                           |     Version:  3.2
 Severity:  major                                |  Resolution:
 Keywords:  needs-testing wpautop has-patch      |     Focuses:
  dev-feedback                                   |
-------------------------------------------------+-------------------------

Comment (by azaozz):

 Replying to [comment:47 SergeyBiryukov]:

 None of the patches fix this properly. 20943.3.diff works in some cases
 only, fails for `<td>abc<p>123</p></td>`. 20943_patch.diff just disables
 pre_autop if there is a table ul or ol in the content. That makes the Text
 editor inconsistent and causes problems with some of the display filters,
 like some shortcodes, etc.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/20943#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list