Show info on yanked
This commit is contained in:
parent
b0d2b53281
commit
7ac00fce6f
12 changed files with 84 additions and 31 deletions
|
@ -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 };
|
||||
|
|
Reference in a new issue