0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

Add dragover and drop to custom events list

Since these are fired by the clipboard handler.
This commit is contained in:
Neil Jenkins 2016-03-30 13:23:47 +11:00
parent 5b4aa6b764
commit ed44d72ca7
3 changed files with 6 additions and 4 deletions

View file

@ -2406,7 +2406,8 @@ proto.getRoot = function () {
// document node, since these events are fired in a custom manner by the
// editor code.
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 ) {

File diff suppressed because one or more lines are too long

View file

@ -200,7 +200,8 @@ proto.getRoot = function () {
// document node, since these events are fired in a custom manner by the
// editor code.
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 ) {