add basic react nodeviewrenderer

This commit is contained in:
Philipp Kühn
2021-03-14 16:30:06 +01:00
parent bc60a91904
commit 5e9a0d4225
8 changed files with 118 additions and 73 deletions

View File

@@ -0,0 +1,18 @@
import React from 'react'
export const NodeViewContent: React.FC = props => {
// TODO
const isEditable = true
return (
<div
data-node-view-content=""
contentEditable={isEditable}
style={{
whiteSpace: 'pre-wrap'
}}
/>
)
}