Skip to content

Commit

Permalink
fix: #444 初始化 float 和 bubble 时传入 customMenu (#446)
Browse files Browse the repository at this point in the history
Co-authored-by: zavierli <zavierli@tencent.com>
  • Loading branch information
lllllllqw and zavierli authored Apr 27, 2023
1 parent 61974b9 commit 1fc0972
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Cherry.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ export default class Cherry extends CherryStatic {
dom,
$cherry: this,
buttonConfig: this.options.toolbars.float,
customMenu: this.options.toolbars.customMenu,
});
}
}
Expand All @@ -445,6 +446,7 @@ export default class Cherry extends CherryStatic {
dom,
$cherry: this,
buttonConfig: this.options.toolbars.bubble,
customMenu: this.options.toolbars.customMenu,
engine: this.engine,
});
}
Expand Down

0 comments on commit 1fc0972

Please sign in to comment.