some fixes
This commit is contained in:
@@ -8,7 +8,7 @@ declare module '../Editor' {
|
||||
}
|
||||
}
|
||||
|
||||
export default (next: Function, editor: Editor, value: string): InsertText => () => {
|
||||
export default (next: Function, editor: Editor): InsertText => value => {
|
||||
const { view, state } = editor
|
||||
const transaction = state.tr.insertText(value)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user