Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow a rule to be skipped from the getAttributes callback in m…
…arkPasteRule (#1625) For example: you are matching URLs with a Regex but want to make additional checks on the match array before deciding if you want to apply the mark or not. Returning null or false won't attempt to apply the mark. Currently the return value of getAttributes is applied unconditionally.
- Loading branch information