Skip to main content

GetEditorThemes

Returns the list of available editor themes.

note

This functionality is available in paid ONLYOFFICE Docs editions.

Syntax

expression.GetEditorThemes();

expression - A variable that represents a Api class.

Parameters

This method doesn't have any parameters.

Returns

object[]

Example

window.Asc.plugin.executeMethod("GetEditorThemes", null, function(themes) {
console.log(themes);
});