mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
prevent dragging and dropping text - can be removed later if operation supported via model
This commit is contained in:
parent
0575db24f7
commit
7053e0517c
Notes:
christian
2012-02-27 21:56:56 +00:00
|
@ -46,6 +46,11 @@ ve.es.Surface = function( $container, model ) {
|
|||
return _this.onMouseDown( e );
|
||||
} );
|
||||
|
||||
// Prevent dragging text
|
||||
this.$.bind('dragover drop', function(e) {
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
/*
|
||||
this.model.getDocument().on( 'update', function() {
|
||||
_this.emitUpdate( 25 );
|
||||
|
|
Loading…
Reference in a new issue