Make WordPress Core

Opened 2 years ago

Closed 11 months ago

Last modified 11 months ago

#23576 closed enhancement (worksforme)

WordPress Editor Config to Stop Using Font Tag

Reported by: jscampbell.05 Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.5
Component: TinyMCE Keywords:
Focuses: Cc:


Please could you change the default config so that the Font tag isn't used for styling, there is a option for the editor you use to switch to using spans instead but it isn't set to do that by default.

Change History (6)

comment:1 @SergeyBiryukov2 years ago

  • Component changed from General to TinyMCE
  • Summary changed from Wordpress Editor Config to Stop Using Font Tag to WordPress Editor Config to Stop Using Font Tag
  • Version changed from trunk to 3.5

comment:2 @SergeyBiryukov2 years ago

  • Keywords reporter-feedback added; needs-patch dev-feedback removed

Could you provide the steps to reproduce the issue on a clean install?

I've tried "Select text color" and "Underline" buttons, and they produce <span> tags, not <font>.

comment:3 @jscampbell.052 years ago

My Content Manager keeps changing the Font Size which results in <font size="4"></font> being added.

comment:4 @SergeyBiryukov2 years ago

Not sure what you mean by "Content Manager", but the default WordPress editor (Visual or Text) doesn't have the ability to change font size out of the box.

comment:5 @iseulde11 months ago

  • Resolution set to worksforme
  • Status changed from new to closed

TinyMCE 4.0 replaces font tags with spans now by default.

comment:6 @ocean9011 months ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.