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
The selection of the preview iframe is causing issues because it is too vague. Currently, it uses document.querySelector("iframe"), which can lead to collisions and unexpected behavior if the user has other iframes on the same page where the editor is rendered.
Steps to Reproduce
Add an iframe with an external domain as the src on the same page where the editor is being rendered.
Navigate to the editor in the browser and open the console.
Attempt to drag and drop a component.
What Happens
The component cannot be dragged and dropped, and multiple error messages appear when moving the mouse across the screen.
Expected Behavior
The editor should not collide with other iframes and should allow users to drag and drop components or use it seamlessly, regardless of other content rendered on the same page.
Screenshot:
The text was updated successfully, but these errors were encountered:
Description
The selection of the preview iframe is causing issues because it is too vague. Currently, it uses
document.querySelector("iframe")
, which can lead to collisions and unexpected behavior if the user has other iframes on the same page where the editor is rendered.Steps to Reproduce
src
on the same page where the editor is being rendered.What Happens
The component cannot be dragged and dropped, and multiple error messages appear when moving the mouse across the screen.
Expected Behavior
The editor should not collide with other iframes and should allow users to drag and drop components or use it seamlessly, regardless of other content rendered on the same page.
Screenshot:
![Image](https://private-user-images.githubusercontent.com/57616024/410049105-17414f71-04cb-4f4b-8a60-abb54dbac9c6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDc1OTMsIm5iZiI6MTczOTM0NzI5MywicGF0aCI6Ii81NzYxNjAyNC80MTAwNDkxMDUtMTc0MTRmNzEtMDRjYi00ZjRiLThhNjAtYWJiNTRkYmFjOWM2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA4MDEzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM4N2NmMjIwMDgzMmUwZDI2NTczNGEzNzAzNDQ2MzgyNWIyZmFmMTIyZTAwYmU1Y2JmMWJkOTdmNDQ3YzZlZTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.K53GGyS8eZGTiHIFKse96DqYfL9oGpeLnF_bzuuVJ3U)
The text was updated successfully, but these errors were encountered: