Ilya Maroz
Ilya Maroz
Hello, @getanwar. Please, add the information about your fix to [CHANGELOG.md](https://github.com/codex-team/editor.js/blob/next/docs/CHANGELOG.md)
Hi 👋 Try to init editor in useEffect hook. Like this: ```js useEffect(() => { new EditorJS(...); }, []); ```
It isn't a bug in EditorJS. You need to init an instance correct. If you use useEffect hook with empty deps, it renders editor only on componentDidMount hook. Also, you...
You can try to use ref for this.
Hi, @Sqrrl. It works fine, thank you!
Hi, @getanwar. Could you fix `CHANGELOG.md`? We want to take this fix to the next release.
@getanwar, thank you ❤️
## Appearance
Because of using Vite, your d.ts file might be missed after compiling. There is a plugin that can copy declaration files to the dist folder.