fix em input rule

This commit is contained in:
Philipp Kühn
2018-08-25 00:12:55 +02:00
parent e27735bba8
commit 25fafd1564

View File

@@ -30,7 +30,7 @@ export default class ItalicMark extends Mark {
inputRules({ type }) { inputRules({ type }) {
return [ return [
markInputRule(/(?:^|[^\*_])(?:\*|_)([^\*_]+)(?:\*|_)$/, type), markInputRule(/(?:\*|_)([^\*_]+)(?:\*|_)$/, type),
] ]
} }