fix packages

This commit is contained in:
Philipp Kühn
2018-08-23 10:49:01 +02:00
parent 678bcd3673
commit adc90a7ecd
6 changed files with 13 additions and 12 deletions

View File

@@ -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) => {

View File

@@ -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) => {

View File

@@ -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