- Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
I need to use onChange event to detect changes in form and enable submit button. I tried to create an instance of editorjs in my script file, but the callback did not work:
new EditorJS({ holderId: 'id_body_editorjs_holder', onChange: (api, event) => { console.log('changed'); }, });But if I create an editor from scratch without the Django plugin, then I can track this event:
<div id="editorjs"/> <script type="module"> new EditorJS({ onChange: (api, event) => { console.log('changed'); }, }); </script>noxxer
Metadata
Metadata
Assignees
Labels
No labels