Make WordPress Core

Opened 14 years ago

Closed 12 years 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
Priority: normal Milestone: 4.2
Component: TinyMCE Version: 3.5
Severity: normal Keywords: has-patch
Cc: Focuses:

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

Download all attachments as: .zip

Change History (7)

#1 @miqrogroove
14 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
14 years ago

  • Component EditorTinyMCE

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

@iseulde
12 years ago

#4 @iseulde
12 years ago

  • Keywords has-patch added; needs-patch removed
  • Milestone Awaiting Review4.2

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

#5 @azaozz
12 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
12 years ago

  • Owner set to azaozz
  • Resolutionfixed
  • Status newclosed

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.