Make WordPress Core

Opened 12 years ago

Closed 9 years ago

#23110 closed defect (bug) (fixed)

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

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


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 10 years ago.

Download all attachments as: .zip

Change History (7)

#1 @miqrogroove
12 years ago

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

#2 @SergeyBiryukov
12 years ago

  • Component changed from Editor to TinyMCE

#3 @iseulde
10 years 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.

10 years ago

#4 @iseulde
10 years 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.

#5 @azaozz
9 years 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.

#6 @azaozz
9 years 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.