Back to LanguageTool Homepage - Privacy - Imprint

Integration with TinyMCE 4

(BOB41K) #1

LanguageTool works pretty good with TinyMCE 3 using After the Deadline plugin. But it seems to me that it doesn't work with the latest TinyMCE version at all. Is there any way to fix it? Am I doing something wrong?

(Daniel Naber) #2

I'm not aware of any efforts to make LT work with TinyMCE 4. If you make it work, please let us know how.

(Rick Meyer) #3

I've been working on this a little bit. Unfortunately the call that is used to create the drop down menu showing the suggested spellings doesn't exist in TinyMCE 4. The call is at line 667 of the editor_plugin2.js used on the languagetool site, called ed.controlManager.createDropMenu. In TinyMCE 4 the controlManager does not exist and therefore the createDropMenu call doesn't exist. I figure there has to be a way to replicate this functionality in TinyMCE4, but I'm not enough of a javascript developer to figure it out yet. I also haven't been able to find any examples elsewhere explaining how to do this. If anybody here has a suggestion, I would love to see it.