send message to frameEditor (for plugins only)
This commit is contained in:
parent
7a52154c64
commit
ed73200c1a
|
@ -268,7 +268,12 @@
|
||||||
} else
|
} else
|
||||||
if (msg.event === 'onInternalMessage' && msg.data && msg.data.type == 'localstorage') {
|
if (msg.event === 'onInternalMessage' && msg.data && msg.data.type == 'localstorage') {
|
||||||
_callLocalStorage(msg.data.data);
|
_callLocalStorage(msg.data.data);
|
||||||
} else {
|
} else {
|
||||||
|
if (msg.type === "onExternalPluginMessage") {
|
||||||
|
_sendCommand(msg);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (msg.event === 'onReady') {
|
if (msg.event === 'onReady') {
|
||||||
_onReady();
|
_onReady();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue