Skip to content

Commit

Permalink
fix(extension/table): move dependency from @_ueberdosis to @tiptap (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbch committed Nov 24, 2022
1 parent 22cccc7 commit 31c3a9a
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 34 deletions.
2 changes: 1 addition & 1 deletion demos/includeDependencies.txt
Expand Up @@ -10,7 +10,7 @@ prosemirror-keymap
prosemirror-model
prosemirror-schema-list
prosemirror-state
@_ueberdosis/prosemirror-tables
@tiptap/prosemirror-tables
prosemirror-transform
prosemirror-view
react
Expand Down
49 changes: 26 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/extension-table/package.json
Expand Up @@ -24,7 +24,7 @@
"@tiptap/core": "^2.0.0-beta.193"
},
"dependencies": {
"@_ueberdosis/prosemirror-tables": "1.1.3",
"@tiptap/prosemirror-tables": "^1.1.3",
"prosemirror-model": "^1.18.1",
"prosemirror-state": "^1.4.1",
"prosemirror-view": "^1.28.2"
Expand Down
16 changes: 8 additions & 8 deletions packages/extension-table/src/table.ts
@@ -1,3 +1,10 @@
import {
callOrReturn,
getExtensionField,
mergeAttributes,
Node,
ParentConfig,
} from '@tiptap/core'
import {
addColumnAfter,
addColumnBefore,
Expand All @@ -16,14 +23,7 @@ import {
tableEditing,
toggleHeader,
toggleHeaderCell,
} from '@_ueberdosis/prosemirror-tables'
import {
callOrReturn,
getExtensionField,
mergeAttributes,
Node,
ParentConfig,
} from '@tiptap/core'
} from '@tiptap/prosemirror-tables'
import { TextSelection } from 'prosemirror-state'
import { NodeView } from 'prosemirror-view'

Expand Down
2 changes: 1 addition & 1 deletion packages/extension-table/src/utilities/isCellSelection.ts
@@ -1,4 +1,4 @@
import { CellSelection } from '@_ueberdosis/prosemirror-tables'
import { CellSelection } from '@tiptap/prosemirror-tables'

export function isCellSelection(value: unknown): value is CellSelection {
return value instanceof CellSelection
Expand Down

0 comments on commit 31c3a9a

Please sign in to comment.