fix: use editable instead of readonly

This commit is contained in:
Shariq Ansari 2023-08-26 20:58:56 +05:30
parent 7335def7c3
commit aaab61554d
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@
<TextEditor
v-if="note.content"
:content="note.content"
:options="{ readOnly: true }"
:editable="false"
editor-class="!prose-sm max-w-none !text-sm text-gray-600 focus:outline-none"
class="flex-1 overflow-hidden"
/>

View File

@ -40,7 +40,7 @@
<TextEditor
v-if="note.content"
:content="note.content"
:options="{ readOnly: true }"
:editable="false"
editor-class="!prose-sm max-w-none !text-sm text-gray-600 focus:outline-none"
class="flex-1 overflow-hidden"
/>