Posted May 1May 1 I'm self-hosted and still running IPS v4.7.20I have created a custom editor button that depends on inserting custom CSS classes for <a> and <span> elements. I've discovered that the following feature must be enabled for the member's Group:... Otherwise, the classes are stripped from the HTML, rendering the tool useless for groups that do not have this feature enabled. All other HTML I'm using survives when the post is submitted.If there's a way to whitelist my custom classes, that would resolve without enabling this feature for member groups.EDIT: I just realized that this forum is more for implementation support, so please move this topic as necessary. Edited May 1May 1 by z929669
May 6May 6 Author On 5/1/2025 at 11:41 PM, opentype said:Yes, it’s under Advanced Editor Settings in the ACP.Thank you!
May 16May 16 Author On 5/1/2025 at 11:41 PM, opentype said:Yes, it’s under Advanced Editor Settings in the ACP.Well this has gotten me part way there. At least the classes are working for non-admins. They had been getting stripped upon posting.I created a custom tool to allow creation of a lightbox gallery, but it isn't working for non-admin members. What is getting stripped is this:class="lb" data-ipslightbox="" data-ipslightbox-group="" class="lbcaption"