Remove paragraph unwrapping, moved to parent class

Depends on Ib04234f740 in VisualEditor.

Change-Id: I542f9e73f5fe3713a91ca5794d175936d873038d
This commit is contained in:
Ed Sanders 2015-03-23 15:54:13 +00:00 committed by Jforrester
parent be96c3d5e0
commit cc1009dc0d
1 changed files with 3 additions and 10 deletions

View File

@ -43,16 +43,9 @@ ve.ce.MWMathNode.prototype.onSetup = function () {
this.$element.addClass( 've-ce-mwMathNode' );
};
/** */
ve.ce.MWMathNode.prototype.onParseSuccess = function ( deferred, response ) {
var data = response.visualeditor, contentNodes = this.$( data.content ).get();
if ( contentNodes[0] && contentNodes[0].childNodes ) {
contentNodes = Array.prototype.slice.apply( contentNodes[0].childNodes );
}
deferred.resolve( contentNodes );
};
/** */
/**
* @inheritdoc
*/
ve.ce.MWMathNode.prototype.afterRender = function () {
var $img,
node = this;