Jump to content

Featured Replies

Posted

I'm self-hosted and still running IPS v4.7.20

I 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:

image.png

... 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 by z929669

Yes, it’s under Advanced Editor Settings in the ACP.

Bildschirmfoto 2025-05-02 um 06.41.19.png

  • Author
On 5/1/2025 at 11:41 PM, opentype said:

Yes, it’s under Advanced Editor Settings in the ACP.

Bildschirmfoto 2025-05-02 um 06.41.19.png

Thank you!

  • 2 weeks later...
  • Author
On 5/1/2025 at 11:41 PM, opentype said:

Yes, it’s under Advanced Editor Settings in the ACP.

Bildschirmfoto 2025-05-02 um 06.41.19.png

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"

Recently Browsing 0

  • No registered users viewing this page.