(type, props)
| 339 | getCommand().replaceWord(getLinkReplacement, onUpdate); |
| 340 | const onLinkPaste = (pastedLink: string) => { |
| 341 | const onLinkPasteCommand: GetReplacementFn = (type, props) => |
| 342 | getLinkReplacement(type, { ...props, url: pastedLink }); |
| 343 | |
| 344 | return getCommand().replaceWord(onLinkPasteCommand, onUpdate); |
| 345 | }; |
nothing calls this directly
no test coverage detected