Index: doc/API_web.md ================================================================== --- doc/API_web.md +++ doc/API_web.md @@ -1,10 +1,10 @@ # API for the web ## Using the Grammalecte API for the web -**With Grammalecte 1.8+.** +**With Grammalecte 1.8+.** (beta stage) If Grammalecte is installed by the user on his browser (like Firefox or Chrome), you can call several functions for a better integration of grammar checking for your website. This is mostly usefull if you use non-standard textareas. @@ -18,10 +18,15 @@ - get raw results (list of errors) of grammar checking and spell checking, - get spelling suggestions for a wrong word. + +### Version of the Grammalecte Web API + + oGrammalecteAPI.sVersion + ### How it works Usually, webpage scripts can’t call methods or functions of browser extensions. @@ -120,10 +125,5 @@ let oResult = event.detail.oResult; let oInfo = event.detail.oInfo; // object containing the destination and the error_identifier ... } } - - -### Version of the Grammalecte Web API - - oGrammalecteAPI.sVersion