Adding blueprint input description markdown/multi-line support (#12291)

This commit is contained in:
Simon Vallières 2022-04-20 09:36:18 -04:00 committed by GitHub
parent d97763a3e8
commit 58d94da8b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,7 +188,12 @@ export class HaBlueprintAutomationEditor extends LitElement {
([key, value]) =>
html`<ha-settings-row .narrow=${this.narrow}>
<span slot="heading">${value?.name || key}</span>
<span slot="description">${value?.description}</span>
<ha-markdown
slot="description"
class="card-content"
breaks
.content=${value?.description}
></ha-markdown>
${value?.selector
? html`<ha-selector
.hass=${this.hass}