import { Extension } from '../../core/Extension.js'; /** * Stored format style * @typedef {Object} StoredStyle * @property {string} name - Mark name * @property {Object} attrs - Mark attributes */ /** * Configuration options for FormatCommands * @typedef {Object} FormatCommandsOptions * @category Options */ /** * @module FormatCommands * @sidebarTitle Format Commands * @snippetPath /snippets/extensions/format-commands.mdx * @shortcut Mod-Alt-c | clearFormat | Clear all formatting */ export const FormatCommands: Extension<{}, { /** * @private * @type {StoredStyle[]|null} */ storedStyle: StoredStyle[] | null; }>; /** * Stored format style */ export type StoredStyle = { /** * - Mark name */ name: string; /** * - Mark attributes */ attrs: Object; }; /** * Configuration options for FormatCommands */ export type FormatCommandsOptions = Object; //# sourceMappingURL=format-commands.d.ts.map