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
feat: disable spellcheck inside code blocks
Signed-off-by: Luka Trovic <[email protected]>
  • Loading branch information
luka-nextcloud authored and backportbot[bot] committed Apr 20, 2024
commit 82808f082259eae442aeb38a6b69ceb6f7cdf1c4
5 changes: 4 additions & 1 deletion src/nodes/CodeBlockView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@
</div>
</div>
<div :class="{'split-view': showCode && showPreview }">
<pre v-show="showCode" class="split-view__code"><NodeViewContent as="code" tabindex="-1" :contenteditable="isEditable" /></pre>
<pre v-show="showCode" class="split-view__code"><NodeViewContent spellcheck="false"
as="code"
tabindex="-1"
:contenteditable="isEditable" /></pre>
<div v-show="showPreview"
ref="preview"
class="split-view__preview"
Expand Down