mirror of
https://github.com/fantasticit/think.git
synced 2026-10-30 22:56:06 +08:00
tiptap: fix valid url
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
export function isValidURL(str: string) {
|
||||
return str.startsWith('http');
|
||||
return str && str.startsWith('http');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user