Skip to content

Doc.getValue method

Doc › getValue

Unofficial

Gets the editor content.

Signature:

getValue(separator?: string | undefined): string

Parameters:

Parameter Type Description
separator? string | undefined Optional line separator.

Returns: stringThe editor content.