Commit 1bc753c 1 parent 4641b35 commit 1bc753c Copy full SHA for 1bc753c
File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -396,7 +396,8 @@ MM.Item.prototype.fromJSON = function(data) {
396
396
397
397
MM . Item . prototype . mergeWith = function ( data ) {
398
398
var dirty = 0 ;
399
- if ( this . getText ( ) != data . text ) { this . setText ( data . text ) ; }
399
+
400
+ if ( this . getText ( ) != data . text && ! this . _dom . text . contentEditable ) { this . setText ( data . text ) ; }
400
401
401
402
if ( this . _side != data . side ) {
402
403
this . _side = data . side ;
Original file line number Diff line number Diff line change @@ -107,7 +107,8 @@ MM.Item.prototype.fromJSON = function(data) {
107
107
108
108
MM . Item . prototype . mergeWith = function ( data ) {
109
109
var dirty = 0 ;
110
- if ( this . getText ( ) != data . text ) { this . setText ( data . text ) ; }
110
+
111
+ if ( this . getText ( ) != data . text && ! this . _dom . text . contentEditable ) { this . setText ( data . text ) ; }
111
112
112
113
if ( this . _side != data . side ) {
113
114
this . _side = data . side ;
You can’t perform that action at this time.
0 commit comments