Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jhayes

    (@jhayes)

    @colarikbrothers after making each change to the functions.php file, I log off the site. I would think the after log-in and opening a post to edit, the css files would be applied to the tinyMCE editor. Wouldn’t that also clear cache?

    For what ever reason, it did not seam to work. However, once the editor-style.css was recognized, the font and styles in tinyMCE changed to match Twenty-Ten theme. Since that time I have successfully edited the editor-style.css to match the Eximius 2.2 theme.

    My goal is to get the TinyMCE wysiwyg editor to match the theme has been reached. The warm glow of victory is short lived as the pain of the experience is realized.

    Thanks for your input.

    Thread Starter jhayes

    (@jhayes)

    Andrew, Yes I agree with you, The first statement should have worked. However it did not. This is the reason for this post. After 6-8 hours working on the problem and crashing the website 3 times, I have concluded that it does not work with the latest version of WordPress. add_editor_style('editor-style.css'); at the very begining of the functions.php got it to work, I really not up to messing with it any more. 🙁

    Thread Starter jhayes

    (@jhayes)

    Hi,

    Well the problem with the editor-style.css not being recognized has been resolved. Here is the statement in the beginning of the functions.php that finally made it work.

    /**
     * Custom CSS for WYSIWYG Editor – TinyMCE
    */
    add_editor_style('editor-style.css');
    
    // theme options
    $options = array.......

    The statement for what ever reason had to be at the beginning of the file and I had to include the ‘editor-style.css’ to make it work.
    The other issue about activating the tinymce-advanced css tadv-mce.css has not resolved and I am giving up on that problem. After spending many hours monkeying around with the add_editor_style statement getting it to work, has soured my taste for WordPress.

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