-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(editor): Refactor link click handlers
New link click behaviour: * Link left clicks without Ctrl/Meta open link bubble (Fixes: #3691) * Link left clicks with Ctrl/Meta open link in new tab * Link middle clicks open link in new tab * Link middle clicks on Linux don't paste content (Fixes: #2198) * No more custom open link handler in editor Implementation details: * Moved link click handler plugins back into Link mark class. * Added 'data-md-href' attribute to a-elements in DOM, to be used in onClick handlers.
- Loading branch information
Showing
5 changed files
with
53 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.