update content, add text align justify

This commit is contained in:
Hans Pagel
2020-11-03 16:13:13 +01:00
parent 3a79b8c564
commit 9bcdb57f14
13 changed files with 110 additions and 145 deletions

View File

@@ -9,7 +9,7 @@ type TextAlignOptions = {
const TextAlign = createExtension({
defaultOptions: <TextAlignOptions>{
types: ['heading', 'paragraph'],
alignments: ['left', 'center', 'right'],
alignments: ['left', 'center', 'right', 'justify'],
defaultAlignment: 'left',
},