add basic react nodeviewrenderer
This commit is contained in:
18
packages/react/src/NodeViewContent.tsx
Normal file
18
packages/react/src/NodeViewContent.tsx
Normal 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'
|
||||
}}
|
||||
/>
|
||||
)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user