Skip to content

Commit

Permalink
fix: Skip editor container and file upload input during keyboard navi…
Browse files Browse the repository at this point in the history
…gation

Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr authored and backportbot-nextcloud[bot] committed Jan 10, 2024
1 parent 851e352 commit f06ef0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<div id="editor-container"
data-text-el="editor-container"
class="text-editor"
tabindex="-1"
@keydown.stop="onKeyDown">
<DocumentStatus v-if="displayedStatus"
:idle="idle"
Expand Down
1 change: 1 addition & 0 deletions src/components/Editor/MediaHandler.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
@dragleave.prevent.stop="setDraggedOver(false)"
@file-drop="onEditorDrop">
<input ref="attachmentFileInput"
tabindex="-1"
data-text-el="attachment-file-input"
type="file"
accept="*/*"
Expand Down

0 comments on commit f06ef0e

Please sign in to comment.