WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 8 months ago

#23110 closed defect (bug) (fixed)

Tiny MCE - when adding blockquote, entering twice no longer backs out of blockquote

Reported by: jack.nycz Owned by: azaozz
Milestone: 4.2 Priority: normal
Severity: normal Version: 3.5
Component: TinyMCE Keywords: has-patch
Focuses: Cc:

Description

When using the visual editor you used to press enter twice to back out of a blockquote and continue writing paragraphs, but now it just adds a nbsp; in the blockquote. Without going into the html view and actually adding content below, there's no way to get out of writing in the blockquote.

Attachments (1)

23110.patch (528 bytes) - added by iseulde 8 months ago.

Download all attachments as: .zip

Change History (7)

comment:1 @miqrogroove3 years ago

I noticed this too, but all you have to do is press enter and click Blockquote rather than pressing enter twice.

comment:2 @SergeyBiryukov3 years ago

  • Component changed from Editor to TinyMCE

comment:3 @iseulde16 months ago

It's been like this for a while now, but setting end_container_on_empty_block to true in the TinyMCE configuration will end the block quote when pressing enter twice.

@iseulde8 months ago

comment:4 @iseulde8 months ago

  • Keywords has-patch added; needs-patch removed
  • Milestone changed from Awaiting Review to 4.2

Let's make a decision. I personally prefer this.
Moving to 4.2 for consideration. Else we should close this.

comment:5 @azaozz8 months ago

Looks like end_container_on_empty_block works as expected. Doesn't affect typing multiple returns in <pre> tags (can break out of <pre> with Shift+Enter) and lists work same as before.

comment:6 @azaozz8 months ago

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

In 31222:

TinyMCE: add breaking out of blockquotes by pressing Enter twice. Togging blockquote on|off with the button and the shortcut is unchanged. Props avryl, fixes #23110.

Note: See TracTickets for help on using tickets.