It’s not just what you say — it’s how you say it. With the tone detector activated, the Text Editor SDK identifies the tone of messages to help your users be confident they sound the way they intend.
How it works
If you’re familiar with Grammarly’s tone detectoropen in new window in other Grammarly product offerings, the Text Editor SDK feature operates in much the same way.
The tone detector analyzes the provided text and provides up to 3 tones sorted by intensity. The most intense tone is shown beside the Grammarly button:
Clicking this button reveals the top tones detected (up to 3) as well as their intensity:
Keep in mind the following:
- Detection requires at least 150 characters (a few sentences) of English.
- If multiple editors are present on the page, the tone detector reflects the active one only.
- Your users can turn tone detection on or off anytime from the settings menu.
- The exact list of detected tones (which includes dozens!) may evolve over time.
To activate or deactivate the tone detector, use the showToneDetector configuration option.
The Text Editor SDK may suggest specific tone improvements in the text. These suggestions are independent of whether or not the tone detector is on.
You can try these out by visiting the Demo and exploring the “Delivery” category.