Interacting with editorsPresentation APIEvents修改限制回调本页总览修改限制回调 当编辑器中的限制条件发生变化时调用的函数。 参数 名称数据类型描述valuenumber限制值。 window.Asc.plugin.attachEditorEvent("onChangeRestrictions", (value) => { if (value == 0) { console.log('You are able to edit the document'); }});