Disable drag-and-drop of non-media content in Firefox until we support that


Article Images

VisualEditor: Disable drag-and-drop of non-media content in Firefox until we support that

Event Timeline

JohnCD67 wrote:

This only happens with drag-and-drop. VE will let you save a text rearrangement done with Ctrl-X, Ctrl-V, or Right-click/Cut, Right-click/Paste.

Bug 49981 is about actually supporting this; until we do, we should disable it appearing to try to work in Firefox, only to not do so (because it's disabled).

fwiw I'm using Firefox and... it seems to work? The first post is not very descriptive so I don't know what to test. Happy to help.

The drag-and-drop operation previously had the appearance of being successful, in that the text would change to the dropped position. After the text was moved, the save button wasnt enabled.

Now the text can only be picked up and dragged around, but the text move operation is cancelled when the text is dropped.

The bug has been fixed, and I am closing as such. Probably as part of another piece of related work.

For bonus points, VE shouldnt allow the text to be picked up and dragged. I've opened that as an enhancement bug 54757.

Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits