I need to keep FCKEditor from stripping out certain commands, namely the EMBED command, when I copy/paste code in source mode.
I have heard rumors that there is someplace I can list commands to be ignored or can somehow just tell FCKeditor to not strip or reformat anything.
Any help appreciated! Thank you!
RLS
I have heard rumors that there is someplace I can list commands to be ignored or can somehow just tell FCKeditor to not strip or reformat anything.
Any help appreciated! Thank you!
RLS
RE: How can I whitelist commands from being strip
Why is this? Why can't someone answer these requests, even if to say 'Hey, buddy, you're SOL'?
There's got to be a way. Someone knows how. Are you saying (through your silence) that the answer is so easy we should just someone know this?
I've looked through the forum messages, I've looked through WIKI, I've spent hours examining and toying with the config and other files, but I cannot find a solution.
And that's too bad. It's too bad FCK strips out the EMBED command from my Flash object, which makes my web page flash not work in Firefox and Mac.
I guess there just happens to be many of us who have a problem for which there is no solution? Interesting.
RE: How can I whitelist commands from being strip
My problem was that the EMBED command was being removed when I (my clients) pasted my full Flash object code in source mode.
The following line keeps the object tag from being touched - and also keeps the flash component from showing when not in source mode, (but I can live with that... for now):
FCKConfig.ProtectedSource.Add( /<object[\s\S]*?\/object>/gi ) ; // <OBJECT> tags.
Hope this helps somebody. BTW, while I did tinker with other tags, I undid all other changes and went ONLY with the above line (about line 43). Therefore, I am using FCKeditor 2.3 with all files pure from the download except the above change and a customized menu configuration.
RLS
RE: How can I whitelist commands from being s