Merge pull request #85 from TobiasKrais/main

avoid sending surrounding form
This commit is contained in:
Michael Yang 2024-09-25 18:16:04 +08:00 committed by GitHub
commit 5c2f197ed3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -62,9 +62,9 @@ const createTranslateResultPanel = (holder: Holder) => {
resultPanel.innerHTML = `
<textarea rows="5" readonly></textarea>
<div>
<button id="cancel">${t("ai-cancel")}</button>
<button id="append">${t("ai-append")}</button>
<button id="replace">${t("ai-replace")}</button>
<button type="button" id="cancel">${t("ai-cancel")}</button>
<button type="button" id="append">${t("ai-append")}</button>
<button type="button" id="replace">${t("ai-replace")}</button>
</div>
`
@ -155,4 +155,4 @@ export const Translate = {
})
return holder;
},
} as BubbleMenuItem
} as BubbleMenuItem