mirror of
https://github.com/codex-team/editor.js
synced 2024-06-19 14:15:19 +02:00
Do not use bubbling on blockManagers' listener (#1563)
* prevent bubbling * update CHANGELOG
This commit is contained in:
parent
2f5da52d1a
commit
c4ebdee396
|
@ -16,7 +16,8 @@
|
|||
- `Fix` - Fix SanitizerConfig type definition [#1513](https://github.com/codex-team/editor.js/issues/1513)
|
||||
- `Refactoring` - The Listeners module now is a util.
|
||||
- `Fix` - Editor Config now immutable [#1552](https://github.com/codex-team/editor.js/issues/1552).
|
||||
- `Refactoring` - Shortcuts module is util now
|
||||
- `Refactoring` - Shortcuts module is util now.
|
||||
- `Fix` - Fix bubbling on BlockManagers' listener [#1433](https://github.com/codex-team/editor.js/issues/1433).
|
||||
|
||||
### 2.19.1
|
||||
|
||||
|
|
|
@ -719,7 +719,7 @@ export default class BlockManager extends Module {
|
|||
|
||||
this.readOnlyMutableListeners.on(block.holder, 'keydown', (event: KeyboardEvent) => {
|
||||
BlockEvents.keydown(event);
|
||||
}, true);
|
||||
});
|
||||
|
||||
this.readOnlyMutableListeners.on(block.holder, 'keyup', (event: KeyboardEvent) => {
|
||||
BlockEvents.keyup(event);
|
||||
|
|
Loading…
Reference in a new issue