No need to set initial values for editing area base CSS

This commit is contained in:
Henrik Giesel 2021-01-29 17:51:26 +01:00
parent 32ee863577
commit 5e67e706fb

View File

@ -505,15 +505,7 @@ class EditingContainer extends HTMLDivElement {
this.addEventListener("oncut", onCutOrCopy);
const baseStyleSheet = this.baseStyle.sheet as CSSStyleSheet;
baseStyleSheet.insertRule(
`editing-area {
font-family: initial;
font-size: initial;
direction: initial;
color: initial;
}`,
0
);
baseStyleSheet.insertRule("editing-area {}", 0);
}
disconnectedCallback(): void {