Re: Rich Text Editor's Underline CSS fails in multiple browsers
- You know, it might have been an issue with Firebug in FF 188.8.131.52 and I haven't identified
the issue yet in Safari. I'm thinking that it was also a stripslashes() issue there so I had
two issues going at the same time which made it hard to accurately identify both. Thanks.
> I just started using Rich Text Editor and found something that I didn't know if anyone
> could comment on. In order to simulate an underline the RTE executes the following
> code to replace the deprecated <u> with a <span> and inline CSS text-decoration. The
> problem I'm having exists around the fact that this apparently isn't valid CSS (text-
> and firefox (and I think i'm seeing Safari do it too) removes that unrecognized style
> declaration which in turn removes the underline when the JSON data is returned to the
> Firefox gives this response when watching with Firebug: Unknown property '"text-
> decoration'. Declaration dropped.
> The example I'm using on my local web server is the one found at:
> Has anyone else run into this problem? This seems to be the only "illegal" CSS use in
> RTE. I searched for comments about this from others but found nothing.
> Thoughts? Observations? Insight? I believe that IE renders the underline text as
> using the "illegal" CSS so IE-only users might not have noticed this.