bpmn-io/bpmn-js

The template element(hover) icon rendering error

Offen

#2.206 geöffnet am 21.07.2024

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.249 Forks)batch import
backlogbugelement templatesgood first issuemodeling

Repository-Metriken

Stars
 (7.739 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Describe the Bug

An element is backed by an element template with an attached icon. If I preview the element for append, then the custom icon is not shown.

image

Describe the solution

The preview picks up the custom icon, if @bpmn-io/element-template-icon-renderer is hooked up.

Environment

  • Browser: Chrome 126.0.6478.63
  • OS: macos 14.5
  • Library version: bpmn-js 17.9.1

Contributor Guide