Skip to content

Commit

Permalink
Quill.find should accept bubble parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed Nov 8, 2021
1 parent d78cc96 commit 89e4d68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/quill.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class Quill {
logger.level(limit);
}

static find(node) {
return instances.get(node) || globalRegistry.find(node);
static find(node, bubble = false) {
return instances.get(node) || globalRegistry.find(node, bubble);
}

static import(name) {
Expand Down

0 comments on commit 89e4d68

Please sign in to comment.