Skip to main content

MarkViewRendererProps

@blockslides/core


@blockslides/core / MarkViewRendererProps

Interface: MarkViewRendererProps

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

Extended by

Properties

mark

mark: Mark

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

The node that is being rendered.


view

view: EditorView

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

The editor's view.


inline

inline: boolean

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

indicates whether the mark's content is inline


editor

editor: SlideEditor

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

The editor instance.


extension

extension: Mark

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

The extension that is responsible for the mark.


HTMLAttributes

HTMLAttributes: Record<string, any>

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

The HTML attributes that should be added to the mark's DOM element.


updateAttributes()

updateAttributes: (attrs) => void

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

Parameters

attrs

Record<string, any>

Returns

void