Hi, I'm using fckeditor for an application that allows users to create HTML Emails to send to their lists. The majority use IE and I have noticed that if they apply a style to some text or if they've copied and pasted from content that contains styles - if they highlight the text and click on the 'remove format' button, it fails to remove any of the applied styles (this is the behavior in IE, FF removes everything just fine).
Has anyone run into this and found a way to create their own custom button that will successfully remove all formatting from text, even within IE? I'm not very good with javaScript (yet) but am comfortable with PHP and Perl...but it looks like I need to replace the Remove Format button with a custom button that not only performs the execCommand(RemoveFormat) function (thus stripping tags), but also perform some custom javascript to search parent tags for style information and remove it.
Any help would be *greatly* appreciated.
Thank you,
Jared
Has anyone run into this and found a way to create their own custom button that will successfully remove all formatting from text, even within IE? I'm not very good with javaScript (yet) but am comfortable with PHP and Perl...but it looks like I need to replace the Remove Format button with a custom button that not only performs the execCommand(RemoveFormat) function (thus stripping tags), but also perform some custom javascript to search parent tags for style information and remove it.
Any help would be *greatly* appreciated.
Thank you,
Jared
RE: RemoveFormat doesn't remove styles in IE
Do not use IE as as far as I'm aware there are no solution so far, this is a bug in the Microsoft engine.
The solution is to use either Netscape or Mozilla (not supported by Opera BTW).
I've installed FCK about 20 times and no client object using a better Browser.
Remi
RE: RemoveFormat doesn't remove styles in IE