diff --git a/app/src/ai/actions.ts b/app/src/ai/actions.ts
index 30bbc6725..ecbc97b51 100644
--- a/app/src/ai/actions.ts
+++ b/app/src/ai/actions.ts
@@ -166,7 +166,7 @@ export const AIActions = (elements: Element[], protyle: IProtyle) => {
});
let customHTML = "";
window.siyuan.storage[Constants.LOCAL_AI].forEach((item: { name: string, memo: string }, index: number) => {
- customHTML += `
+ customHTML += `
${escapeHtml(item.name)}
`;
diff --git a/app/src/menus/Menu.ts b/app/src/menus/Menu.ts
index 54866d1b3..fa0797f17 100644
--- a/app/src/menus/Menu.ts
+++ b/app/src/menus/Menu.ts
@@ -81,6 +81,7 @@ export class Menu {
private preventDefault(event: KeyboardEvent) {
if (!hasClosestByClassName(event.target as Element, "b3-menu") &&
+ !hasClosestByClassName(event.target as Element, "tooltip") &&
// 移动端底部键盘菜单
!hasClosestByClassName(event.target as Element, "keyboard__bar")) {
event.preventDefault();