{{#koenig-card class=(concat "ba b--white relative kg-card-hover miw-100 relative" (if isEditing "pt1 pb1 pl6 nl6 pr6 nr6")) headerOffset=headerOffset toolbar=toolbar isSelected=isSelected isEditing=isEditing selectCard=(action selectCard) deselectCard=(action deselectCard) editCard=(action editCard) onLeaveEdit=(action "leaveEditMode") editor=editor }} {{#if isEditing}} {{gh-cm-editor payload.code class="koenig-card-html--editor" autofocus=true lineWrapping=true update=(action "updateCode") }} {{else}}
{{escapedCode}}
{{/if}} {{/koenig-card}}