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