import { EditorState } from "prosemirror-state"; import { MarkType } from "prosemirror-model"; /** * Get the attributes of all selected marks of a given type * @param state Current Editor State * @param type Type of schema mark * @returns an array of attributes */ export default function (state: EditorState, type: MarkType): { [key: string]: any; }[];