Skip to main content

MarkType

@blockslides/core


@blockslides/core / MarkType

Type Alias: MarkType<Type, TAttributes>

MarkType<Type, TAttributes> = object

Defined in: blockslides/packages/core/src/types.ts:509

A mark type is either a JSON representation of a mark or a Prosemirror mark instance

Type Parameters

Type

Type extends string | { name: string; } = any

TAttributes

TAttributes extends undefined | Record<string, any> = any

Properties

type

type: Type

Defined in: blockslides/packages/core/src/types.ts:513


attrs

attrs: TAttributes

Defined in: blockslides/packages/core/src/types.ts:514