rename suggestion command argument

This commit is contained in:
Philipp Kühn
2021-01-21 12:28:58 +01:00
parent a2d5eef6b2
commit 319eb83303
3 changed files with 9 additions and 9 deletions

View File

@@ -8,8 +8,8 @@ export default Extension.create({
suggestion: {
char: '/',
startOfLine: true,
command: ({ editor, range, attributes }) => {
attributes.command({ editor, range })
command: ({ editor, range, props }) => {
props.command({ editor, range })
},
},
},