Make WordPress Core

Opened 3 years ago

Closed 19 months ago

Last modified 19 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)

#1 @SergeyBiryukov
3 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
3 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
3 years ago

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

#4 @SergeyBiryukov
3 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
19 months ago

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

TinyMCE 4.0 replaces font tags with spans now by default.

#6 @ocean90
19 months ago

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