chore(editor): format

This commit is contained in:
kolaente 2023-10-21 10:53:41 +02:00
parent 4f3efe4454
commit 0772acbead
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 45 additions and 44 deletions

View File

@ -123,6 +123,7 @@ function onImageAdded() {
type CacheKey = `${ITask['id']}-${IAttachment['id']}`
const loadedAttachments = ref<{ [key: CacheKey]: string }>({})
function loadImages() {
const attachmentImage = document.querySelectorAll<HTMLImageElement>('.tiptap__editor img')
const attachmentService = new AttachmentService()
@ -277,7 +278,7 @@ onBeforeUnmount(() => editor.value?.destroy())
pre {
background: #0d0d0d;
color: #fff;
font-family: "JetBrainsMono", monospace;
font-family: 'JetBrainsMono', monospace;
padding: 0.75rem 1rem;
border-radius: 0.5rem;
@ -292,7 +293,7 @@ onBeforeUnmount(() => editor.value?.destroy())
pre {
background: #0d0d0d;
color: #fff;
font-family: "JetBrainsMono", monospace;
font-family: 'JetBrainsMono', monospace;
padding: 0.75rem 1rem;
border-radius: 0.5rem;
@ -409,7 +410,7 @@ onBeforeUnmount(() => editor.value?.destroy())
.selectedCell:after {
z-index: 2;
position: absolute;
content: "";
content: '';
left: 0;
right: 0;
top: 0;
@ -458,7 +459,7 @@ onBeforeUnmount(() => editor.value?.destroy())
}
// tasklist
ul[data-type="taskList"] {
ul[data-type='taskList'] {
list-style: none;
padding: 0;
margin-left: 0;
@ -477,7 +478,7 @@ ul[data-type="taskList"] {
}
}
input[type="checkbox"] {
input[type='checkbox'] {
cursor: pointer;
}
}