Is there an FCKConfig property or something which can be set to strip out inline styles from user-entered HTML source?
In somebody else's post I noticed this line:
FCKConfig.RemoveAttributes = 'class,style,lang,width,height,align,hspace,valign' ;
which looks like it would do what I want if it worked, but having it present doesn't seem to do anything.
Any ideas would be appreciated.
Thanks,
doug
In somebody else's post I noticed this line:
FCKConfig.RemoveAttributes = 'class,style,lang,width,height,align,hspace,valign' ;
which looks like it would do what I want if it worked, but having it present doesn't seem to do anything.
Any ideas would be appreciated.
Thanks,
doug
Re: Way to strip out inline styles?
Thanks,
doug
Re: Way to strip out inline styles?
I'm looking for a way to run this whenever somebody pastes content in with Ctrl+V. I think the way WYSIWYGs paste in style attributes is crazy. I can't ever imagine a situation where this would be a good idea, and I can't work with any WYSIWYG until I find a way of fixing this broken paste functionality.