Allow middle click to open link (#841)

pull/843/head
Daniel Michel 2024-04-07 15:10:58 +02:00 committed by GitHub
parent f193a73e39
commit 3806513ba0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ export function linkPlugin(client: Client) {
attributes: {
href: cleanLink,
title: `Click to visit ${cleanLink}`,
contenteditable: "false",
},
}).range(from + 1, from + cleanAnchor.length + 1),
);