mirror of
https://github.com/fastmail/Squire.git
synced 2025-01-03 13:16:31 -05:00
Add dragover and drop to custom events list
Since these are fired by the clipboard handler.
This commit is contained in:
parent
5b4aa6b764
commit
ed44d72ca7
3 changed files with 6 additions and 4 deletions
|
@ -2406,7 +2406,8 @@ proto.getRoot = function () {
|
||||||
// document node, since these events are fired in a custom manner by the
|
// document node, since these events are fired in a custom manner by the
|
||||||
// editor code.
|
// editor code.
|
||||||
var customEvents = {
|
var customEvents = {
|
||||||
pathChange: 1, select: 1, input: 1, undoStateChange: 1
|
pathChange: 1, select: 1, input: 1, undoStateChange: 1,
|
||||||
|
dragover: 1, drop: 1
|
||||||
};
|
};
|
||||||
|
|
||||||
proto.fireEvent = function ( type, event ) {
|
proto.fireEvent = function ( type, event ) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -200,7 +200,8 @@ proto.getRoot = function () {
|
||||||
// document node, since these events are fired in a custom manner by the
|
// document node, since these events are fired in a custom manner by the
|
||||||
// editor code.
|
// editor code.
|
||||||
var customEvents = {
|
var customEvents = {
|
||||||
pathChange: 1, select: 1, input: 1, undoStateChange: 1
|
pathChange: 1, select: 1, input: 1, undoStateChange: 1,
|
||||||
|
dragover: 1, drop: 1
|
||||||
};
|
};
|
||||||
|
|
||||||
proto.fireEvent = function ( type, event ) {
|
proto.fireEvent = function ( type, event ) {
|
||||||
|
|
Loading…
Reference in a new issue