OptionalpayloadThe picker result. Required when type is "picked"; omitted when "cancelled".
The provider ID this message originated from. Used to match against the awaiting listener.
Fixed discriminator. Messages without this exact value are silently ignored.
"picked" when a file was selected; "cancelled" when the user dismissed the picker.
Message shape used by custom picker pages to communicate results back to the host page via
window.postMessage. The host page (plugin) only accepts messages wheresourceequals"tinymce-multicloud-plugin"to prevent unrelated message injection.Example
Author
Salvatore Callari Callari@WaXCode.net