mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-26 19:56:49 +00:00
Getting rid of ve.splitClusters in ve-mw
Bug: 57628 Change-Id: I28cb52bd2af564f208b9414154977c351f5c3fcb
This commit is contained in:
parent
1af18c3c12
commit
0bb6d3b333
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue