Getting rid of ve.splitClusters in ve-mw

Bug: 57628
Change-Id: I28cb52bd2af564f208b9414154977c351f5c3fcb
This commit is contained in:
suchetag 2014-10-08 10:22:26 +05:30 committed by SuchetaG
parent 1af18c3c12
commit 0bb6d3b333

View file

@ -128,7 +128,7 @@ ve.ui.MWLinkNodeInspector.prototype.getTeardownProcess = function ( data ) {
} );
annotations = doc.data.getAnnotationsFromOffset( nodeRange.start ).clone();
annotations.push( annotation );
content = ve.splitClusters( value );
content = value.split( '' );
ve.dm.Document.static.addAnnotationsToData( content, annotations );
surfaceModel.change(
ve.dm.Transaction.newFromReplacement( doc, nodeRange, content )