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:
Julien Melissas
2015-10-13 11:51:57 -04:00
parent 8e271f98bd
commit 5a621210db
4 changed files with 3 additions and 9 deletions

View File

@@ -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');