defaultHandleExternalTextContent

See source code
function defaultHandleExternalTextContent(
  editor: Editor,
  {
    point,
    text,
    html,
  }: {
    html?: string;
    point?: VecLike;
    text: string;
  },
): Promise<void>;

Parameters

NameDescription

editor

Editor;

{ point, text, html }

{
  html?: string;
  point?: VecLike;
  text: string;
};

Returns

Promise<void>;
Prev
defaultHandleExternalSvgTextContent
Next
defaultHandleExternalTldrawContent