[wp-trac] [WordPress Trac] #41298: Text Editor: Extra blank lines added above blockquote-formatted text

WordPress Trac noreply at wordpress.org
Thu Jul 20 20:02:22 UTC 2017


#41298: Text Editor: Extra blank lines added above blockquote-formatted text
--------------------------+------------------------------
 Reporter:  zoonini       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  4.8
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by zoonini):

 > It has the advantage that if the user clicks on the button while the
 caret is in the middle of a paragraph, the paragraph will be properly
 separated (both visually and in wpautop) and the blockquote will be
 inserted.

 This is a good point.

 > I'm not sure what the advantage of removing them would be. There is no
 need to remove the extra lines, wpautop will strip them.

 As a user I expect the published post to respect the spacing in the
 editor. It's confusing for me to have blank lines stripped out.

 But if I'm the only one who's ever mentioned this over the years, perhaps
 it's best to leave it as is. ;-)

 I only noticed this originally over in the support forums, and the issue
 has already been fixed there.

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


More information about the wp-trac mailing list