diff --git a/src/panels/lovelace/components/hui-yaml-editor.ts b/src/panels/lovelace/components/hui-yaml-editor.ts index 4e531525c6..a885737f31 100644 --- a/src/panels/lovelace/components/hui-yaml-editor.ts +++ b/src/panels/lovelace/components/hui-yaml-editor.ts @@ -9,7 +9,6 @@ declare global { "yaml-changed": { value: string; }; - "yaml-save": {}; } } @@ -74,9 +73,6 @@ export class HuiYamlEditor extends HTMLElement { }, }, }); - this.codemirror.commands.save = () => { - fireEvent(this, "yaml-save"); - }; fireEvent(this, "yaml-changed", { value: this._value }); this.codemirror.on("changes", () => this._onChange()); } else { diff --git a/src/panels/lovelace/editor/card-editor/hui-edit-card.ts b/src/panels/lovelace/editor/card-editor/hui-edit-card.ts index 898df84100..d8009dd746 100644 --- a/src/panels/lovelace/editor/card-editor/hui-edit-card.ts +++ b/src/panels/lovelace/editor/card-editor/hui-edit-card.ts @@ -121,7 +121,6 @@ export class HuiEditCard extends LitElement { `} diff --git a/src/panels/lovelace/hui-editor.ts b/src/panels/lovelace/hui-editor.ts index 73501d94c0..8d1c201fb9 100644 --- a/src/panels/lovelace/hui-editor.ts +++ b/src/panels/lovelace/hui-editor.ts @@ -61,10 +61,7 @@ class LovelaceFullConfigEditor extends LitElement {
- +