mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Update node when it's attributes are changed
This commit is contained in:
parent
b1f54c5ae5
commit
909b3674be
|
@ -424,6 +424,8 @@ es.TransactionProcessor.prototype.attribute = function( op, invert ) {
|
|||
} else {
|
||||
throw 'Invalid method error. Can not operate attributes this way: ' + method;
|
||||
}
|
||||
var node = this.model.getNodeFromOffset( this.cursor + 1 );
|
||||
node.emit( 'update' );
|
||||
};
|
||||
|
||||
es.TransactionProcessor.prototype.mark = function( op, invert ) {
|
||||
|
|
Loading…
Reference in a new issue