Open DenitsaGencheva opened 6 years ago
@DenitsaGencheva what version of electron are you using? There were multiple bugs with spellchecker APIs not working in iframes and other places in Electron.
@Anrock thank for replying. Currently, I'm using electron 2.0.4 and the latest stable version of spellchecker. Which one should I use?
@DenitsaGencheva 1.7 or 3.0+. https://github.com/electron/electron/issues/13514 https://github.com/electron/electron/issues/11868
@DenitsaGencheva and anyway this lib looks abandoned, so consider migrating to something else. https://github.com/kwonoj/electron-hunspell looks like a good candidate.
We have enabled the spellchecker in our electron desktop app, but it does not work in the most important place - the editor. We are using the TinyMCE editor. Here is the way we build our app:
And in the preload.js we load the code for the spellchecker the same way as shown in this example: https://ourcodeworld.com/articles/read/485/how-to-implement-and-enable-the-grammar-and-spellchecker-in-electron-framework
Is there a way to make it work in the iframe that is placed by the TinyMCE editor?