A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
I'm grappling with trying to overcome the need to recompile website projects whenever a change has to be made to the extendValidElements class for TinyMCE. There is plenty of good info on this topic (here is a good discussion of implementing extended elements), but they all use the NonVisualPlugin decoration to the class which takes the list of the valid elements as an attribute to that decoration.
Any pointers on how the list of elements could be made editor/admin definable at run-time - through a dynamic property or such like? Or does the TinyMCe implementation require the list to be specified at compilation?