chore: Add translate attribute to TextAreaInput for better accessibility
This commit is contained in:
@@ -73,6 +73,7 @@
|
|||||||
on:keydown={(e) => {
|
on:keydown={(e) => {
|
||||||
onInput()
|
onInput()
|
||||||
}}
|
}}
|
||||||
|
translate="no"
|
||||||
>{value ?? ''}</div>
|
>{value ?? ''}</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ import { appWindow } from '@tauri-apps/api/window';
|
|||||||
import { isTauri } from "./storage/globalApi"
|
import { isTauri } from "./storage/globalApi"
|
||||||
import { Marked } from "marked"
|
import { Marked } from "marked"
|
||||||
|
|
||||||
|
const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1
|
||||||
|
|
||||||
const mconverted = new Marked({
|
const mconverted = new Marked({
|
||||||
gfm: true,
|
gfm: true,
|
||||||
breaks: true,
|
breaks: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user