Show info on yanked

This commit is contained in:
Shin'ya Ueoka 2017-10-08 19:08:51 +09:00
parent b0d2b53281
commit 7ac00fce6f
12 changed files with 84 additions and 31 deletions

View file

@ -15,4 +15,9 @@ const blur = (doc) => {
iframe.blur();
};
export { initialize, blur };
const postMessage = (doc, message) => {
let iframe = doc.getElementById('vimvixen-console-frame');
iframe.contentWindow.postMessage(JSON.stringify(message), '*');
};
export { initialize, blur, postMessage };