Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#29136 closed defect (bug) (invalid)

get_editor_stylesheets() should not use parent theme stylesheets

Reported by: greglone's profile GregLone Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.0
Component: Editor Keywords: close
Focuses: administration Cc:

Description

When using a child theme, TinyMCE doesn't use the parent theme stylesheets.
So I can't see any reason why get_editor_stylesheets() should (used in the new iframes in TinyMCE).

Attachments (1)

get_editor_stylesheets-no_parent.diff (695 bytes) - added by GregLone 11 years ago.

Download all attachments as: .zip

Change History (4)

#1 @SergeyBiryukov
11 years ago

  • Keywords close added

When using a child theme, TinyMCE doesn't use the parent theme stylesheets.

It does, see [13453] and [16688].

get_editor_stylesheets() was copied from _WP_Editors::editor_settings(), see [29176] and [29177].

#2 @GregLone
11 years ago

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

OK my bad, I understand where my mistake is, I use a custom function to add stylesheets to the editor and it doesn't add the parent theme stylesheets.

#3 @SergeyBiryukov
11 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.