hello all , well , as i said in topic title , i have image generator , but i need to add auto correct to the prompt , i mean if i type " pepol " instead of " people " it gives me red underline " and ability to correct it like here for example

all 5 comments

sorted by: hot top controversial new old
[–] 2 points 1 year ago* (2 children)

if you construct this promptbox, add in 's settings

<textarea spellcheck="true" autocomplete="on" autocorrect="on" autocapitalize="on" rows="5" cols="50"></textarea>

spellcheck="true" - enables spell checking (may highlight errors).

autocomplete="on" - helps the browser to suggest text.

autocorrect="on" (for some browsers/devices) - auto-correct.

autocapitalize="on" - includes auto-capital letters.

or if you just use framework, then add in java script

textarea.spellcheck = true;
textarea.autocomplete = "on";
textarea.autocorrect = "on";
textarea.autocapitalize = "on"; 
  • source
  • hideshow 2 child comments
  • [–] 1 point 1 year ago (1 child)

    Most browsers have a grammar check option. You need to look into your browser settings and enable it.

  • source
  • hideshow 1 child comment