add node view playground
This commit is contained in:
@@ -130,6 +130,7 @@ export default class ExtensionManager {
|
||||
getPos,
|
||||
decorations,
|
||||
HTMLAttributes,
|
||||
extension,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -90,6 +90,7 @@ export type NodeViewRendererProps = {
|
||||
getPos: (() => number) | boolean,
|
||||
decorations: Decoration[],
|
||||
HTMLAttributes: { [key: string]: any },
|
||||
extension: Node,
|
||||
}
|
||||
|
||||
export type NodeViewRenderer = (props: NodeViewRendererProps) => NodeView
|
||||
|
||||
Reference in New Issue
Block a user