Removed editor-style style files in favor of adding a simple _tinymce.scss partial. This cuts styles compiling time in about half.
`add_editor_style` now just references `main.css`
This commit is contained in:
@@ -45,7 +45,7 @@ function setup() {
|
||||
add_theme_support('html5', ['caption', 'comment-form', 'comment-list', 'gallery', 'search-form']);
|
||||
|
||||
// Custom stylesheet for visual editor
|
||||
add_editor_style(Assets\asset_path('styles/editor-style.css'));
|
||||
add_editor_style(Assets\asset_path('styles/main.css'));
|
||||
}
|
||||
add_action('after_setup_theme', __NAMESPACE__ . '\\setup');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user