mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-28 07:17:21 +00:00
Bump codemirror (#9052)
This commit is contained in:
parent
f8aa472409
commit
6d80f15a98
@ -124,10 +124,6 @@ export class HaCodeEditor extends UpdatingElement {
|
|||||||
}
|
}
|
||||||
</style>`;
|
</style>`;
|
||||||
|
|
||||||
const container = document.createElement("span");
|
|
||||||
|
|
||||||
shadowRoot.appendChild(container);
|
|
||||||
|
|
||||||
this.codemirror = new this._loadedCodeMirror.EditorView({
|
this.codemirror = new this._loadedCodeMirror.EditorView({
|
||||||
state: this._loadedCodeMirror.EditorState.create({
|
state: this._loadedCodeMirror.EditorState.create({
|
||||||
doc: this._value,
|
doc: this._value,
|
||||||
@ -160,7 +156,7 @@ export class HaCodeEditor extends UpdatingElement {
|
|||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
root: shadowRoot,
|
root: shadowRoot,
|
||||||
parent: container,
|
parent: shadowRoot,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
12
yarn.lock
12
yarn.lock
@ -1890,9 +1890,9 @@
|
|||||||
"@codemirror/view" "^0.18.0"
|
"@codemirror/view" "^0.18.0"
|
||||||
|
|
||||||
"@codemirror/rangeset@^0.18.0":
|
"@codemirror/rangeset@^0.18.0":
|
||||||
version "0.18.0"
|
version "0.18.1"
|
||||||
resolved "https://registry.yarnpkg.com/@codemirror/rangeset/-/rangeset-0.18.0.tgz#8b3bec00c1cee8c3db3827a752a76819ead2dfab"
|
resolved "https://registry.yarnpkg.com/@codemirror/rangeset/-/rangeset-0.18.1.tgz#0e51e1117fa5aae0134073735a07c659f334a699"
|
||||||
integrity sha512-+dpK3T6EFv2vkoAc3sTZld0N5SHZDjD3YowFYuMWn0Xw3t+u6k+JZlGBuaFTXdsLeF0auclsm0XhRUpMVuXhTg==
|
integrity sha512-Q+t92KlvDDD9oNXOvYHNL3kEUF1Y595OjSsl5GNZYI2JPY8IW9PoH1z37sgqgxMMuWQrDNp6AOrnd2j/7uBhFA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@codemirror/state" "^0.18.0"
|
"@codemirror/state" "^0.18.0"
|
||||||
|
|
||||||
@ -1942,9 +1942,9 @@
|
|||||||
integrity sha512-HMzHNIAbjCiCf3tEJMRg6ul01KPuXxQGNiHlHgAnqPguq/CX+L4Nvj5JlWQAI91Pupk18zhmM1c6eaazX4YeTg==
|
integrity sha512-HMzHNIAbjCiCf3tEJMRg6ul01KPuXxQGNiHlHgAnqPguq/CX+L4Nvj5JlWQAI91Pupk18zhmM1c6eaazX4YeTg==
|
||||||
|
|
||||||
"@codemirror/view@^0.18.0":
|
"@codemirror/view@^0.18.0":
|
||||||
version "0.18.9"
|
version "0.18.11"
|
||||||
resolved "https://registry.yarnpkg.com/@codemirror/view/-/view-0.18.9.tgz#bc2e4a30556888a07490df293171880275e0cdc3"
|
resolved "https://registry.yarnpkg.com/@codemirror/view/-/view-0.18.11.tgz#3a9655758f0743cc57d718723b57ea49a72cdfa7"
|
||||||
integrity sha512-u/sqtt1Exbcpwzj/K37++eToT/MehS6LFE3rfYMNsoxmjT75z2oFM2Q9PLymu344ZxgjgUNWh5cWmVxdjFdTwA==
|
integrity sha512-hNWTEGTpfFk1tjUnq4VjREe77rQQiS2nnhK9CDvU2M44g7wtkCFLB8ymvNp+Swo21hfUix33o2MKBeb830961g==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@codemirror/rangeset" "^0.18.0"
|
"@codemirror/rangeset" "^0.18.0"
|
||||||
"@codemirror/state" "^0.18.0"
|
"@codemirror/state" "^0.18.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user