()
| 334 | }; |
| 335 | |
| 336 | const onLinkCommand = () => |
| 337 | getCommand().replaceWord(getLinkReplacement, onUpdate); |
| 338 | const onLinkPaste = (pastedLink: string) => { |
| 339 | const onLinkPasteCommand: GetReplacementFn = (type, props) => |
| 340 | getLinkReplacement(type, { ...props, url: pastedLink }); |
no test coverage detected