# Check spelling and punctuation in a reply

The reply field points out mistakes the way Word does: a **red** wavy line marks a misspelled word, a **blue** one marks a missing comma, an extra space, a hyphen instead of a dash and other punctuation. Click the underline to open a card with an explanation and suggested fixes.

The check runs **in your browser**: the text is not sent anywhere, there is no AI and no third-party service, nothing to install. Languages: Ukrainian and English.

> Available only when the instance has «Operator reply: spelling and punctuation check» enabled (`ff_operator_text_check`). Ask your administrator or support to turn it on.

## Where it works

- the message field of messenger channels (Telegram, Viber, WhatsApp, Instagram, web widget and others);
- the email reply editor;
- internal notes.

Sent messages are not checked. The check **never blocks sending**: text with mistakes goes out as is if that is what you want.

## What is underlined

- **Red — spelling.** The word is not in the dictionary (Ukrainian or English, chosen by the word's alphabet).
- **Blue — punctuation and typography.** 43 rules: commas before Ukrainian «що», «який», «але», «щоб», «якщо», «тому що» and others; forms of address («Добрий день, Олено»); «будь ласка» set off with commas; introductory words; extra and missing spaces; a dash instead of a hyphen; «angle» quotation marks; the apostrophe; a capital letter at the start of a sentence; a repeated word; «на протязі» → «протягом», «вибачаюсь» → «перепрошую», «приймати участь» → «брати участь» and more. For English text — capital «I» and «a / an».
- Not checked: links, emails, phone numbers, `@mentions`, template variables `{{…}}`, words with digits, all-caps abbreviations (LLC, SMS), the quoted letter.

<!-- Screenshot: field with red and blue underlines — added by the demo. -->

## Fix a mistake

1. Click the underlined word or sign.
2. A card opens above it: «Spelling» or «Punctuation», an explanation and the suggestions.
3. Click **Apply** (for spelling the first suggestion is used; you can click another one instead).
4. Changed your mind — **Ctrl+Z** (Cmd+Z on a Mac) brings the text back.

Keyboard: **Tab** moves to the card buttons, **Enter** presses a button, **Esc** closes only the card (editing a message is not cancelled).

<!-- GIF: click «замовленя» → Apply → Ctrl+Z — added by the demo. -->

## Ignore or add to dictionary

- **Ignore** — the underline disappears for this fragment in this dialog until the page is reloaded.
- **Add to dictionary** (spelling only) — the word goes to your **personal dictionary** and is no longer underlined in any field, also after a reload. Case does not matter: «Велтекс» and «велтекс» are the same word.

## Instance dictionary (for administrators)

Brand, product and city names that must count as correct for every operator:

1. Open `Settings -> Instance`, the feature flags section, «Operator Panel» group.
2. In **Text check dictionary** (`ff_operator_text_check_dictionary`) enter the words — **one per line**. Empty lines and lines starting with `#` are ignored; up to 2000 words, 40 characters each.
3. Save. Operators get the change after reloading the page.

## First use

The first time you focus the field, the browser downloads the dictionaries once (≈2.5 MB) and keeps them in its cache. While they load (usually under a second) punctuation already works and spelling appears a moment later. If the card says «Looking for suggestions…», they fill in by themselves.

## Troubleshooting

- **No underlines at all** — the feature is not enabled on the instance; ask your administrator.
- **Only blue, never red** — the browser or network blocked the dictionary download; spelling is off until the page is reloaded and the messenger field falls back to the browser's own spellcheck. Reload the page; if that does not help, contact support.
- **A correct word is red** — add it to your dictionary or ask the administrator to add it to the instance dictionary.
- **Blue where no comma is needed** — click Ignore. The rules suggest, they do not decide for you.

## Related

- [Reply to a client](/en/operatorline/how-to/reply-to-client.md)
- [Edit, delete and colour an internal note](/en/operatorline/how-to/edit-internal-note.md)
- [Operator hub](/en/operatorline/operator-hub.md)
