• I’ve been using Freshy 2 theme, along with the Customize plugin and the TINY MCE Advanced plugin since February. I was never able to get my theme’s styles to show up correctly in the visual editor, even with the option to import styles selected on the MCE Advanced plugin, but that’s a minor thing.

    When I upgraded to WP3, everything seemed to work fine. Much to my delight, my visual editor began properly displaying pages and post with the site’s style right after the upgrade. I even created a “editor-style.css” style sheet to fine tune it a little, and that worked fine.

    When I logged in today, however, now my styles do not show up in the visual editor. What is worse is that now there is a dark background image (similar to the background my site uses, but much darker) in the visual editor that makes it difficult/impossible to read the text. When I disable TinyMCE advanced, the background disappears, but that isn’t a real solution, especially considering it all worked great together for the first day. I have tried disabling other plugins and resetting things and such, but to no avail.

    With WP3, do I need to do anything else to my theme’s function.php or header.php to use an editor-style.css sheet, or is it supposed to be automatically imported from all themes regardless of whether or not the TINY MCE plugin is active?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the 2010 theme to rule out any theme-specific problems?

    resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

    increasing the available memory?

    Thread Starter davidajr

    (@davidajr)

    I got it back, for the most part. When I upgraded, I took the opportunity to do a little bit of streamlining in my theme files. (I have been very happy with my Freshy 2 layout and don’t anticipate getting a new theme anytime soon, but the temptation to upgrade anyways overtook me.) I created the “editor-style.css” file and deleted several page templates and custom style sheets that I have never used. One of them was “content.css”, which is apparently what Freshy 2, via the functions.php, had been setup to import styles into the TinyMCE editor for years; for whatever reason, my styles had never shown up in the editor until I upgraded to WP 3; I assumed they were automatically coming from my newly created “editor-style.css” sheet, but they had been imported from the “content.css”, which I have sense restored and tweaked.

    Additionally, I did have to turn “Import Styles” off on the Advancted TINY MCE plugin; that is what had been dragging the background into the editor, which it had not done with WP 2.9.2 (oddly enough.)

    As a side note, the new interface and menu design system for WP 3 is great, but I have realized that most of the big new features were functions that had already been included in my Freshy 2 theme: custom backgrounds, custom menu management, flexible widget areas, etc. Oh well…the upgrade bug bites and I lose my time creating content to learn a little more code.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Visual Editor styles corrupt after WP3’ is closed to new replies.