Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#35798 closed defect (bug) (fixed)

Blockquote shortcut strips space before formatted text

Reported by: Clorith Owned by: azaozz
Priority: normal Milestone: 4.5
Component: Editor Version: 4.3
Severity: normal Keywords:
Cc: Focuses: javascript

Description

When using the shortcut for blockquotes in the editor, >, spacing before any formatted text in the quote will be stripped out.

However, if you, for example, spell out the line with underlines and use the blockquote button in the kitchen sink, this does not happen.

Reproduce:
In a post, type the following > This is a <Ctrl+U>underlined<Ctrl+U> quote

Expected outcome:

This is an underlined quote

Actual outcome:

This is anunderlined quote

The same happens to bold, italic, strikethrough and colors.

You can also use the toolbar buttons to apply the formatting of bold, italics etc. The primary factor is that the blockquote shortcut is used.

Change History (4)

#1 @Clorith
11 years ago

  • Summary Blockquote shortcut strips space before foramted text → Blockquote shortcut strips space before formatted text

#2 @johnstonphilip
11 years ago

Just seconding this. I tested this and can confirm the same thing happens for me. When using the Blockquote shortcode and then underlining text in a quote, it removes any spaces you have before the underlined text.

#3 @azaozz
11 years ago

  • Owner set to azaozz
  • Resolution → fixed
  • Status new → closed

In 36513:

TinyMCE: fix removing a space before inline tags when applying formatting shortcuts.

Fixes #35798.

#4 @netweb
11 years ago

  • Milestone Awaiting Review → 4.5
Note: See TracTickets for help on using tickets.