1 | /**
|
2 | * Copyright (c) Facebook, Inc. and its affiliates.
|
3 | *
|
4 | * This source code is licensed under the MIT license found in the
|
5 | * LICENSE file in the root directory of this source tree.
|
6 | *
|
7 | * @format
|
8 | *
|
9 | * @emails oncall+draft_js
|
10 | */
|
11 | ;
|
12 |
|
13 | /**
|
14 | * Drag behavior has begun from outside the editor element.
|
15 | */
|
16 | function editOnDragOver(editor, e) {
|
17 | editor.setMode('drag');
|
18 | e.preventDefault();
|
19 | }
|
20 |
|
21 | module.exports = editOnDragOver; |
\ | No newline at end of file |