Issue #3033153 by DanielVeza, bnjmnm, smustgrave: Contextual links can be used to drag and drop Layout Blocks
parent
ecac251678
commit
41a731d7d3
|
@ -166,6 +166,7 @@
|
||||||
draggable: '.js-layout-builder-block',
|
draggable: '.js-layout-builder-block',
|
||||||
ghostClass: 'ui-state-drop',
|
ghostClass: 'ui-state-drop',
|
||||||
group: 'builder-region',
|
group: 'builder-region',
|
||||||
|
filter: '.contextual',
|
||||||
onEnd: (event) =>
|
onEnd: (event) =>
|
||||||
Drupal.layoutBuilderBlockUpdate(event.item, event.from, event.to),
|
Drupal.layoutBuilderBlockUpdate(event.item, event.from, event.to),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue