Open himself65 opened 4 months ago
Steps to reproduce:
node16
nodenext
Expected behavior:
Type is correct
Screenshots:
'use client' import EditorJS from '@editorjs/editorjs' import { useCallback, useRef } from 'react' export const Editor = () => { const editorRef = useRef<EditorJS.default | null>(null) return <div ref={useCallback((ref: HTMLDivElement | null) => { if (ref) { editorRef.current = new EditorJS({ holder: ref }) } else { editorRef.current?.destroy() } }, [])} /> }
Device, Browser, OS:
Editor.js version: latest
Plugins you use with their versions:
@himself65 could you get it?
Steps to reproduce:
node16
ornodenext
in tsconfig.jsonExpected behavior:
Type is correct
Screenshots:
Device, Browser, OS:
Editor.js version: latest
Plugins you use with their versions: