Make elements not selectable by default

This commit is contained in:
Joscha 2025-02-15 12:42:42 +01:00
parent d3a18893de
commit 5a244e585f
6 changed files with 8 additions and 6 deletions

View file

@ -217,7 +217,10 @@ async function onInsertEditorCopy(): Promise<void> {
@close="onEditEditorClose"
@finish="onEditEditorFinish"
/>
<div v-else-if="note && note.text.trim().length > 0" class="whitespace-pre-wrap px-1">
<div
v-else-if="note && note.text.trim().length > 0"
class="select-auto whitespace-pre-wrap px-1"
>
{{ note.text }}
</div>
<div v-else-if="note" class="px-1 font-light italic">empty</div>