mirror of
https://github.com/codex-team/editor.js
synced 2026-03-14 22:55:47 +01:00
onChange improvements (#1678)
* onChange improvements * Return modifications observer module * Fix lint * Fix tests
This commit is contained in:
parent
51d94e1a11
commit
4e7b33c2b8
29 changed files with 259 additions and 205 deletions
|
|
@ -281,8 +281,8 @@
|
|||
onReady: function(){
|
||||
saveButton.click();
|
||||
},
|
||||
onChange: function() {
|
||||
console.log('something changed');
|
||||
onChange: function(api, block) {
|
||||
console.log('something changed', block);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue