mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-27 09:04:31 +02:00
committed by
Ian Storm Taylor
parent
357e3b8547
commit
2ad3dfeef8
@@ -51,7 +51,7 @@ const withLinks = editor => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (text && isUrl(text)) {
|
if (text && isUrl(text)) {
|
||||||
wrapLink(editor, url)
|
wrapLink(editor, text)
|
||||||
} else {
|
} else {
|
||||||
exec(command)
|
exec(command)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user