TinyMCE4 Spellchecks

4 posts by 2 authors in: Forums > CMS Builder
Last Post: July 22, 2017   (RSS)

By Toledoh - July 12, 2017

Hi All.

It seems that the spellchecking doesn't work "out of the box" with the latest tinyMCE or am I doing something wrong?

Ive read that we need to include the following in wysiwyg-custom.php

browser_spellcheck : true,
gecko_spellcheck: true

However, this only highlights misspelt word - it doesn't offer solutions.  If I right-click, it brings up the insert options.

I've looked at https://www.tinymce.com/docs/get-started/spell-checking/#phpspellcheckercomponent and tried to implement but no go.

Any ideas?

Cheers,

Tim (toledoh.com.au)

By Dave - July 18, 2017

Hi Tim, 

The reason is Google dropped support for their Spellcheck API a while back.  And the other server-side spell check libraries didn't used to be bundled with PHP but it looks like "Enchant" is now so I'll look into supporting that and post back here.

Temporary workarounds include removing "contentmenu" plugin from /lib/wywisyg.php.  That will prevent the TinyMCE contextmenu and show the browser one.  Another workaround is to ctrl/cmd+right-click which will bring up the browser context menu.

Dave Edis - Senior Developer
interactivetools.com

By Toledoh - July 18, 2017

Thanks Dave.  Removing contextmenu helps for now.

Cheers,

Tim (toledoh.com.au)