mirror of
https://github.com/fastmail/Squire.git
synced 2025-01-18 12:42:37 -05:00
2e97618f17
Solves/improves the following: - Setting a custom linkRegExp messes with the logic for adding protocol or mailto. Use named capture groups in the regex, and add a case in the href generation that just uses the match directly if neither the url nor the email regex matches, which would mean that the user's custom regex matched instead. - Make https the default protocol instead of http - Use a more general regex for matching the protocol. Signed-off-by: Øyvind Rønningstad <ronningstad@gmail.com> |
||
---|---|---|
.. | ||
keyboard | ||
node | ||
range | ||
Clean.ts | ||
Clipboard.ts | ||
Constants.ts | ||
Editor.ts | ||
Legacy.ts | ||
Squire.ts |