-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: run linkify checks on entire parent tree
A lot of web editors create elaborate DOM trees and it is not enough to check if parent is safe for linkification. This change walks back over entire parent tree to ensure none of parents has a no-go flag for linkification (eg. HTMLElement.contentEditable property)
- Loading branch information
Showing
1 changed file
with
21 additions
and
9 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