Interacting with editorsDocument API事件onShowContentControlTrack本页总览onShowContentControlTrackAsk a question 当内容控件获得焦点并显示其轨道时调用的函数。 参数 名称数据类型描述idsstring[]已获得焦点的内容控件 ID 数组。 示例 window.Asc.plugin.attachEditorEvent("onShowContentControlTrack", (ids) => { console.log("event: onShowContentControlTrack"); for (let i = 0; i < ids.length; i++) { console.log("Id: " + ids[i]); }});