Fixed an issue where the spellcheck warning would be shown even if spellchecking is disabled and/or the richtext field has no content (bug#10208).