files_texteditor icon indicating copy to clipboard operation
files_texteditor copied to clipboard

Add a Spell Check Function

Open jbrice opened this issue 8 years ago • 1 comments

Spelling check?? Either built-in or enabling the use of browser spell-check function would be so useful, and especially so for apps based on this one, such as Markdown Editor.

jbrice avatar Sep 17 '17 11:09 jbrice

The spell check is explicitly disabled in the HTML of the text editor:

<textarea class="ace_text-input" autocorrect="off" autocapitalize="off" spellcheck="false" style="opacity: 0; height: 15px; width: 7px; left: 128px; top: 0px;" wrap="off"></textarea>

It seems that the implementation of the text editor use some <div> element to add the user text and not the

<div class="ace_line" style="height:15px">sdfsf sfsdf sdfs sdfsdf sdfsf ffff sdfsfqdf sdfsdf sdfsdf sdfsdf </div>

I wondering if it could be enough to add the following properties (contenteditable="true" spellcheck="true") to the <div> element in order to have the support of the spell check:

<div class="ace_line" style="height:15px" contenteditable="true" spellcheck="true">sdfsf sfsdf sdfs sdfsdf sdfsf ffff sdfsfqdf sdfsdf sdfsdf sdfsdf </div>

Do you plan to add the support of the spell check in the text editor?

Vince4Git avatar Oct 15 '18 14:10 Vince4Git