The SharePoint 2010 Ribbon has a Spelling button that spell checks the page. We are using CSS to hide the ribbon for certain lists that have custom Edit and Display forms. Is there a JavaScript function for this spell check feature I can just call from a link, so I don't have to display the ribbon?
1
-
I believe it all originates from sp.ui.spellcheck.js – Eric Alexander Sep 6 '16 at 13:19
1
I once achieved it this way:
<script language="javascript" type="text/javascript">
function doSpellCheck() {
SpellCheckEntirePage(‘/_vti_bin/SpellCheck.asmx’,‘/_layouts/SpellChecker.aspx’);
}
</script>
And
<a class="ms-toolbar" href="javascript:doSpellCheck()">Spelling…</a>
Following this article
Hope that helps!
-
Thanks, I found a similar answer on this blog, but I think the answer you found is cleaner. bigscholar.com/2013/01/03/… – CigarDoug Sep 6 '16 at 14:21
-
-