You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2024. It is now read-only.
I'm having problems with nested items. In my example they are always allowed. Because of the dnd-allowed-types on the child dnd-list, a block element shouldn't be added to a layout element. It happens anyway though, because of the parent dnd-allowed-types interference?
I'm having problems with nested items. In my example they are always allowed. Because of the dnd-allowed-types on the child dnd-list, a block element shouldn't be added to a layout element. It happens anyway though, because of the parent dnd-allowed-types interference?
Example:
http://codepen.io/baaaaas/pen/fcdlA?editors=101
I tried:
Dirty fix in directive while adding dropped element:
if(element.hasClass("blocks") && transferredObject.type == "layout"){
gridArray.splice(placeholderIndex, 0, transferredObject);
} else {
targetArray.splice(placeholderIndex, 0, transferredObject);
}
Please help, I don't want to use the dirty fix.
The text was updated successfully, but these errors were encountered: