feat: support translate all now

This commit is contained in:
Gabe
2025-10-01 21:18:53 +08:00
parent 3c5ffc045f
commit c993c15c92
8 changed files with 56 additions and 38 deletions

View File

@@ -73,7 +73,7 @@ background: linear-gradient(
export const DEFAULT_SELECTOR =
"h1, h2, h3, h4, h5, h6, li, p, dd, blockquote, figcaption, label, legend";
export const DEFAULT_IGNORE_SELECTOR =
"aside, button, footer, form, header, pre, mark, nav";
"aside, button, footer, form, pre, mark, nav";
export const DEFAULT_KEEP_SELECTOR = `a:has(code)`;
export const DEFAULT_RULE = {
pattern: "", // 匹配网址