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
After some digging I found that the onDragStart method within block-reorder.js creates a cloned element, however if the block is an embed, then the process never completes, so st-block--dragging class is never removed from the block and it looks like its crashed.
The following method seems to work perfectly without generating the text preview:
onDragStart: function onDragStart(ev) {
var block = this.block;
ev.dataTransfer.setData("text/plain", this.blockId());
this.mediator.trigger("block-controls:hide");
EventBus.trigger("block:reorder:dragstart");
},
The text was updated successfully, but these errors were encountered:
After some digging I found that the
onDragStart
method withinblock-reorder.js
creates a cloned element, however if the block is an embed, then the process never completes, sost-block--dragging
class is never removed from the block and it looks like its crashed.The following method seems to work perfectly without generating the text preview:
The text was updated successfully, but these errors were encountered: