mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
f38bb2c653
Currently, any default drop effect is "move" on editable content even when the editor cannot remove the source element (e.g., outside of any editing host). The drop effect is initialized by `nsContentUtils::SetDataTransferInEvent()` which is called when `EditorEventListener::CanDrop()` and it returns true. However, it requires unnecessary cost if we make `nsContentUtils` check whether the dragging element is removable. Therefore, we should make `EditorEventListener` overwrites it with checking whether the source node is editable or not. Differential Revision: https://phabricator.services.mozilla.com/D57446 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
composer | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorObserver.idl | ||
nsIEditorSpellCheck.idl | ||
nsIEditorStyleSheets.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsIPlaintextEditor.idl | ||
nsITableEditor.idl |