Changes between Version 2 and Version 3 of Ticket #30187, comment 5
- Timestamp:
- 11/02/2014 12:02:46 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30187, comment 5
v2 v3 1 1 To be able to properly do this we would need to (somewhat) refactor WP_Editors. Currently it is geared towards adding the same editor as on the Edit Post screen somewhere else. Would need to make it work better for multiple instances of TinyMCE. 2 2 3 One way to accomplish removing ofadditional 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.3 One way to remove 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. 4 4 5 5 Another way is to do the same with some JS added on the `'wp_tiny_mce_init'` action.