a tool for shared writing and social publishing

don't use tiptap imports

+2 -4
+2 -4
src/utils/prosemirror/setMark.ts
··· 1 1 // Taken from https://github.com/ueberdosis/tiptap/blob/dfacb3b987b57b3ab518bae87bc3d263ebfb60d0/packages/core/src/commands/setMark.ts#L66 2 - import { MarkType, ResolvedPos } from "@tiptap/pm/model"; 3 - import { EditorState, Transaction } from "@tiptap/pm/state"; 4 2 5 - import { TextSelection } from "prosemirror-state"; 6 - import { Mark, Schema } from "prosemirror-model"; 3 + import { EditorState, TextSelection, Transaction } from "prosemirror-state"; 4 + import { Mark, MarkType, ResolvedPos, Schema } from "prosemirror-model"; 7 5 8 6 function canSetMark( 9 7 state: EditorState,