0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2025-02-22 14:56:23 -05:00

insertElement should register as input for older browsers

This commit is contained in:
Andy Kauffman 2016-05-02 13:47:39 -04:00
parent 0f361d69c6
commit 64ee5db293
3 changed files with 12 additions and 2 deletions

View file

@ -3732,6 +3732,11 @@ proto.insertElement = function ( el, range ) {
this.focus();
this.setSelection( range );
this._updatePath( range );
if ( !canObserveMutations ) {
this._docWasChanged();
}
return this;
};

File diff suppressed because one or more lines are too long

View file

@ -1518,6 +1518,11 @@ proto.insertElement = function ( el, range ) {
this.focus();
this.setSelection( range );
this._updatePath( range );
if ( !canObserveMutations ) {
this._docWasChanged();
}
return this;
};