editor-js / create-tool

Single command Editor.js Tool generator
MIT License
26 stars 3 forks source link

How can i detect editorjs has change in custom plugin #3

Closed fxcjahid closed 1 year ago

fxcjahid commented 1 year ago

Hello, I am start building custom plugin for editorjs. I need to detect text ( H1...H6 ) has changed in editor.. Mainly, The plugin developed for Table of content so it must be need to detect on change.

I found that code: new Editor({ ...otherProps, onChange: handleOnChange })

But, it only working on editojs but not work in custom plugin

talyguryn commented 1 year ago

Issue is not referred to this repository. Please ask it in codex-team/editor.js.