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
[–] [S] 1 point 1 year ago (1 child)
  • [–] 1 point 1 year ago

    oh i forgot one line

    const textarea = document.querySelector('textarea');
    textarea.spellcheck = true;
    textarea.autocomplete = "on";
    textarea.autocorrect = "on";
    textarea.autocapitalize = "on";
    

    tell me later if it worked or not

  • source
  • parent