You’re looking for add_editor_style()
. Just drop that in your functions.php
file and then put an editor-style.css
file in your theme with whatever styles you want.
Related Posts:
- Any alternate TinyMCE4 themes / subthemes?
- Snippet: Use classes instead of inline styles for text alignment
- Add class to before_widget for all widgets with a dropdown and a counter
- two tinyMCE editors in the same page
- How to i style the elements from the TinyMCE
- How to rotate every letter in a title
- tiny_mce_before_init: ‘exact’ => true has no effect
- How to define and link full path to css located at a random folder on header.php
- How to add CSS class to custom logo?
- How to add custom css file in theme?
- How important is it to enqueue a theme’s stylesheet?
- CSS not updating in browser when I change it
- Solutions for generating dynamic javascript / CSS
- Do I actually need to link my theme’s style.css in the theme files
- Enqueue a stylesheet for login page and make it appear in head element
- CSS classes for theme
- Generating CSS Files Dynamically Using PHP Scripts?
- How to remove the Theme Customization Button from the dashboard and themes options page?
- What filters are applied to the_content function?
- Enqueue Stylesheets After Theme’s “rtl.css”
- Change admin bar to default:off
- How to modify an image block in Gutenberg WordPress 5?
- Are the WordPress Core CSS styles really all nessesary?
- Modify links when inserted by WYSIWYG editor
- Understanding wp_add_inline_style
- Splitting WordPress theme CSS into multiple files, good or bad?
- Edit srcset and sizes attributes in Gutenberg image, cover and gallery – blocks
- Hide a div that is part of all pages on one specific page
- Why I can’t add a CSS style in this WordPress theme?
- Can’t get staging site to display same way as live site. Completely stumped
- How to make a theme with more than one CSS file?
- wp_get_attachment_image_attributes not working for me
- Editing the custom background CSS
- Display a different theme for not logged-in users
- How to edit an existing WordPress theme? [closed]
- How can I filter Microsoft Word gunk from pasted content?
- Run shortcode before filters
- Suggestions for creative use of post format feature, or themes that use them well
- Apply custom style to single word in WordPress
- Why max-width:97.5% on content images?
- add generated stylesheet from parent theme after child-themes style.css
- Add a preview to a WordPress Control Panel
- How to Auto Approve Comments on a Specific Page?
- use add_action(‘wp_head’) in a widget for generating dynamic CSS styles
- why does twenty eleven theme mix up the css measurement units?
- Setting up partial Right-to-Left admin interface
- Adding inline styles from a widget
- Get password when user registers and save it sha1 into database
- Can’t edit style.css in subdirectory of my theme?
- Adding dashicon fonts to the admin of pre 3.8 installs
- How to Handle CSS for Multiple Header header.php Files?
- How to remove_filter that filters iframes in posts? [duplicate]
- Passing variable in hooks and filter
- CSS in child theme not overriding the parent theme [closed]
- How to add (css) classes to only one wp_nav_menu()?
- Adding dashicon fonts to the admin of pre 3.8 installs
- Move my theme style.css into a folder
- Convert a static website to a WordPress theme and import all existing content
- How to keep theme layout the same when admin gray bar is present?
- Enqueued Stylesheets Effecting Admin Styles
- Custom CSS In Uploads Folder
- There’s an image named g.gif somewhere in my WordPress site
- wp_head() not inserting the default stylesheet style.css
- How to highlight the current page in the nav menu?
- Writing Clean WooCommerce Styles
- WordPress nav_menu_css_class theme filter is not being called
- First completely customized theme, where should I start?
- Root Sage theme styles are not working!
- De-registering parent style sheet css recommended?
- customizing the_password_form filter
- Whats the safest way to output custom JavaScript and Css code entered by the admin in the Theme Settings?
- Alterntives to BEM syntax that comply with WordPress coding standards? [closed]
- How do I add a listbox to the TinyMCE editor?
- Modify the Additional CSS section (adding a disclaimer)
- Add tinymce to widget textareas
- Wysiwyg editor for P2 theme
- Sub folder CSS that’s read by Admin panel
- WordPress Genesis Child Theme Filter divs
- WordPress 5.8 update problem custom theme styles are overridden by core styles common.min.css
- WordPress default theme css units
- Change file name from wp_generate_attachment_metadata
- CSS won’t style output of wp_nav_menu() correctly
- Where is definied the theme location for the main menu in a WordPress template?
- Is it necessary to prefix every css class in a theme framework?
- current-menu-item class not working
- How to determine which custom header image is being shown
- enqueue_style is not working
- Custom CSS without css.php file
- Dequeue a style file which is making website load slow!
- Weekly background code not working
- When adding buttons to the tinyMCE editor, how do I make them wrap to the next line and/or display in the “Kitchen Sink” area?
- Do I need normalize.css when developing my own WordPress-theme?
- How to float an image in Gutenberg
- Simple way to get two language WP site
- How do the default themes reference style.css?
- Media Uploader in custom path
- Multiple Page Templates & CSS
- Highlight “Show all” item in wp_list_categories
- Is it possible to edit the styling of the admin panel from within a custom theme?
- When trying to override plugin’s function by theme, my filter executes two times, I want it to run only a single time