0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2025-01-03 05:00:13 -05:00

Merge pull request #187 from InteractiveIntelligence/insertElement-input-for-old-browsers

insertElement should register as input for older browsers
This commit is contained in:
Neil Jenkins 2016-05-05 11:29:00 +10:00
commit bcb24f1865
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;
};