插入文本
在文档当前光标位置插入文本。
(function()
{
let doc = Api.GetDocument();
let paragraph = Api.CreateParagraph();
paragraph.AddText("Hello world!");
doc.InsertContent([paragraph]);
})();
使用方法: GetDocument, CreateParagraph, AddText, InsertContent