fix: Unexpected behavior when changing color of existing highlight

This commit is contained in:
Tom Moor
2024-06-09 21:19:37 -04:00
parent f439293a7b
commit be0a0f4e40
2 changed files with 36 additions and 1 deletions

View File

@@ -1,4 +1,3 @@
import { toggleMark } from "prosemirror-commands";
import { InputRule } from "prosemirror-inputrules";
import { ParseSpec } from "prosemirror-markdown";
import {
@@ -8,6 +7,7 @@ import {
Schema,
} from "prosemirror-model";
import { Command } from "prosemirror-state";
import { toggleMark } from "../commands/toggleMark";
import Extension, { CommandFactory } from "../lib/Extension";
import { MarkdownSerializerState } from "../lib/markdown/serializer";