Skip to content

Commit

Permalink
fix(wysiwyg-tiptap): add editor focus on content-wrapper click (#2418)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimBlanchard authored Feb 5, 2024
1 parent 663ce4a commit c4e0a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/js/components/WysiwygTiptap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
</template>

</div>
<div class="wysiwyg__contentWrapper" :class="{ 'wysiwyg__contentWrapper--limitHeight' : limitHeight }">
<div class="wysiwyg__contentWrapper" :class="{ 'wysiwyg__contentWrapper--limitHeight' : limitHeight }" @click="editor.chain().focus()">
<editor-content class="wysiwyg__content"
:editor="editor"/>
</div>
Expand Down

0 comments on commit c4e0a54

Please sign in to comment.