chore: Add translate attribute to TextAreaInput for better accessibility

This commit is contained in:
kwaroran
2024-05-26 11:50:12 +09:00
parent fe98d54507
commit da8cd0005c
2 changed files with 3 additions and 0 deletions

View File

@@ -73,6 +73,7 @@
on:keydown={(e) => {
onInput()
}}
translate="no"
>{value ?? ''}</div>
{/if}
</div>

View File

@@ -10,6 +10,8 @@ import { appWindow } from '@tauri-apps/api/window';
import { isTauri } from "./storage/globalApi"
import { Marked } from "marked"
const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1
const mconverted = new Marked({
gfm: true,
breaks: true,