A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Hi Andy,
This question came up recently though it was a slightly different scenario:
https://world.optimizely.com/forum/developer-forum/Developer-to-developer/Thread-Container/2024/5/restrict-which-blocks-that-can-be-used-in-tinymce/
I think the relevant answer for you would be to implement a validator as described in this blog post:
https://surjitbharath.wordpress.com/2017/02/02/episerver-10-restrict-any-block-types-on-xhtmlstring-property-using-the-validation-attribute/
Hi,
Does anyone know if it's possible to limit the block types that can be added to a tinymce/rich text field in Opti CMS? There is a requirement to only allow two types of blocks in the field.
Thanks in advance!