window is not defined editor js code example
Example: @editorjs/list window not defined
import dynamic from 'next/dynamic';
const List = dynamic(() => import("@editorjs/list"), { ssr: false });
import dynamic from 'next/dynamic';
const List = dynamic(() => import("@editorjs/list"), { ssr: false });