Unable to drag cell inside row
Question
@artf Could you please take a look at this.
On deleting a cell and trying to add a new cell from the blocks manager, it gives the following error: "Invalid target position: Target collection not found, Target is not droppable, accepts [undefined], Component not draggable, acceptable by [undefined]".
These are my cell and row components:
comps.addType("cell", {
isComponent: el => el.tagName == "TD",
model: cellType.model.extend({
defaults: {
...cellType.model.prototype.defaults,
name: 'mycell',
draggable: ['tr'],
droppable: true,
resizable: true,
removable: true,
select: true,
})
});
comps.addType("row", {
isComponent: el => el.tagName == "TR",
model: rowType.model.extend({
defaults: {
...rowType.model.prototype.defaults,
name: 'myrow',
draggable: ['tbody'],
droppable : ['td'],
resizable: true,
select: true,
highlightable: true
},
})
});
The cell gets added if I drag it over another cell. How can I add the cell if I drag it over the empty space in row element.
Please see attached gif.
Answers (2)
Please, create a reproducible demo of your issue
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3058
How to modify existing block properties in style manager
Version: 0.15.9 How to modify/remove few CSS properties for existing blocks like(text, image) in style manager I have checked the following...
Issue #2228
Target collection not found
@artf, could we please get the Invalid target position: Target collection not found, Target is not droppable, accepts [undefined], Componen...
Issue #2812
[BUG]: Cannot place button
Hello. In the latest version it is not possible to drag and drop a button. It gives this error: `Invalid target position: Target collection...
Issue #3323
QUESTION: increase the padding of layer item
Hi! I am trying to increase the value of the padding-left in the layer manager. I've found the file where this is happening but honestly I...
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.