Codex tools: Log in
Contents |
Add callback for custom TinyMCE editor stylesheets.
The parameter $stylesheet is the name of the stylesheet, relative to the theme root. It also accepts an array of stylesheets. It is optional and defaults to 'editor-style.css'.
<?php add_editor_style( $stylesheet ); ?>
add_editor_style('custom-editor-style.css');
add_editor_style() is located in wp-includes/theme.php.
Theme Support:
add_theme_support(),
remove_theme_support(),
current_theme_supports()
add_editor_style()
Theme Features:
Post Thumbnails,
Navigation Menus,
Widgets API,
Post Formats,
Custom Backgrounds,
Custom Headers