mirror of
https://github.com/codex-team/editor.js
synced 2024-06-26 09:20:07 +02:00
[issue-868]: Deleting multiple blocks triggers back button in Firefox (#967)
* Deleting multiple blocks triggers back button in Firefox @evgenusov * Update editor.js * Update CHANGELOG.md
This commit is contained in:
parent
0d54c9435f
commit
fa4b2826a3
2
dist/editor.js
vendored
2
dist/editor.js
vendored
File diff suppressed because one or more lines are too long
|
@ -11,6 +11,7 @@
|
|||
— `Fix` — Fix flipper with empty dom iterator [#926](https://github.com/codex-team/editor.js/issues/926)
|
||||
- `Fix` — Normalize node before walking through children at `isEmpty` method [943](https://github.com/codex-team/editor.js/issues/943)
|
||||
— `Fix` — Fixed Grammarly conflict [#779](https://github.com/codex-team/editor.js/issues/779)
|
||||
— `Fix` — Fixed History Back on block deletion by Backspace in Firefox [#967](https://github.com/codex-team/editor.js/pull/967)
|
||||
|
||||
### 2.15.1
|
||||
|
||||
|
|
|
@ -402,6 +402,7 @@ export default class UI extends Module {
|
|||
* Manipulation with BlockSelections is handled in global backspacePress because they may occur
|
||||
* with CMD+A or RectangleSelection and they can be handled on document event
|
||||
*/
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
event.stopImmediatePropagation();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue