Skip to content

Commit

Permalink
fix(CodeBlock): Fix visibleFocus and pasting in code blocks
Browse files Browse the repository at this point in the history
Fixes: #5695

The `tabindex` was introduced with commit 2c9e7a0, but I was not able to
reproduce a problem with tab navigation and/or focus trap after removing
it.

Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- authored and backportbot[bot] committed Sep 13, 2024
1 parent c04caee commit 85e7df1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/nodes/CodeBlockView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
<div :class="{'split-view': showCode && showPreview }">
<pre v-show="showCode" class="split-view__code"><NodeViewContent spellcheck="false"
as="code"
tabindex="-1"
:contenteditable="isEditable" /></pre>
<div v-show="showPreview"
ref="preview"
Expand Down

0 comments on commit 85e7df1

Please sign in to comment.