rename set to configure

This commit is contained in:
Philipp Kühn
2020-11-16 11:07:06 +01:00
parent 356696772e
commit b44aafa97c
11 changed files with 22 additions and 22 deletions

View File

@@ -34,12 +34,12 @@ Most extensions allow you to add attributes to the rendered HTML through the `HT
new Editor({
extensions: [
Document,
Paragraph.set({
Paragraph.configure({
HTMLAttributes: {
class: 'my-custom-paragraph',
},
}),
Heading.set({
Heading.configure({
HTMLAttributes: {
class: 'my-custom-heading',
},