fix: remove default types for textAlign extension, fix #1430

There are no default types for TextAlign extension anymore. You have to configure by yourself. Usually something like:

```js
TextAlign.configure({
  types: ['heading', 'paragraph'],
})
```
This commit is contained in:
Philipp Kühn
2021-06-18 12:33:18 +02:00
parent 081b93bfae
commit b4e41afd17
4 changed files with 14 additions and 10 deletions

View File

@@ -45,7 +45,9 @@ export default {
Paragraph,
Text,
Heading,
TextAlign,
TextAlign.configure({
types: ['heading', 'paragraph'],
}),
],
content: `
<h2>Heading</h2>