RichMark
interface exported by @mwillbanks/tuil-editor.
interface
Public interface exported by @mwillbanks/tuil-editor.
export interface RichMark {
readonly [key: string]: unknown;
readonly type: "bold" | "italic" | "code" | "strike" | "link" | (string & {});
readonly attributes?: Readonly<Record<string, string>>;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
type | "link" | (string & {}) | "bold" | "italic" | "code" | "strike" | Yes | The type member uses the "link" | (string & {}) | "bold" | "italic" | "code" | "strike" contract. | — |
attributes | Readonly<Record<string, string>> | undefined | No | The attributes member uses the Readonly<Record<string, string>> | undefined contract. | — |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
No package-local related types.
Source
View the secondary source reference