Skip to content

Commit

Permalink
Merge pull request #5089 from nextcloud/backport/4721/stable27
Browse files Browse the repository at this point in the history
[stable27] fix: Use proper value for checking if editable
  • Loading branch information
mejo- authored Dec 5, 2023
2 parents a486307 + 8ab4ebe commit c6557e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nodes/CodeBlockView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</div>
</div>
<div :class="{'split-view': showCode && showPreview }">
<pre v-show="showCode" class="split-view__code"><NodeViewContent as="code" :contenteditable="editable" /></pre>
<pre v-show="showCode" class="split-view__code"><NodeViewContent as="code" :contenteditable="isEditable" /></pre>
<div v-show="showPreview"
ref="preview"
class="split-view__preview"
Expand Down

0 comments on commit c6557e6

Please sign in to comment.