mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-24 15:49:59 +08:00
Started attachment drag/drop
Currently fighting between sortable and tinymce mechanisms which prevent this working due to the different events stopping the drop event while needing the dragover for cursor placement.
This commit is contained in:
@ -639,6 +639,7 @@ class WysiwygEditor {
|
||||
});
|
||||
|
||||
editor.on('drop', function (event) {
|
||||
console.log('drop')
|
||||
let dom = editor.dom,
|
||||
rng = tinymce.dom.RangeUtils.getCaretRangeFromPoint(event.clientX, event.clientY, editor.getDoc());
|
||||
|
||||
|
Reference in New Issue
Block a user