MCPcopy
hub / github.com/ueberdosis/tiptap / CodeOptions

Interface CodeOptions

packages/extension-code/src/code.ts:4–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { Mark, markInputRule, markPasteRule, mergeAttributes } from '@tiptap/core'
3
4export interface CodeOptions {
5 /**
6 * The HTML attributes applied to the code element.
7 * @default {}
8 * @example { class: 'foo' }
9 */
10 HTMLAttributes: Record<string, any>
11}
12
13declare module '@tiptap/core' {
14 interface Commands<ReturnType> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…