Skip to content

Commit

Permalink
Ensure pasting content in quill do not make editor scroll to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
mazeeblanke committed Jul 14, 2021
1 parent 9ead6d5 commit 07f7aa0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions frontend/js/components/Wysiwyg.vue
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,14 @@
text-decoration: underline $color__link;
}
// Ensure pasting content do not make editor scroll to the top
.ql-clipboard {
position: fixed;
display: none;
left: 50%;
top: 50%;
}
.ql-snow.ql-toolbar {
padding: 13px 8px;
Expand Down

0 comments on commit 07f7aa0

Please sign in to comment.