import { EditorView , NodeView } from '@remirror/core' ; import { Node as ProsemirrorNode } from '@remirror/pm/model' ; import TableControllerCell from '../components/table-controller-cell' ; import { h } from '../utils/dom' ; export class TableControllerCellView implements NodeView { public dom : HTMLElement ; public contentDOM : HTMLElement ; constructor ( public node , public view , public getPos ) { this . contentDOM = h ( 'div' , { contentEditable : false } ) ; this . dom = TableControllerCell ( { view , getPos , contentDOM : this . contentDOM , } ) ; } ignoreMutation ( ) { return true ; } stopEvent ( ) { return true ; } }