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:
@@ -63,7 +63,9 @@ export default {
|
||||
this.editor = new Editor({
|
||||
extensions: [
|
||||
StarterKit,
|
||||
TextAlign,
|
||||
TextAlign.configure({
|
||||
types: ['heading', 'paragraph'],
|
||||
}),
|
||||
Highlight,
|
||||
],
|
||||
content: `
|
||||
|
||||
Reference in New Issue
Block a user