Merge pull request #85 from TobiasKrais/main
avoid sending surrounding form
This commit is contained in:
commit
5c2f197ed3
|
@ -62,9 +62,9 @@ const createTranslateResultPanel = (holder: Holder) => {
|
||||||
resultPanel.innerHTML = `
|
resultPanel.innerHTML = `
|
||||||
<textarea rows="5" readonly></textarea>
|
<textarea rows="5" readonly></textarea>
|
||||||
<div>
|
<div>
|
||||||
<button id="cancel">${t("ai-cancel")}</button>
|
<button type="button" id="cancel">${t("ai-cancel")}</button>
|
||||||
<button id="append">${t("ai-append")}</button>
|
<button type="button" id="append">${t("ai-append")}</button>
|
||||||
<button id="replace">${t("ai-replace")}</button>
|
<button type="button" id="replace">${t("ai-replace")}</button>
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
|
|
||||||
|
@ -155,4 +155,4 @@ export const Translate = {
|
||||||
})
|
})
|
||||||
return holder;
|
return holder;
|
||||||
},
|
},
|
||||||
} as BubbleMenuItem
|
} as BubbleMenuItem
|
||||||
|
|
Loading…
Reference in New Issue