跳到主要内容

GetEditorThemes

返回可用编辑器主题的列表。

备注

此功能在 ONLYOFFICE Docs 付费版本中可用。

语法

expression.GetEditorThemes();

expression - 表示 Api 类的变量。

参数

此方法没有任何参数。

返回值

object[]

示例

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