Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #30187, comment 5


Ignore:
Timestamp:
11/01/2014 11:51:29 PM (11 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30187, comment 5

    v1 v2  
    33One way to accomplish removing of additional stylesheets without needing extra filters would be to hook into `'wp_editor_settings'`, check if it is the desired instance, then add a filter on `'tiny_mce_before_init'` where the `content_css` setting can be emptied/tweaked.
    44
    5 Another way is to do the same from JS added on the `'wp_tiny_mce_init'` action.
     5Another way is to do the same with some JS added on the `'wp_tiny_mce_init'` action.