Disable Automatic Spell Checker
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
-
- Posts: 45
- Joined: Thu Feb 16, 2023 11:00 pm
Disable Automatic Spell Checker
Good morning,
We would like to disable the automatic spell checker in Oxygen Web. We attempted to use the setting "spell.check.options>automaticSpellCheck>false" within the options.xml file, but the system did not deactivate the feature.
We also tried "autocorrect.feature.state>false", but again, it didn’t work.
We found that disabling "Preferences > Enable automatic spell checking" sets the variable -oxy-core-spellcheck.enabled>false in Browser Local Storage, which effectively solved the issue.
However, we want this feature to be disabled by default for all users, without requiring them to manually change the setting.
Could you please advise us on how to configure this as the default in our framework?
Thank you in advance!
We would like to disable the automatic spell checker in Oxygen Web. We attempted to use the setting "spell.check.options>automaticSpellCheck>false" within the options.xml file, but the system did not deactivate the feature.
We also tried "autocorrect.feature.state>false", but again, it didn’t work.
We found that disabling "Preferences > Enable automatic spell checking" sets the variable -oxy-core-spellcheck.enabled>false in Browser Local Storage, which effectively solved the issue.
However, we want this feature to be disabled by default for all users, without requiring them to manually change the setting.
Could you please advise us on how to configure this as the default in our framework?
Thank you in advance!
image.png
image.png
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 258
- Joined: Wed Aug 30, 2023 2:33 pm
Re: Disable Automatic Spell Checker
Hello,
To disable spellcheck, you can add this entry [1] in options.xml according to the documentation. Alternatively, there is the option for the property set in the browser's local storage: -oxy-core-spellcheck.enabled to be set programmatically, depending on use cases, to either false or true.
[1] https://www.oxygenxml.com/doc/ug-webaut ... checker%3A
Best,
Cosmin
To disable spellcheck, you can add this entry [1] in options.xml according to the documentation. Alternatively, there is the option for the property set in the browser's local storage: -oxy-core-spellcheck.enabled to be set programmatically, depending on use cases, to either false or true.
[1] https://www.oxygenxml.com/doc/ug-webaut ... checker%3A
Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
-
- Posts: 45
- Joined: Thu Feb 16, 2023 11:00 pm
Re: Disable Automatic Spell Checker
Hello Cosmin,
I tested the "preferredChecker=2" option, but unfortunately it did not work.
Could you kindly show how to programmatically set the -oxy-core-spellcheck.enabled parameter?
Additionally, please note that we are using version 27.0 of Oxygen Web.
I tested the "preferredChecker=2" option, but unfortunately it did not work.
Could you kindly show how to programmatically set the -oxy-core-spellcheck.enabled parameter?
Additionally, please note that we are using version 27.0 of Oxygen Web.
-
- Site Admin
- Posts: 258
- Joined: Wed Aug 30, 2023 2:33 pm
Re: Disable Automatic Spell Checker
Hello,
If you are encountering the "Displaying only the first 500 spelling errors" message, it may be due to the fallback mechanism defaulting to English. To resolve this, you can set the xml:lang attribute on the root element of your documents to the appropriate language code. This will prevent the fallback to English and ensure that the correct language is used.
Best,
Cosmin
Setting the entry in options.xml will disable the spellcheck functionality, but it will still appear as active in the UI. Are you still seeing spellcheck errors after setting that entry in options.xml? Did you restart the server after modifying the options.xml file?I tested the "preferredChecker=2" option, but unfortunately it did not work.
Please note that the -oxy-core-spellcheck.enabled setting stored in local storage will be overridden by the value set through the user interface (UI). Therefore, relying on the local storage value for this option is not recommended.Could you kindly show how to programmatically set the -oxy-core-spellcheck.enabled parameter?
If you are encountering the "Displaying only the first 500 spelling errors" message, it may be due to the fallback mechanism defaulting to English. To resolve this, you can set the xml:lang attribute on the root element of your documents to the appropriate language code. This will prevent the fallback to English and ensure that the correct language is used.
Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service