Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out 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!