Skip to content

Commit a056271

Browse files
committed
fix(editor): Allow "mailto:" in links
1 parent 210ce61 commit a056271

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/editor/src/plugins/text/components/link/edit-mode/link-overlay-edit-mode.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export function LinkOverlayEditMode({
6666
if (
6767
cleanUrl.startsWith('/') ||
6868
cleanUrl.startsWith('#') ||
69+
cleanUrl.startsWith('mailto:') ||
6970
cleanUrl.startsWith('http://') ||
7071
cleanUrl.startsWith('https://')
7172
) {

0 commit comments

Comments
 (0)