1 Reply Latest reply on Oct 22, 2012 4:53 PM by rush_pawan

    Including inline javascript code OR link to JS file


      We have some use cases, for which we want to allow authors/publishers to specify inline javascript OR link to a JS file on a CQ page. We enabled source editing mode for Rich Text Editor (using misctools plugin).


      Now I can enter HTML including <SCRIPT> tags in the rich text editor. But the problem is richtext validation checker strips out Javascript automatically. Is there any way to turn off this validation and stop stripping off of javascript?


      Is there any other way that we can directly enter javascript to CQ pages?