diff --git a/main.js b/main.js index 5d5242e..7b61203 100644 --- a/main.js +++ b/main.js @@ -823,6 +823,11 @@ function tagatpos() function clickeditor() { + if (!saved) + { + console.log("Not saved, ctrl+click ignored."); + return; + } if (event.ctrlKey) { var link = linkatpos();