I embed an iframe in the ui html to support hot update, but when I drag and drop, e.clientX and e.clientY have a little problem. Is there a way to get the location information of the UI plugin.
issue: The drag event happens inside my nested iframe, clientX and clientY are calculated relative to the superior iframe (Inner Plugin Iframe), this value seems to be wrong. I may need to add this value to the UI plugin’s location.
If you don’t embed the iframe but write the drag and drop code directly in the ui html, it will work.