Skip to content

Doc.getMode method

Doc › getMode

Unofficial

Gets the mode object for this document.

Signature:

getMode(): Cm5Mode<unknown>

Returns: Cm5Mode<unknown>The mode object.