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
Please check this article if it helps
https://world.episerver.com/documentation/developer-guides/CMS/editing/on-page-editing-with-client-side-rendering/
That was one I used to originally, but it does not work if I add the attributes after the page has finished loading. I am hoping someone else has ran into this.
I am following a few blog posts I found that show how to add the data-epi-edit-name attribute to an element in order to enable on page editing. The problem I am running into is I have no control over the creation of the dynamically created element, so I have to add the attributes to it after the fact. It appears epi does not detect the change and does not refresh the OPE editor boxes. Even calling the epi.publish("beta/domUpdated") event on the client does not get it to be recognozed. I am at a loss, is there a way to get this to work?