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