getLanguageCode()

Returns the language code of the language currently used in the editor interface. Use the language code to localize the content in your settings panel.

Syntax

Copy
1

Parameters

This method does not take any parameters.

Returns

Promise<string>

The editor's language code.

Example

Copy
1
Was this helpful?
Yes
No