Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spell checker not working #324

Open
salvadordf opened this issue Nov 28, 2020 · 5 comments
Open

Spell checker not working #324

salvadordf opened this issue Nov 28, 2020 · 5 comments
Labels
bug upstream Issue in the CEF libraries

Comments

@salvadordf
Copy link
Owner

salvadordf commented Nov 28, 2020

The spell checker in the latest CEF4Delphi version doesn't work.

This issue has been reported to the CEF project :
chromiumembedded/cef#3055

Workaround : Keep using the version in last CEF4Delphi release.
https://github.com/salvadordf/CEF4Delphi/releases/latest

@salvadordf salvadordf added bug upstream Issue in the CEF libraries labels Nov 28, 2020
@salvadordf
Copy link
Owner Author

Another workaround : Adding this code line before the GlobalCEFApp.StartMainProcess call in the DPR file
GlobalCEFApp.DisableFeatures := 'WinUseBrowserSpellChecker';

@willisnou
Copy link

Hi.
I added the line GlobalCEFApp.DisableFeatures := 'WinUseBrowserSpellChecker'; in my code but the spell checker continues working (failing in this case). EN seems work, but PT-BR don't. Do we have another workaround to disable spell checker?

I using as html editor.
image

@salvadordf
Copy link
Owner Author

Try using the TChromium.SpellChecking and TChromium.SpellCheckerDicts properties like this.

@willisnou
Copy link

Works really fine, thanks. But in my tests it must be setted before TChromium created event (i.e OnFormCreate), if it be set on BrowserCreatedMsg, seems not works.

@salvadordf
Copy link
Owner Author

Those properties modify the browser preferences. The preferences are updated automatically after the next navigation or you can also force an update when you call TChromium.UpdatePreferences manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug upstream Issue in the CEF libraries
Projects
None yet
Development

No branches or pull requests

2 participants