Few Questions
First of all, Amazing project thumbs up to everybody involved.
I have a couple of questions:
-
How can I iterate over all of the components and change their content on the canvas. I would like to implement a find and replace function that will replace a specific string in all of the Elements inside the canvas.
-
Is there any good way to edit items that are dependent on Js for example collapsibles like Accordion or even a Carousel Element. I would like to detect and trigger the accordion event on Canvas in order to edit the hidden content. Is there anyway to maybe find items which have specific types of event listeners and then activate them on click/keymap etc.. Another option is to open a modal with the hidden content for edit and edit through the modal.
Help will be appreciated =)
Ok I Managed to solve the 1st problem. I used get components and recursively iterated on the tree. When I finished I used the DomComponents.render()
Still looking for some direction regarding the 2nd question
Ok I think I also managed to figure out the 2nd question. I injected to the Canvas JQuery script which made the Accordions and Sliders Behave as expected.
Hi @Amir2828 , Can you tell me about the accordion? Can you give a small example?
Hi @Amir2828 Could you please help with a guide on accordion and carousel. Thank you