jQuery-gridmanager icon indicating copy to clipboard operation
jQuery-gridmanager copied to clipboard

gm.editableAreaFilter calls for every inctances of gridmanager

Open ypavlov opened this issue 7 years ago • 2 comments

I have 2 gridmanagers on same page, and gm.editableAreaFilter clear code for both instances when user clicks preview button. This code works globally

$('.'+gm.options.controlNestedEditable, canvasElem).remove();
$('.'+gm.options.gmContentRegion).contents().unwrap();

ypavlov avatar Jan 05 '17 11:01 ypavlov

What happens when you set up the instances like this? http://neokoenig.github.io/jQuery-gridmanager/demo/multiple.html

neokoenig avatar Jan 05 '17 12:01 neokoenig

I've created 3 instances (just for test, I'm not need 3 gridmanagers on same page) and it adds duplicated buttons to each next instance

http://screencloud.net/v/i056

ypavlov avatar Jan 05 '17 12:01 ypavlov