mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-30 12:46:35 +00:00
parent
84a9ca59ef
commit
45200da32f
@ -91,6 +91,7 @@ export class HuiMarkdownCardEditor extends LitElement
|
|||||||
}
|
}
|
||||||
|
|
||||||
private _ignoreKeydown(ev: KeyboardEvent) {
|
private _ignoreKeydown(ev: KeyboardEvent) {
|
||||||
|
// Stop keyboard events from the paper-textarea from propagating to avoid accidentally closing the dialog when the user presses Enter.
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user