Enhancements
1. WebSpellChecker Proofreader v1.3
1.1. Added new options for WProofreader management. Two new API options enableAutoSearchIn and disableAutoSearchIn are added to give more control over the autoSearch functionality.
- enableAutoSearchIn parameter allows enabling the autoSearch mechanism only for elements with provided class, id, data attribute name or HTML element type.
<script>
window.WEBSPELLCHECKER_CONFIG = {
...
enableAutoSearchIn: ['.class', '#id', '[data-attribute]', 'textarea'],
...
}
</script>
- disableAutoSearchIn parameter allows disabling the autoSearch mechanism by class, id, data attribute name, and HTML elements.
<script>
window.WEBSPELLCHECKER_CONFIG = {
...
disableAutoSearchIn: ['.class', '#id', '[data-attribute]', 'textarea'],
...
}
</script>
1.2. API documentation updates. API documentation is updated with the descriptions of the following parameters: autoSearch, enableAutoSearchIn, disableAutoSearchIn.
enableAutoSearchInInputs option is no longer supported as it was replaced by enableAutoSearchIn.
Bug Fixes
- [WP-2380] WProofreader: Focused state is missing when using keyboard navigation between Options, Languages, Dictionary, About tabs.
- [WP-2421] WProofreader: Incorrect area-label name for the opened state of the WProofreader Dialog icon.
- [WP-2442] WProofreader: Incompatibility of WProofreader with Froala Editor. Incorrect behavior of getFocusableElements in component.js in place with querySelectorAll and passed array (convert array to string).
- [WP-2426] WProofreader plugin for WordPress: Extra element appears on hovering a misspelled word when using WordPress (Admin).
- [WP-2420] Personal User Dictionary: After removing a dictionary, the words are not underlined and considered as incorrect.
- [WP-2450] Global Custom Dictionary: Dictionary doesn’t work after its renaming. Words added to the dictionary are of no effect.