feat: articles format option with markdown new default
This commit is contained in:
1 parent
68401d66e0
commit
7e9bd9ba30
61 files changed
+2269
-243
No files matched your search
@@ -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'],
|
||||
})
|
||||
Reference in new issue
Block a user