fix togglemark

This commit is contained in:
Philipp Kühn
2020-12-01 12:45:30 +01:00
parent 20c02dae89
commit 96920e5c14
3 changed files with 4 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ export default function isMarkActive(
: null
if (empty) {
return !!state.selection.$head.marks()
return !!(state.storedMarks || state.selection.$from.marks())
.filter(mark => {
if (!type) {
return true