mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
feat(go): onUserActionRequired
This commit is contained in:
@ -78,6 +78,10 @@
|
||||
docEditor.destroyEditor();
|
||||
};
|
||||
|
||||
var onUserActionRequired = function () {
|
||||
console.log("User action required");
|
||||
};
|
||||
|
||||
var onMetaChange = function (event) { // the meta information of the document is changed via the meta command
|
||||
if (event.data.favorite) {
|
||||
var favorite = !!event.data.favorite;
|
||||
@ -378,6 +382,7 @@
|
||||
var events = {
|
||||
"onAppReady": onAppReady,
|
||||
"onDocumentStateChange": onDocumentStateChange,
|
||||
"onUserActionRequired": onUserActionRequired,
|
||||
"onMetaChange": onMetaChange,
|
||||
"onRequestInsertImage": onRequestInsertImage,
|
||||
"onRequestSelectDocument": onRequestSelectDocument,
|
||||
|
||||
Reference in New Issue
Block a user