Merge pull request #564 from ONLYOFFICE/feature/externalCallback
Feature/external callback
This commit is contained in:
commit
89f7a46eff
|
@ -303,6 +303,8 @@
|
|||
if ( msg ) {
|
||||
if ( msg.type === "onExternalPluginMessage" ) {
|
||||
_sendCommand(msg);
|
||||
} else if (msg.type === "onExternalPluginMessageCallback") {
|
||||
postMessage(window.parent, msg);
|
||||
} else
|
||||
if ( msg.frameEditorId == placeholderId ) {
|
||||
var events = _config.events || {},
|
||||
|
|
Loading…
Reference in a new issue