Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onDragStart cannot move iframes/embeds #550

Closed
wants to merge 2 commits into from
Closed

onDragStart cannot move iframes/embeds #550

wants to merge 2 commits into from

Conversation

prdanelli
Copy link

I am not entirely sure of the underlying issues which cause video/iframe/embed blocks to cause ST onDragStart to fail before completing the block drag event, however it affects all iframes, even the Video block that comes with ST by default. The st-drag-element class is added to the element, but then all handles are removed and the element is rendered without content.

By removing the following lines of code the user is still able to see where the block is being moved to and the drag event is able to finish successfully with all blocks, text, video, custom iframe.

This PR is related to #549

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant