From e69e8a5044d82f68fe2edabe2b0445609a0b8843 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 2 Nov 2022 18:09:26 +0100 Subject: [PATCH] Allow to configure editor heading levels and set level 2 as start for posts Signed-off-by: Thomas Citharel --- js/src/components/TextEditor.vue | 48 ++++++++++++++++++++++++++------ js/src/views/Posts/EditView.vue | 1 + js/src/views/Posts/PostView.vue | 2 +- 3 files changed, 42 insertions(+), 9 deletions(-) diff --git a/js/src/components/TextEditor.vue b/js/src/components/TextEditor.vue index a532a19b0..953d88740 100644 --- a/js/src/components/TextEditor.vue +++ b/js/src/components/TextEditor.vue @@ -44,8 +44,18 @@