[Infusion-users] Rich text inline editor and allowed tags
colinbdclark at gmail.com
Wed May 26 15:03:52 UTC 2010
It is indeed the CKEditor that is stripping out your script tags. Their documentation isn't wicked, but I can sort of intuit that this configuration option might do the trick for you:
It seems to want a regular expression that matches all the stuff you don't want it to strip out. We expose CKEditor editor's configuration options via Inline Edit's "CKEditor" option, so you should be able to specify it there. If you need to get access to the CKEditor instance itself, you can use the fluid.inlineEdit.CKEditor.getEditor(editFieldElement) function.
Hope this helps,
On 2010-05-26, at 12:43 AM, Eli Cochran wrote:
> I haven't researched it but I'm betting that it's CKEditor that doing the stripping. And I don't know if it's a setting that can be changed. Allowing a user to add a script is usually considered a security risk so I'm not surprised that they'd strip them out.
> - Eli
> On May 25, 2010, at 3:18 PM, Jennifer Bourey wrote:
>> Hi folks,
>> - Jen
>> Infusion-users mailing list
>> Infusion-users at fluidproject.org
> . . . . . . . . . . . . . . . . . . .
> Eli Cochran
> manager of user experience design
> ETS, UC Berkeley
> "A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away."
> - Antoine De Saint-Exupery
> Infusion-users mailing list
> Infusion-users at fluidproject.org
Technical Lead, Fluid Project
More information about the Infusion-users