Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#35798 closed defect (bug) (fixed)

Blockquote shortcut strips space before formatted text

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

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

  • Summary changed from Blockquote shortcut strips space before foramted text to Blockquote shortcut strips space before formatted text

#2 @johnstonphilip
7 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
7 years ago

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

In 36513:

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

Fixes #35798.

#4 @netweb
7 years ago

  • Milestone changed from Awaiting Review to 4.5
Note: See TracTickets for help on using tickets.