add markInputRule function

This commit is contained in:
Philipp Kühn
2018-08-24 23:53:49 +02:00
parent 6f25288e47
commit b61f95a2a7
5 changed files with 43 additions and 3 deletions

View File

@@ -38,6 +38,7 @@ import {
textblockTypeInputRule,
} from 'prosemirror-inputrules'
import markInputRule from './commands/markInputRule'
import removeMark from './commands/removeMark'
import toggleBlockType from './commands/toggleBlockType'
import toggleList from './commands/toggleList'
@@ -82,6 +83,7 @@ export {
textblockTypeInputRule,
// custom
markInputRule,
removeMark,
toggleBlockType,
toggleList,