- onenote.git
- src
- electron
- window
- onenote
- action
- multi-action
- get-location.js
This file ( 547B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
let text
module.exports = () => {
var copy = function (e) {
e.preventDefault();
if (e.clipboardData) {
e.clipboardData.setData('text/plain', text);
} else if (window.clipboardData) {
window.clipboardData.setData('Text', text);
}
}
text = global.p3x.onenote.webview.src
window.addEventListener('copy', copy);
document.execCommand('copy');
window.removeEventListener('copy', copy);
global.p3x.onenote.toast.action(global.p3x.onenote.lang.label.copyLocationCopied)
}