mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
Fix pasting plain text when not first item
This commit is contained in:
parent
0b72f29ce5
commit
801388222d
3 changed files with 3 additions and 3 deletions
|
@ -2263,7 +2263,7 @@ var onPaste = function ( event ) {
|
|||
});
|
||||
}
|
||||
} else if ( plainItem ) {
|
||||
item.getAsString( function ( text ) {
|
||||
plainItem.getAsString( function ( text ) {
|
||||
self.insertPlainText( text, true );
|
||||
});
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -138,7 +138,7 @@ var onPaste = function ( event ) {
|
|||
});
|
||||
}
|
||||
} else if ( plainItem ) {
|
||||
item.getAsString( function ( text ) {
|
||||
plainItem.getAsString( function ( text ) {
|
||||
self.insertPlainText( text, true );
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue