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

@@ -135,11 +135,11 @@ export default {
this.editor = new Editor({
extensions: [
...defaultExtensions(),
Collaboration.set({
Collaboration.configure({
provider: this.provider,
type: this.type,
}),
CollaborationCursor.set({
CollaborationCursor.configure({
provider: this.provider,
name: this.name,
color: this.color,

View File

@@ -64,7 +64,7 @@ export default {
Document,
Paragraph,
Text,
Heading.set({
Heading.configure({
level: [1, 2, 3],
}),
Bold,