Open StitiFatah opened 2 years ago
Hi,
as per the example naming editorCore.current.focus(); throws editorCore.current.focus is not a function
editorCore.current.focus();
editorCore.current.focus is not a function
and
editorCore.current.readOnly.toggle(); throws Cannot read properties of undefined (reading 'toggle')
editorCore.current.readOnly.toggle();
Cannot read properties of undefined (reading 'toggle')
Both are working fine with 2.0.5 and same React/NextJS and editorjs version
Environment
Describe
Hi,
as per the example naming
editorCore.current.focus();
throwseditorCore.current.focus is not a function
and
editorCore.current.readOnly.toggle();
throwsCannot read properties of undefined (reading 'toggle')
Both are working fine with 2.0.5 and same React/NextJS and editorjs version