fix(maintainment): fix cjs issues with prosemirror-tables

This commit is contained in:
Dominik Biedebach
2022-06-23 09:11:27 +02:00
parent 482cb960d6
commit eb92597603
6 changed files with 39 additions and 63 deletions

View File

@@ -1,11 +1,3 @@
import {
callOrReturn,
getExtensionField,
mergeAttributes,
Node,
ParentConfig,
} from '@tiptap/core'
import { TextSelection } from 'prosemirror-state'
import {
addColumnAfter,
addColumnBefore,
@@ -24,7 +16,15 @@ import {
tableEditing,
toggleHeader,
toggleHeaderCell,
} from 'prosemirror-tables-contently'
} from '@_bdbch/prosemirror-tables'
import {
callOrReturn,
getExtensionField,
mergeAttributes,
Node,
ParentConfig,
} from '@tiptap/core'
import { TextSelection } from 'prosemirror-state'
import { NodeView } from 'prosemirror-view'
import { TableView } from './TableView'

View File

@@ -1,4 +1,4 @@
import { CellSelection } from 'prosemirror-tables-contently'
import { CellSelection } from '@_bdbch/prosemirror-tables'
export function isCellSelection(value: unknown): value is CellSelection {
return value instanceof CellSelection