add useReactNodeView hook

This commit is contained in:
Philipp Kühn
2021-03-14 20:40:40 +01:00
parent 109bff0892
commit 380d27fe86
6 changed files with 75 additions and 13 deletions

View File

@@ -2,6 +2,7 @@ import React from 'react'
import ReactDOM from 'react-dom'
import { Editor } from './Editor'
import { ReactRenderer } from './ReactRenderer'
import { ReactNodeViewContext } from './useReactNodeView'
type EditorContentProps = {
editor: Editor | null