Issue #2065Opened June 5, 2019by Amir28280 reactions

Few Questions

Question

First of all, Amazing project thumbs up to everybody involved.

I have a couple of questions:

  1. 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.

  2. 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 =)

Answers (3)

Amir2828June 6, 20190 reactions

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

Amir2828June 11, 20190 reactions

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.

Amitkumar85533November 7, 20190 reactions

Hi @Amir2828 , Can you tell me about the accordion? Can you give a small example?

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.