Hi,
Solved! Go to Solution.
Views
Replies
Total Likes
This is to do with XSS protection that that text editor runs through. You can find the configuration file here: /libs/cq/xssprotection/config.xml
You can overlay the file under /apps/cq/xssprotection/config.xml and modify the configuration to allow what you're putting in there. At first glance, it looks like it validates the ID attribute with the following regex: <regexp name="htmlId" value="[a-zA-Z0-9\:\-_\.]+"/>. You may need to configure that further, or change the ID for your element (which would likely be a better option)
Views
Replies
Total Likes
This is to do with XSS protection that that text editor runs through. You can find the configuration file here: /libs/cq/xssprotection/config.xml
You can overlay the file under /apps/cq/xssprotection/config.xml and modify the configuration to allow what you're putting in there. At first glance, it looks like it validates the ID attribute with the following regex: <regexp name="htmlId" value="[a-zA-Z0-9\:\-_\.]+"/>. You may need to configure that further, or change the ID for your element (which would likely be a better option)
Views
Replies
Total Likes