This commit is contained in:
Vanessa 2023-02-15 10:05:40 +08:00
parent ae428b0da8
commit ca6dffe3f5

View file

@ -74,6 +74,7 @@ export const openCard = () => {
width: isMobile() ? "96vw" : "80vw",
height: "70vh",
});
(dialog.element.querySelector(".b3-dialog__scrim") as HTMLElement).style.backgroundColor = "var(--b3-theme-background)";
dialog.element.querySelector("input").focus();
const editor = new Protyle(dialog.element.querySelector("[data-type='render']") as HTMLElement, {
blockId: "",