SaaS CMS has officially launched! Learn more now.

Adding on-page editing to dynamically created elements issue


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?

May 07, 2019 23:49

Please check this article if it helps

May 08, 2019 17:33

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.

May 08, 2019 21:59

Have you upgraded your solution?

May 09, 2019 11:19
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.