Few Questions
Question
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 =)
Answers (3)
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?
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3287
QUESTION: Wrapper styling
First of all, congrats @artf for this amazing project 💯 I am currently working on a project and I wanted to ask if I can edit the wrapper...
Issue #428
Change the background of the body
Hello, First of all, I want to thank you for this amazing project! I have few a questions regarding the editor, and more precisely the news...
Issue #2482
How do I change the name of the default component?
I noticed everywhere in the canvas "Box" is the term for the default container. I'd like to change that I found the customLabel strategy fu...
Issue #1587
How to distinguish events for custom components
Hi, I have an issue with events. I would like to distinguish events wwhen a component is loaded using 'fromElement' config from when it's l...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.