• ThinkEditorKit的接口是ThinkEditorInstance的接口封装 加上了Kit UI的联动处理

CreateEditorAsync

  • 创建ThinkEditor接口
  • 本质是封装了new ThinkEditor()、thinkEditor.InitAsync()、thinkEditor.Load()、editorInstance.AddEditor(thinkEditor)等步骤

其他接口,为暴露的ThinkEditorInstance接口

  • AddEditor(thinkEditor)
  • SelectEditorByEditorId(editorId)
  • SelectEditor(docName)
  • GetLastEditor()
  • CloseEditor(doc)
  • CloseAllEditors()
  • GetEditorByShowName(showName)
  • GetEditor(docName)
  • GetEditorByIndex(index)
  • GetEditorByEditorId(editorId)
  • GetSelectedEditor()
  • GetSelectedDocName()
  • GetEditorCount()
文档更新时间: 2025-09-24 15:23   作者:admin