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

you are viewing a single comment's thread
view the rest of the comments
[–] 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