I'm trying to use EditorJs in NuxtJs project.
Medium has an article on https://medium.com/code4mk-org/editorjs-vue-a78110c3fff8.
It works, but if I reload the page I get a "window not defined" error because the code is trying to run on the server side.
There is a package called https://github.com/ChangJoo-Park/vue-editor-js that works for NuxtJs, but it has an issue with image upload.
//I try change
import EditorJS from '@editorjs/editorjs'
//to
const EditorJS = require('@editorjs/editorjs')
It's works, but i got error on load tools
// ImageTool = require('@editorjs/image') // got error
Perhaps there is another way?