WordPress.org

Making WordPress.org

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#2950 closed defect (fixed)

Support Theme: Remove extra lines from above blockquote-formatted text

Reported by: zoonini Owned by: SergeyBiryukov
Milestone: Priority: normal
Component: Support Forums Keywords: close
Cc:

Description

To replicate:

  1. Write two paragraphs of text in either a forum post or reply
  2. Select the second paragraph
  3. Click the "blockquote" formatting button in the toolbar

Result:

Several extra blank lines are added above the blockquote, which then need to be removed.

Expected:

Applying blockquote tags to a paragraph should not add extra blank lines before the quote.

Screencast: https://cloudup.com/cvoLXFd5s00

Change History (5)

#1 @zoonini
2 years ago

Note: the same issue occurs with the first paragraph in a post but it might be more obvious to see the issue in subsequent paragraphs.

#2 @netweb
2 years ago

  • Keywords close added

bbPress inherits this behaviour from WordPress, the same behaviour can be seen when editing a WordPress post or page using the "text editor".

I had a quick look and couldn't find a #core Trac ticket for this, I think this ticket should be closed in favor of a core ticket

#3 @SergeyBiryukov
2 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 5661:

Support Forums: Replace Quicktags' blockquote button to remove extra line breaks before and after the tag.

Fixes #2950.

#4 @SergeyBiryukov
2 years ago

In 5662:

Support Forums: Only print Quicktags' button replacement script if Quicktags is enqueued.

See #2950.

Note: See TracTickets for help on using tickets.