fixed: do not load link if not saved

This commit is contained in:
quenousimporte 2023-07-03 09:17:20 +02:00
parent 545915b497
commit ac32910267
1 changed files with 5 additions and 0 deletions

View File

@ -823,6 +823,11 @@ function tagatpos()
function clickeditor()
{
if (!saved)
{
console.log("Not saved, ctrl+click ignored.");
return;
}
if (event.ctrlKey)
{
var link = linkatpos();