Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(CodeBlock): Fix visibleFocus and pasting in code blocks
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- committed Sep 14, 2024
commit cdeac4370b829f08a92956a9846c011809d10f5b
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