I’ve recently requested that the Knack team add <details>
and <summary>
to the Script Attack Protection Whitelist.
This means that you can now add collapsible details to your rich text views, and text/formula fields without it being sanitised on clicking Save.
This is great for when you have a big paragraph of text that you don’t always want to display to the user.
The way to format this is:
<details><summary>Expand me to see more details</summary>
This is some text hidden inside the collapsible element.
</details>
Example output:
Let me know what scenarios you use it for!