split helpers and utilities

This commit is contained in:
Philipp Kühn
2020-11-30 09:42:53 +01:00
parent 8d38459289
commit f486ddf80a
56 changed files with 57 additions and 60 deletions

View File

@@ -1,8 +1,8 @@
import { toggleMark as originalToggleMark } from 'prosemirror-commands'
import { MarkType } from 'prosemirror-model'
import { Command } from '../types'
import getMarkType from '../utils/getMarkType'
import markIsActive from '../utils/markIsActive'
import getMarkType from '../helpers/getMarkType'
import markIsActive from '../helpers/markIsActive'
/**
* Toggle a mark on and off.