0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2025-01-03 05:00:13 -05:00
Squire/source
Øyvind Rønningstad ec0c3e612a Introduce linkRegExpHandlers
A map of capture groups to functions for producing the href of a
link. By default, it is e.g. used to prepend https:// to links
matching on www. so they are not interpreted as relative.
The user can add their own handlers if modifying linkRegExp.

Signed-off-by: Øyvind Rønningstad <ronningstad@gmail.com>
2024-01-13 22:15:39 +01:00
..
keyboard Fix format intent lost after pressing Space 2023-09-27 14:56:00 +10:00
node Squire: Fix crash removing formatting 2023-10-09 11:52:58 +11:00
range Replace nbsp with regular sp when extracting text 2023-10-02 13:23:12 +11:00
Clean.ts Remove redundant <span> after replacing styles 2023-02-01 13:52:53 +11:00
Clipboard.ts Fix empty string on clipboard if plainTextOnly 2023-10-03 11:13:02 +11:00
Constants.ts Squire 2.0 2023-01-23 13:18:29 +11:00
Editor.ts Introduce linkRegExpHandlers 2024-01-13 22:15:39 +01:00
Legacy.ts Squire 2.0 2023-01-23 13:18:29 +11:00
Squire.ts Squire 2.0 2023-01-23 13:18:29 +11:00