Vanessa 2024-03-08 16:52:26 +08:00
parent a18f1c6261
commit 9445a806ba

View file

@ -229,6 +229,12 @@ export const AIActions = (elements: Element[], protyle: IProtyle) => {
</div>
</div>`,
bind(element) {
/// #if MOBILE
element.setAttribute("style", "height: 100%;padding: 0 16px;");
element.querySelectorAll(".b3-menu__separator").forEach(item => {
item.remove();
})
/// #endif
const listElement = element.querySelector(".b3-list");
const inputElement = element.querySelector("input");
inputElement.addEventListener("keydown", (event: KeyboardEvent) => {