Allow to configure editor heading levels and set level 2 as start for posts

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-11-02 18:09:26 +01:00
parent 3ddf360e11
commit e69e8a5044
3 changed files with 42 additions and 9 deletions

View File

@@ -43,6 +43,7 @@
:aria-label="t('Post body')"
:current-actor="currentActor"
:placeholder="t('Write your post')"
:headingLevel="[2, 3, 4]"
/>
</o-field>
<h2 class="mt-2">{{ t("Who can view this post") }}</h2>

View File

@@ -111,7 +111,7 @@
"
>
<router-link
class="flex gap-1 whitespace-nowrap"
class="flex gap-1 whitespace-nowrap flex-1"
:to="{
name: RouteName.POST_EDIT,
params: { slug: post.slug },