accessing window next 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 });