extension name is required now

This commit is contained in:
Philipp Kühn
2020-12-02 09:44:46 +01:00
parent 143b309bdf
commit 88f89df479
13 changed files with 25 additions and 1 deletions

View File

@@ -7,6 +7,8 @@ type TextAlignOptions = {
}
const TextAlign = Extension.create({
name: 'textAlign',
defaultOptions: <TextAlignOptions>{
types: ['heading', 'paragraph'],
alignments: ['left', 'center', 'right', 'justify'],