Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 6 years ago

#28656 closed defect (bug) (fixed)

When pasting in Chrome or Safari, <strong> and <b> may be replaced with spans

Reported by: azaozz Owned by: azaozz
Priority: normal Milestone: 4.0
Component: TinyMCE Version:
Severity: normal Keywords:
Cc: Focuses:

Description

Happens when font-weight is set for these tags in the CSS (not set by default in WordPress but themes add it).

Caused by the same *wonderful* feature that adds tons of spans with inline styles producing super ugly unstylable HTML.

Change History (2)

#1 @azaozz
12 years ago

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

In 28866:

TinyMCE: force 'font-weight: bold` for <strong> and <b> inside the editor or Chrome and Safari may replace them with spans on pasting. Fixes #28656.

This ticket was mentioned in ​Slack in #core-editor by itsjusteileen. ​View the logs.


6 years ago

Note: See TracTickets for help on using tickets.