Codex tools: Log in
Editor Style is a theme feature introduced with Version 3.0. This feature allows you to link a custom stylesheet file to the TinyMCE editor within the post edit screen. Apart from affecting the post content appereance in the editor, this will make the CSS class definitions from the file available in the Styles list box of the TinyMCE editor and able to be assigned to the content.
There is no need to explicitly add theme support for this feature since support is added automatically when calling:
which will, by default, link the editor-style.css file located directly under the current theme directory.
To link a different stylesheet file, give its path relative to the current theme directory as an argument to the add_editor_style() function, like so:
add_editor_style( 'css/custom-editor-style.css' );
For more details about this feature and realistic examples of its usage, see the Description, Examples and Notes sections on add_editor_style() which, among others, cover behavior of the function related to the use of child themes and changes in previous versions of WordPress.
Features: sidebar, menus, post-formats, post-thumbnails, custom-background, custom-header, automatic-feed-links, content_width, editor-style