Interacting with editorsForm APIMethods粘贴文本本页总览粘贴文本 将文本粘贴到文档中。 语法 expression.PasteText(text); expression - 表示 Api 类的变量。 参数 名称必填/选填数据类型默认值描述text必填string指定要粘贴到文档中的文本字符串。 返回值 此方法不返回任何值。 示例 window.Asc.plugin.executeMethod ("PasteText", ["ONLYOFFICE for developers"]);