mcut
@mcut/editor

addTextAtPlayhead

Generated TypeScript API reference for the public mcut SDK.

mcut SDK


mcut SDK / editor/src / addTextAtPlayhead

Function: addTextAtPlayhead()

function addTextAtPlayhead(engine, text?): string;

Defined in: packages/editor/src/timeline-operators.ts:667

Insert a default text element at the playhead.

Parameters

engine

EditorEngine

text?

string = 'Your text'

Returns

string

On this page