Implemented a clipboard that works across tabs and windows.

This commit is contained in:
KB Jørgensen
2018-01-18 13:37:49 +01:00
parent 6f7aa650f8
commit 02c8721c2d
4 changed files with 107 additions and 62 deletions

View File

@@ -1191,8 +1191,9 @@ svgedit.utilities.copyElem = function(el, getNextId) {
var ref = $(el).data('symbol');
$(new_el).data('ref', ref).data('symbol', ref);
} else if (new_el.tagName == 'image') {
preventClickDefault(new_el);
svgedit.utilities.preventClickDefault(new_el);
}
return new_el;
};