I want to trigger ctrl +c copy and ctrl +vcommand when I click of images, can you suggest how to achieve?
Hi @Chandishwar,
what do you mean with images? Do you mean the symbols itself?
You could use the normal CopyPaste
module to use it’s copy
and paste
functionalities on an element.click
event. So something like
var eventBus = modeler.get('eventBus'),
copyPaste = modeler.get('copyPaste');
eventBus.on('element.click', function(event) {
var element = event.element
// use copyPaste.copy + copyPaste.paste to copy/paste the element
});
Thanks for the inputs,