fix: ATTR_ENUMERATED_COERCION errors with editor and contenteditable

This commit is contained in:
kolaente 2021-10-17 22:05:23 +02:00
parent c1a981c60b
commit 3ba9cd2d99
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 3 additions and 3 deletions

View file

@ -66,7 +66,7 @@
</transition> </transition>
</div> </div>
<editor <editor
:has-preview="true" :hasPreview="true"
:is-edit-enabled="canWrite" :is-edit-enabled="canWrite"
:upload-callback="attachmentUpload" :upload-callback="attachmentUpload"
:upload-enabled="true" :upload-enabled="true"
@ -110,7 +110,7 @@
taskCommentService.loading && taskCommentService.loading &&
!isCommentEdit, !isCommentEdit,
}" }"
:has-preview="false" :hasPreview="false"
:upload-callback="attachmentUpload" :upload-callback="attachmentUpload"
:upload-enabled="true" :upload-enabled="true"
:placeholder="$t('task.comment.placeholder')" :placeholder="$t('task.comment.placeholder')"

View file

@ -50,7 +50,7 @@
@blur="saveBucketTitle(bucket.id, $event.target.textContent)" @blur="saveBucketTitle(bucket.id, $event.target.textContent)"
@click="focusBucketTitle" @click="focusBucketTitle"
class="title input" class="title input"
:contenteditable="bucketTitleEditable && canWrite && !collapsedBuckets[bucket.id]" :contenteditable="(bucketTitleEditable && canWrite && !collapsedBuckets[bucket.id]) || null"
:spellcheck="false">{{ bucket.title }}</h2> :spellcheck="false">{{ bucket.title }}</h2>
<span <span
:class="{'is-max': bucket.tasks.length >= bucket.limit}" :class="{'is-max': bucket.tasks.length >= bucket.limit}"