refactoring
This commit is contained in:
@@ -39,7 +39,7 @@ export type Command = (props: {
|
|||||||
editor: Editor,
|
editor: Editor,
|
||||||
tr: Transaction,
|
tr: Transaction,
|
||||||
commands: SingleCommands,
|
commands: SingleCommands,
|
||||||
can: () => SingleCommands & { chain: () => ChainedCommands },
|
can: () => CanCommands,
|
||||||
chain: () => ChainedCommands,
|
chain: () => ChainedCommands,
|
||||||
state: EditorState,
|
state: EditorState,
|
||||||
view: EditorView,
|
view: EditorView,
|
||||||
|
|||||||
Reference in New Issue
Block a user