3
votes

I want the spell check that the gecko_spellcheck provides to work on the initial content on TinyMCE. The spell check will work okay with new typed information, but it will not have the spell check with content already in the editor. Any suggestions? Is this even possible?

I've tried, specific for TinyMCE, following the path given in this advice - Problems with gecko_spellcheck in TinyMCE.

I've tried putting this code into numerous events in the TinyMCE editor -- such as, onPostReder, onInit, onSaveContent.

Thank you.

I'm trying to avoid the button-style spell checking that's been seen around on the web.

1
@adamb thanks for the advice! - hmzglenn

1 Answers

0
votes

One solution is to reset the content oninit

var editor = tinymce.get('your_editor_id');
editor.setContent(editor.getContent());

This triggers the spellcheck functionality of your browser.