Make WordPress Core

Opened 19 months ago

Last modified 19 months ago

#63411 new defect (bug)

Enhance PHPDoc for add_editor_style function

Reported by: wildworks Owned by:
Priority: normal Milestone: Awaiting Review
Component: Themes Version:
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description

Document: ​https://developer.wordpress.org/reference/functions/add_editor_style/

The PHPdDoc describes this function as if it were for TinyMCE, but in fact, it is also available in the block editor, block themes, etc.

Change History (2)

#1 @sabernhardt
19 months ago

  • Component Editor → Themes
  • Focuses docs added

This ticket was mentioned in ​PR #8783 on ​WordPress/wordpress-develop by ​@sourav08.


19 months ago
#2

  • Keywords has-patch added

Docs: Clarify add_editor_style() applies to both TinyMCE and block editor

Trac ticket: https://core.trac.wordpress.org/ticket/63411

Note: See TracTickets for help on using tickets.