Skip to content

Commit 605a73d

Browse files
committed
fix(onchange): onchange won't be fired on table hovering
1 parent 3cc5067 commit 605a73d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@editorjs/table",
33
"description": "Table for Editor.js",
4-
"version": "2.2.1",
4+
"version": "2.2.2",
55
"license": "MIT",
66
"main": "./dist/table.js",
77
"scripts": {

src/toolbox.js

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ export default class Toolbox {
6161
Toolbox.CSS.toolbox,
6262
(this.cssModifier ? `${Toolbox.CSS.toolbox}--${this.cssModifier}` : '')
6363
]);
64+
65+
wrapper.dataset.mutationFree = 'true';
6466
const popover = this.createPopover();
6567
const toggler = this.createToggler();
6668

0 commit comments

Comments
 (0)