The WordPress editor shouldn’t be pulling in the themes CSS files unless you have a file that is named editor-style.css
. You can either use the editor-style.css and simply place it in your themes root directory, add certain styles to the stylesheet (not all the theme div and id tags will apply to the WordPress Editor).
Another way to do it is to use wp_enqueue_script
to enqueue a CSS file with whatever name you wish, or in a different file location other than the themes root directory. Some authors use this method to minimize the amount of files that live in the theme root directory.
If your theme is incorrectly registering or enqueueing a script it can cause the files to be loaded into the WordPress admin area. Let me know what your theme is using for the editor stylesheet if this doesn’t help so I can give you better assistance.
Related Posts:
- Forcing reload of editor-style.css
- How to include own css on wordpress tinymce editor?
- Why did multiple line breaks stop working in text editor?
- When switching from html to visual editor the tag gets corrupted
- Markup of oEmbed codes in the editor?
- How to add a class to ul tags created by the WordPress editor Tinymce?
- How can I stop TinyMCE from converting my HTML entities to characters?
- Apply custom style to single word in WordPress
- How can I insert HTML attributes with an existing TinyMCE button?
- Add Shortcode inline inside Gutenberg block
- TinyMCE editor – new lines not rendered on front end
- WordPress tinymce prints empty P tag and break html format
- WP 3.3 my rich text category editor toolbar is gone!
- Add table controls with wp_editor minimal editor configuration (‘teeny’)
- Adding Custom Styles to the MCE dropdown toolbar
- TinyMCE Plugin Parameter
- Add table button in editor without Plugin
- Our shortcode dropdown box in Tinymce is not working in WordPress 3.9?
- Custom TinyMCE style formats disabled
- Add buttons to the new TinyMCE WP Editor. Javascript API
- Is it possible to disable the image alignment options in the post editor?
- How to dynamically generate wordpress editor on frontend?
- Change syntax styling of TinyMCE HTML Text Editor
- More than one TinyMCE (wp_editor) with different $settings[‘drag_drop_upload’] values breaks
- Adding custom styles to elements, without creating new elements
- Why is the media upload button not in the main toolbar & can it be placed there instead?
- Adding CSS to admin TinyMCE editor for custom button
- How can a TinyMCE modal return formatted/visual text?
- Allowing style tag in TinyMCE editor
- TinyMCE Advances is removing blanks (” “)
- Why Editor reformats my code
- enable TinyMCE for comment forms
- Best Browser for Editing Posts
- TinyMCE strips off the href tag inside span, if i change from text to visual
- Adding a Media Button to the WordPress Content Editor
- Wordpres Tinymce custom button (Gavick guide)
- Error in backend: Failed to load plugin: tabfocus from url
- Preserve indentation, HTML5 shorthand in editor
- Add WordPress Core CSS into editor-style.css
- `tinyMCE is not defined` after migrating site to server
- Custom shortcode editor [BackboneJS & TinyMCE)
- Problem with Line spacing in wysiwyg editor in WP 3.5.1
- Switch between Visual and HTML tab freely
- Removing buttons from the editor
- How to force TinyMCE in WordPress to replace newlines with tags and not with
- How i can i add a split button or list box to the WordPress TinyMCE instance
- TinyMCE in customizer
- Cite-Tag for blockquotes
- Secure Validation of wp_editor in Theme Options
- Detecting when TinyMCE is “ready”
- Second toolbar in tinymce has “display:none” set?
- Integrating inline tinymce editor in a component for a gutenberg block
- Change padding to text indent in “Increase indent” TinyMCE
- Using post ID in custom tinyMCE button
- onClick inside post_content does not appear in post tinymce editor
- How to get WP editors tinyMCE instances
- Remove empty lines ( ) when author updates their post
- What is this: data-wplink-url-error=”true” and why is it added to my links?
- Customising the WordPress TinyMce editor and it’s buttons
- 2nd button row from WP Super Edit or TinyMCE Advanced doesn’t show to 2nd admin
- Change Default Font Size and Remove Unwanted Font Sizes in TinyMCE
- How can I get the post content displayed in a text field that allows to edit posts?
- wpeditor issue – shows both mode and not able to focus/edit during visual mode
- Add Wrapper with Class to WYSIWYG Editor
- Different css rules for TinyMCE and Gutenberg while using add_editor_style()
- wp.editor.initialize does not show the same default toolbar
- Stop WordPress Visual Editor converting backticks into code blocks
- How to add button in TinyMCE TEENY mode?
- TinyMCE Editor change underline button behavior – u tag instead of span text-decoration underline
- Can’t remove generated by editor from database
- Editor stripping out data attribute when saving
- Post content not showing in the edit post textarea
- How to add custom font to TinyMCE FontSelect in WP Admin or filter the fonts available
- Disable TinyMCE Table formatting width/height
- Use schema.org HTML in TinyMCE Editor
- Customer Support: TinyMCE stopped working (on some computers)
- Adding custom block formats to TinyMCE. Everything works until JavaScript error when applying the format
- How to apply a custom skin to WP_Editor / TinyMCE?
- WordPress wraps span tags into p tags
- Custom styles in Tiny MCE with an external CSS file
- Blank spaces show as a question mark
- Can i set css class for table via TinyMCE [closed]
- Where’s the explanation of the TinyMCE’s vars in the WP core?
- How to edit blockquote image
- Customizing tinyMCE 4 Styles and Format dropdowns
- WordPress (TinyMCE) not removing script tags
- Insert attachments from custom uploader into post (regular uploader style)
- How can I remove using built in wordpress filters
- TinyMCE Visual editor removes href containing Javascript with ‘allow_script_urls’ set to true
- TinyMCE is inactive after installation
- How to set custom TinyMCE format style as default?
- Did Gutenberg block editor change the html in post content during import?
- Load WordPress Editor .css on Front End
- “Formats” Select Menu in WP Editor doesn’t show up with correct colour
- Prevent Black Studio TinyMCE from adding tags when switching from Visual to HTML mode
- how to see P and BR tags in tinymce?
- Inline Editing with wp_editor and tinymce (problem with textarea)
- What is zinging my HTML commands? I don’t think I can blame TinyMCE this time…
- WordPress 4.5 Inline Link Toolbar not working on custom wp_editor instance
- How do I change TinyMCE button “i” to create a i tag rather than em? [duplicate]