Merge pull request #1599 from danyaPostfactum/nativednd
Use native HTML5 Drag'n'Drop for text.
This commit is contained in:
commit
ee95161972
10 changed files with 513 additions and 289 deletions
|
|
@ -1327,7 +1327,7 @@ var EditSession = function(text, mode) {
|
|||
}
|
||||
}
|
||||
|
||||
this.insert(toRange.start, text);
|
||||
toRange.end = this.insert(toRange.start, text);
|
||||
if (folds.length) {
|
||||
var oldStart = fromRange.start;
|
||||
var newStart = toRange.start;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue