fix packages
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
"files": [
|
||||
"src",
|
||||
"dist"
|
||||
],
|
||||
"repository": {
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/heyscrumpy/tiptap.git"
|
||||
},
|
||||
@@ -22,6 +22,7 @@
|
||||
"dependencies": {
|
||||
"prosemirror-commands": "^1.0.7",
|
||||
"prosemirror-inputrules": "^1.0.1",
|
||||
"prosemirror-schema-list": "^1.0.1"
|
||||
"prosemirror-schema-list": "^1.0.1",
|
||||
"tiptap-utils": "^0.1.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { setBlockType } from 'prosemirror-commands'
|
||||
import { nodeIsActive } from '../utils'
|
||||
import { nodeIsActive } from 'tiptap-utils'
|
||||
|
||||
export default function (type, toggletype, attrs = {}) {
|
||||
return (state, dispatch, view) => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { nodeIsActive } from '../utils'
|
||||
import { wrapInList, liftListItem } from '..'
|
||||
import { nodeIsActive } from 'tiptap-utils'
|
||||
import { wrapInList, liftListItem } from 'prosemirror-schema-list'
|
||||
|
||||
export default function toggleList(type, itemType) {
|
||||
return (state, dispatch, view) => {
|
||||
|
||||
@@ -38,10 +38,10 @@ import {
|
||||
textblockTypeInputRule,
|
||||
} from 'prosemirror-inputrules'
|
||||
|
||||
import removeMark from './helpers/removeMark'
|
||||
import toggleBlockType from './helpers/toggleBlockType'
|
||||
import toggleList from './helpers/toggleList'
|
||||
import updateMark from './helpers/updateMark'
|
||||
import removeMark from './commands/removeMark'
|
||||
import toggleBlockType from './commands/toggleBlockType'
|
||||
import toggleList from './commands/toggleList'
|
||||
import updateMark from './commands/updateMark'
|
||||
|
||||
export {
|
||||
// prosemirror-commands
|
||||
|
||||
Reference in New Issue
Block a user