feat(palette): add group-entry

Closes #954
This commit is contained in:
Niklas Kiefer 2019-05-08 11:09:06 +02:00
parent 1575b5b26f
commit 20f6d9ab03
2 changed files with 5 additions and 2 deletions

View File

@ -156,7 +156,10 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
dragstart: createParticipant,
click: createParticipant
}
}
},
'create.group': createAction(
'bpmn:Group', 'artifact', 'bpmn-icon-group'
),
});
return actions;

View File

@ -29,7 +29,7 @@ describe('features/palette', function() {
var entries = domQueryAll('.entry', paletteElement);
// then
expect(entries.length).to.equal(13);
expect(entries.length).to.equal(14);
}));
});