Skip to main content
Version: 1.339.0

Spell Checker

This feature provides automatic spelling checks within the text editor, ensuring that end-users can easily identify and correct spelling errors as they create content. This functionality enhances the overall quality of the text, reducing errors and improving readability.

Enable or Disable​

By default, the spell checker is disabled. You can enable or disable the spell checker using the unlayer.init() method within the textEditor configuration.

unlayer.init({
features: {
textEditor: {
spellChecker: true, // Enable spell checker
},
},
});

Setting spellChecker: true enables the spell checker in the text editor, automatically underlining any misspelled words.


Best Practices​

  • Content Quality: It’s recommended to keep the spell checker enabled to ensure higher content quality and reduce the chance of typographical errors in emails, pages, or popups.
  • User Experience: For applications where language precision is important, the spell checker can help users improve their content without needing external tools.