Add component to specific point on the cavnas
Question
I'm adding a new component to the canvas using editor.addComponents({ ... }); but it's always added as the last element, to the bottom of the canvas. Is there a way to insert it at a specific point on the canvas?
All my components are rows, so ideally I'd like to insert components by index.
Thanks, T
Answers (0)
No answers yet.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1982
[QUESTIONS] addcomponent after the selected component
how do I make it possible to add new components after the component I selected, at this time I use editor.DomComponents.addComponent (block...
Issue #1875
[QUESTION] ID changes when importing html or passing html in components prop in config.
Hi, I built a component and block that I can drag and drop in the canvas. My issue is that some styles rely on the ID. I know this might no...
Issue #1951
[QUESTIONS] change or add event on add component from block
is it possible ?, change the drag and drop event to on click when adding a new component, I want to add components by clicking the block th...
Issue #1863
Adding new components to Block Manager
I'm trying to add multiple components which are in my canvas into the block manager but I believe because of an id issue they're not visibl...
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.