Rich Text Editor issue | RTE Removes attributes from <div> if any attribute is "id"
Hi,
Hi,
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)
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.