mirror of
https://github.com/codex-team/editor.js
synced 2026-03-18 00:19:53 +01:00
Mutation callback (#444)
* modification observer initials * add debouncer to callback execution * change feature name * update * code improvements * tslint fixes * use debouncer from utils * add types * upgrade * fix * update
This commit is contained in:
parent
2c0d747035
commit
7acf321454
11 changed files with 176 additions and 38 deletions
|
|
@ -66,6 +66,7 @@ export default class CodexEditor {
|
|||
const destroy = () => {
|
||||
editor.moduleInstances.Listeners.removeAll();
|
||||
editor.moduleInstances.UI.destroy();
|
||||
editor.moduleInstances.ModificationsObserver.destroy();
|
||||
editor = null;
|
||||
|
||||
for (const field in this) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue