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
- How to add placeholder in wp_editor?
- wp.editor.initialize() breaks when support for ‘editor’ is added to custom post type
- Brackets – Live Preview not working
- How do I include a TinyMCE editor in the frontend?
- TinyMCE: adding CSS to format dropdown
- Extra TinyMCE editor strips and tags?
- Switch between Visual and HTML tab freely
- Creating a wp_editor instance with custom tinyMCE buttons
- How to add custom CSS (theme option) to TinyMCE?
- How to add “Insert/Edit link” button in custom popup tinymce window?
- Remove HTML editor and visual/HTML tabs from TinyMCE
- How to disable TinyMCE from removing span tags
- WordPress automatically adding ” “?
- Add popup window to TinyMCE buttons
- Initialize TinyMCE editor / visual editor after AJAX insert
- How to customize TinyMCE4 in WP 3.9 – the old way for styles and formats doesn’t work anymore
- No filter of code on switch from html to visual editor, how?
- TinyMCE editor is breaking my beautiful HTML
- WordPress 3.9 – Trouble Editing TinyMCE 4.0
- How set defaults on wpLink()
- How to get the input of a TinyMCE editor when using on the front-end?
- Removing buttons from the editor
- Load wp_editor via ajax [duplicate]
- How to modify image editor dialog options on WordPress?
- How to force TinyMCE in WordPress to replace newlines with tags and not with
- Enqueue Script After TinyMCE initialized
- How to use tinyMCE for user “biographical info”?
- How to add multiple buttons to TinyMCE?
- TinyMCE 4.x : How to customize toolbar on wp_editor()
- How do i use fontawesome icons in TinyMce editor?
- Stop editor from removing tags and replacing them with nbsp
- Any alternate TinyMCE4 themes / subthemes?
- Replace Taxomony Description Field with Visual/WYSIWYG Editor
- How to replace the content of tinyMCE editor in both text and visual mode using jQuery?
- Unable to add “code” button to TinyMCE toolbar
- TinyMCE format dropdown no longer showing style previews
- How i can i add a split button or list box to the WordPress TinyMCE instance
- Stop certain classes showing up in TinyMCE Advanced Style dropdown
- TinyMCE in customizer
- Possible to stop WordPress from adding p1, p2… classes to p tags in TinyMCE?
- Custom Tiny MCE button to bring up a custom php popup
- WordPress 3.2 has broken my TinyMCE code
- wp_editor disable after reaching character count limit
- How can I make the wordpress editor apply the selected template?
- Is it possible to re-use the image details popup?
- Visual Tab Missing From Editor
- How to use the new Dashicons for custom TinyMCE buttons?
- Add unique class or ID information to tinyMCE
- Is it possible to create nested lists in the WYSIWYG editor?
- Add a button to tinyMCE editor on Custom Post Type
- TinyMCE Anchor Button not showing
- How to keep non-breaking spaces in the visual editor?
- Is there a way to prevent the Editor from modifying my HTML
- Cite-Tag for blockquotes
- Wait for Gutenberg or built something in ACF?
- Replicating the_editor (Media Bar, TinyMCE, Visual/HTML Tabs) functionality without a huge rewrite
- “wp_editor” not displaying TinyMCE correctly when square brackets used in name
- HTML5, WordPress and Tiny MCE issue – wrapping anchor tag around div results in funky output