mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 15:23:29 -05:00
Position paste area further off screen to hide IE handlebars
Fixes #84.
This commit is contained in:
parent
60169dce6b
commit
ae7d93a8fe
3 changed files with 3 additions and 3 deletions
|
@ -3105,7 +3105,7 @@ proto._onPaste = function ( event ) {
|
|||
style: 'position: absolute; overflow: hidden; top:' +
|
||||
( body.scrollTop +
|
||||
( startBlock ? startBlock.getBoundingClientRect().top : 0 ) ) +
|
||||
'px; left: 0; width: 1px; height: 1px;'
|
||||
'px; right: 150%; width: 1px; height: 1px;'
|
||||
});
|
||||
body.appendChild( pasteArea );
|
||||
range.selectNodeContents( pasteArea );
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1673,7 +1673,7 @@ proto._onPaste = function ( event ) {
|
|||
style: 'position: absolute; overflow: hidden; top:' +
|
||||
( body.scrollTop +
|
||||
( startBlock ? startBlock.getBoundingClientRect().top : 0 ) ) +
|
||||
'px; left: 0; width: 1px; height: 1px;'
|
||||
'px; right: 150%; width: 1px; height: 1px;'
|
||||
});
|
||||
body.appendChild( pasteArea );
|
||||
range.selectNodeContents( pasteArea );
|
||||
|
|
Loading…
Reference in a new issue