This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This commit fixes several issues related to `links`. - #179 is fixed since the links are now underlined and highlighted blue like a hyperlink. Links are also clickable even when formatted with various formatting options (which was an issue before). - #271 was fixed in the last commit but made links not clickable - this nature has been fixed by traversing a clicked element's ancestors and opening the link if an `a` (anchor) tag is found. - #273 is fixed by taking care of the edge case when [Tab] is used before a link. This would cause a tab character to have the `link` format, this has been fixed by removing the `link` formatting for any whitespace characters before a link - #286 is fixed by specifically making sure the Delta objects for pasting a link in a bulleted or ordered list does not fall under the same category being matched as the fix for #273 (which was the cause of this)
- Loading branch information