Make WordPress Core

Opened 5 years ago

Closed 4 years ago

Last modified 4 years 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)

#1 @SergeyBiryukov
5 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

#2 @SergeyBiryukov
5 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>.

#3 @jscampbell.05
5 years ago

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

#4 @SergeyBiryukov
5 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.

#5 @iseulde
4 years ago

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

TinyMCE 4.0 replaces font tags with spans now by default.

#6 @ocean90
4 years ago

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