I have defined styles set up. They work well when they work. Sometimes in various versions of IE they will show up, then suddenly they will not. Once they fail to show up they seem to stay gone. If I quit all browsers and log back in then maybe they will show up.

I love the defined styles feature. Is there any kind of issue that I am missing? I have been searching.

Comments

delmarr’s picture

having a similar issue, subscribing.

biz400’s picture

I had the same issue; seems like it is IE's issue; try firefox, it worked for me...

twod’s picture

Status: Active » Postponed (maintainer needs more info)

Which editor(s) does this apply to?
Are there any errors?
Can you give an example of the styles you've defined?

xpersonas’s picture

In my case, I am using TinyMCE.
It does seem to be IE-related. I haven't had any issues with Firefox.

I was using the "Define CSS" option, where I use a path to link to my own stylesheet for the Editor CSS. There was nothing special about it. Just a stylesheet named editor.css in my /sites/all/themes/theme_name/css directory.

.headerNormal {
    color: #333333;
    font-family: Helvetica,Arial,sans-serif;
    font-size: 1.3em;
    font-weight: bold;
    line-height: 1.15em;
    margin: 0 0 5px;
}

.headerRed {
    color: #B4151C;
    font-family: Helvetica,Arial,sans-serif;
    font-size: 1.3em;
    font-weight: bold;
    line-height: 1.15em;
    margin: 0 0 5px;
}

I have switched it around now so that I have these styles defined in the "CSS Classes" text area provided by the module.

headerNormal = headerNormal
headerRed = headerRed

So far, I haven't noticed that the styles disappear when setting it up like this. However, I haven't fully tested it with all my IE users yet.

Hope that's helpful info.

delmarr’s picture

IE7 with Tinymce. Checking the mark up with the inspector, there is no inline style attached.

Hope this helps.

twod’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I'm sorry for the long delay.
I do not know what to do about this. It's quite possible this is an IE-only bug.
I'm closing this issue for now, but if you can reproduce it with the latest version of TinyMCE, please reopen it again.