How to copy & paste with bpmn 0.15.1?

I can’t find the way to copy and paste elements with the last version.
I’m trying with the lasso tool but it doesn’t work.

I’m using the Firefox & Chrome in MacOS El Capitan.

Any help, please?

Oh WAIT

It’s not the command key, It’s the control key to copy and paste in MacOS, then the blog article is wrong (https://bpmn.io/blog/posts/2016-copy-paste-search-bpmn-js-0-15.html).

But the contextual sub menu to copy/paste is not displayed.

Hi,

I have just tried to use demo page to check it (using same - Firefox & Chrome in MacOS El Capitan).

Select all and lasso tool both work for selecting. And both shortcuts CTRL/CMD + C, CTRL/CMD + V work.

Context menu is not mentioned in this blog post - it is available only in the Camunda Modeler.
Feel free to contribute with a pull request to add this feature to the bpmn-js, as well.

Please check your shortcut mappings (browser extensions/OS).

Cheers,
Vladimir

Hello,

when you instantiate your Modeler you have to do it like this:

    var modeler = new BpmnModeler({
        container: canvas, 
        keyboard: { bindTo: document } 
    });

You must add the attribute “keyboard: { bindTo: document }”.

Kind regards,
rene51

2 Likes