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
Hello,
I am trying to change the name that is shown for a dynamic content block in the editor (by default it's the name of the dynamic content). I am aware that inline blocks cannot have a direct preview, so I have implemented a custom IDynamicContentFactory where I can modify the html that is generated for the editor (the method: GetMarkupForEditor).
The problem:
My overridden method gets called whenever the edit page is loaded intially. However, when I edit an existing dynamic content or create a new one, the method is not called. Somehow the html for the editor is generated without using the GetMarkupForEditor-method. This in turn wipes all my custom formatting of the dynamic content block.
Any suggestions would be greatly appreciated.
//Emil