feat: articles format option with markdown new default

This commit is contained in:
fsylvain committed 2026-10-04 19:04:12 +02:00
1 parent 68401d66e0
commit 7e9bd9ba30
61 files changed
+2269 -243

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
import TextAlign from '@tiptap/extension-text-align'
export const ALIGN_TYPES = ['heading', 'paragraph']
export const ArticleTextAlign = TextAlign.configure({
types: ALIGN_TYPES,
alignments: ['left', 'center', 'right', 'justify'],
})