[wp-trac] [WordPress Trac] #41298: Text Editor: Extra blank lines added above blockquote-formatted text
WordPress Trac
noreply at wordpress.org
Thu Jul 20 09:42:28 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 azaozz):
I don't have "strong feelings" either for or against removing them. This
is more of a visual helper when inserting a blockquote, same as adding
tabs before `<li>` tags.
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.
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. We can go a step
further too: can look for line breaks before and after the insertion point
and add them if none. Just not sure if it is worth the trouble :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41298#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list