Mark EditorView and dom.Event as optional in run() #27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I believe these are optional.
github.com/ProseMirror/prosemirror-commands@3126d5c625/src/commands.js (L174-L193)github.com/ProseMirror/prosemirror-menu@9d68b3b755/src/menu.js (L370-L377)They are always passed, so they aren't optional arguments. Whether the function uses them is another question, but that's how all JavaScript functions work.
Ah, yes, of course, thank you!
Pull request closed