1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-27 00:54:22 +02:00
url is not defined
This commit is contained in:
Ziad Beyens
2019-12-02 02:18:21 +01:00
committed by Ian Storm Taylor
parent 357e3b8547
commit 2ad3dfeef8

View File

@@ -51,7 +51,7 @@ const withLinks = editor => {
}
if (text && isUrl(text)) {
wrapLink(editor, url)
wrapLink(editor, text)
} else {
exec(command)
}