We dont support button html (#7500)

This commit is contained in:
Hariom Balhara
2023-03-03 09:30:44 -07:00
committed by GitHub
parent 62dcd6612c
commit b8b24c04dc
@@ -26,7 +26,7 @@ export class FloatingButton extends HTMLElement {
if (!buttonEl) {
throw new Error("Button not found");
}
buttonEl.innerHTML = newValue;
buttonEl.textContent = newValue;
} else if (name === "data-hide-button-icon") {
const buttonIconEl = this.shadowRoot?.querySelector<HTMLElement>("#button-icon");
if (!buttonIconEl) {