mirror of
https://github.com/home-assistant/frontend.git
synced 2025-10-22 10:09:47 +00:00
Bump codemirror (#9052)
This commit is contained in:
@@ -124,10 +124,6 @@ export class HaCodeEditor extends UpdatingElement {
|
||||
}
|
||||
</style>`;
|
||||
|
||||
const container = document.createElement("span");
|
||||
|
||||
shadowRoot.appendChild(container);
|
||||
|
||||
this.codemirror = new this._loadedCodeMirror.EditorView({
|
||||
state: this._loadedCodeMirror.EditorState.create({
|
||||
doc: this._value,
|
||||
@@ -160,7 +156,7 @@ export class HaCodeEditor extends UpdatingElement {
|
||||
],
|
||||
}),
|
||||
root: shadowRoot,
|
||||
parent: container,
|
||||
parent: shadowRoot,
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user