1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-12-01 22:38:08 +00:00

Extend permalink/permaview to optionally copy URL to the clipboard

Fixes #3255
This commit is contained in:
Jermolene
2018-08-16 19:39:18 +01:00
parent b55a3102be
commit 5a2e87eb09
4 changed files with 68 additions and 33 deletions

View File

@@ -263,4 +263,9 @@ exports.copyToClipboard = function(text,options) {
document.body.removeChild(textArea);
};
exports.getLocationPath = function() {
return window.location.toString().split("#")[0];
};
})();