Interacting with editorsText document APIMethods获取当前单词本页总览获取当前单词 返回当前单词。 语法 expression.GetCurrentWord(type); expression - 表示 Api 类的变量。 参数 名称必填/选填数据类型默认值说明type选填文本部分类型"entirely"指定返回整个单词还是单词的一部分。 返回值 string(字符串) 示例 window.Asc.plugin.executeMethod ("GetCurrentWord", ["entirely"], function (res) { console.log (res)});