feat: add markdown support to cookbook page description (#8700)
Co-authored-by: JD-8678 <julianatproton@proton.me>
This commit is contained in:
1 parent
04fb3b98d0
commit
be60044ab9
2 files changed
+3
-3
No files matched your search
@@ -12,6 +12,7 @@
|
||||
:submit-text="$t('general.save')"
|
||||
:submit-disabled="!editTarget.queryFilterString"
|
||||
can-submit
|
||||
disable-submit-on-enter
|
||||
@submit="editCookbook"
|
||||
>
|
||||
<v-card-text>
|
||||
@@ -45,9 +46,7 @@
|
||||
@download-pdf="downloadPdf"
|
||||
/>
|
||||
</div>
|
||||
<div v-if="book.description" class="subtitle-1 text-grey-lighten-1 mb-2">
|
||||
{{ book.description }}
|
||||
</div>
|
||||
<SafeMarkdown v-if="book.description" :source="book.description" class="subtitle-1 text-grey-lighten-1 mb-2" />
|
||||
</v-sheet>
|
||||
|
||||
<v-container class="pa-0">
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
:submit-text="$t('general.save')"
|
||||
:submit-disabled="!createTarget.queryFilterString"
|
||||
can-submit
|
||||
disable-submit-on-enter
|
||||
@submit="actions.updateOne(createTarget)"
|
||||
@cancel="deleteCreateTarget()"
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user