mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
Only unregister WT string handler in WT handler factory
Bug: T144653 Change-Id: I91528b56ac3905a05e8da51455055537958e026e
This commit is contained in:
parent
5bc54fd036
commit
d8fb7b84d3
|
@ -67,5 +67,3 @@ ve.ce.MWWikitextSurface.prototype.onCopy = function ( e ) {
|
|||
} );
|
||||
}
|
||||
};
|
||||
|
||||
ve.ui.dataTransferHandlerFactory.unregister( ve.ui.MWWikitextStringTransferHandler );
|
||||
|
|
|
@ -65,3 +65,5 @@ ve.ui.MWWikitextDataTransferHandlerFactory.prototype.create = function () {
|
|||
/* Initialization */
|
||||
|
||||
ve.ui.wikitextDataTransferHandlerFactory = new ve.ui.MWWikitextDataTransferHandlerFactory();
|
||||
|
||||
ve.ui.wikitextDataTransferHandlerFactory.unregister( ve.ui.MWWikitextStringTransferHandler );
|
||||
|
|
Loading…
Reference in a new issue