mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-02 05:57:54 +00:00
Add save action (ctrl+s/cmd+s) to card editor
This commit is contained in:
parent
43bc9abb46
commit
95e9d6164d
@ -121,6 +121,7 @@ export class HuiEditCard extends LitElement {
|
|||||||
<hui-yaml-editor
|
<hui-yaml-editor
|
||||||
.value="${this._configValue!.value}"
|
.value="${this._configValue!.value}"
|
||||||
@yaml-changed="${this._handleYamlChanged}"
|
@yaml-changed="${this._handleYamlChanged}"
|
||||||
|
@yaml-save="${this._save}"
|
||||||
></hui-yaml-editor>
|
></hui-yaml-editor>
|
||||||
`}
|
`}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user