Merge pull request #1564 from JulienMelissas/tinymce-note
Added note about tinymce file
This commit is contained in:
@@ -44,7 +44,8 @@ function setup() {
|
|||||||
// http://codex.wordpress.org/Function_Reference/add_theme_support#HTML5
|
// http://codex.wordpress.org/Function_Reference/add_theme_support#HTML5
|
||||||
add_theme_support('html5', ['caption', 'comment-form', 'comment-list', 'gallery', 'search-form']);
|
add_theme_support('html5', ['caption', 'comment-form', 'comment-list', 'gallery', 'search-form']);
|
||||||
|
|
||||||
// Custom stylesheet for visual editor
|
// Use main stylesheet for visual editor
|
||||||
|
// To add custom styles edit /assets/styles/layouts/_tinymce.scss
|
||||||
add_editor_style(Assets\asset_path('styles/main.css'));
|
add_editor_style(Assets\asset_path('styles/main.css'));
|
||||||
}
|
}
|
||||||
add_action('after_setup_theme', __NAMESPACE__ . '\\setup');
|
add_action('after_setup_theme', __NAMESPACE__ . '\\setup');
|
||||||
|
|||||||
Reference in New Issue
Block a user