tuil
ReferencePackages@mwillbanks/tuil-editorAPI

RichMark

interface exported by @mwillbanks/tuil-editor.

View rawEdit

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

MemberTypeRequiredDescriptionRelated types
type"link" | (string & &#123;&#125;) | "bold" | "italic" | "code" | "strike"YesThe type member uses the "link" | (string & &#123;&#125;) | "bold" | "italic" | "code" | "strike" contract.
attributesReadonly<Record<string, string>> | undefinedNoThe 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.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-editor

On this page