Daniel Naber <[email protected]> wrote:
> Hi,
>
> here's the very first version of a Javascript-based checker that underlines
> errors:
>
> http://www.languagetool.org/online-check/tiny_mce/plugins/atd-tinymce/demo.html
>
> Please give it a try and let me know about problems. For bug reports, please
> specify
> the exact text that you have used. One known bug is that an error is not
> found if the
> cursor is directly on the incorrect word.
>
> Once it's working well, this can be used on our homepage instead of the
> current text
> area (which is not so nice, as it redirects to a new page).
>
> Regards
> Daniel
Thanks, that looks promising. 2 remarks:
1/ underline for spelling errors and grammar errors are both blue.
How about giving a red color to spelling mistakes? (in other
words rules that match:
FSA HUNSPELL_RULE|HUNSPELL_NO_SUGGEST_RULE|MORFOLOGIK_RULE_.*
2/ just type ] in the text field and check the text.
The textfield is then replaced with:
<span class="hiddenGrammarError" desc="Unpaired bracket or similar
symbol" suggestions="">]
I think we need to escape XML special char somewhere.
Regards
-- Dominique
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel