DHTML same template on left panel and on drawn in design studio

Hi,
I have created a working dhtmlx. but when i give template to addShape like below defined.

diagramEditor.diagram.addShape("task", {
  template: taskTemplate,
  defaults: taskDefault,
});

then the taskTemplate will be exact the same for left panel and a task added to the back screen. changing one will effect the other
i want to change both template.
like its design should be different for left panel and different for the task drawn.
any assistance in this regard will be highly appreciated.

Could you please, clarify your issue with some code snippet or screenshot?