EditorConfig
Configuration to customize the Grammarly integration per Editor
instance.
interface EditorConfig {
activation?: "focus" | "immediate";
autocomplete?: string;
dictionaries?: string;
documentDialect?: Dialect;
documentDomain?: Domain;
introText?: string;
oauthAssertionProvider?: string | (() => Promise<{
assertion: string;
}>);
oauthRedirectUri?: string;
suggestionCards?: "on" | "off";
suggestionCategories?: SuggestionCategories;
toneDetector?: "on" | "off";
underlines?: "on" | "off";
userFeedback?: "on" | "off";
}
Properties
Activation strategy used by the Editor Plugin
"focus"
: Plugin activates once the text field is focused"immediate"
: Plugin activates immediately
Since: v2.0.0
Offers to complete phrases and emojis for your users as they type. Learn moreopen in new window
Autocomplete is not currently supported for <input>
fields.
"on"
: Plugin offers autocomplete and emoji autocomplete suggestions"text"
: Plugin offers autocomplete suggestions without emoji autocomplete"emoji"
: Plugin offers emoji autocomplete suggestions without core autocomplete functionality"off"
: Plugin does not offer autocomplete or emoji autocomplete suggestions
If you have a Content Security Policy (CSP), you will need to update it as described hereopen in new window.
Since: v1.7.0
Autocomplete is available only on the Plus plan. Learn moreopen in new window about our plans.
Use application dictionaries so that Grammarly stops flagging specific words as misspelled. Learn moreopen in new window
For a dictionary to be ready to use, the Dictionary status must be set to On in your App Console.
"on"
: Plugin uses all dictionaries that are ready to use"off"
: Plugin stops using all dictionaries"dictionary-a"
: To activate one dictionary, set the alias of one dictionary (wheredictionary-a
is an example alias)"dictionary-a dictionary-b"
: To activate two dictionaries, set the aliases of multiple dictionaries"dictionary-a dictionary-b dictionary-{n}"
: To activate n dictionaries, set the aliases of multiple dictionaries
Since: v2.5.0
Application dictionaries are available only on the Plus plan. Learn moreopen in new window about our plans.
Which English dialect should be assumed?
Since: v1.6.3
What is the style or type of writing?
Since: v1.6.3
Text shown to introduce first-time users to Grammarly.
This introductory text shows in the footer of suggestion cards until the user first accepts or dismisses a suggestion.
Since: v1.6.3
OAuth assertion to verify ownership of the clientId.
Since: v1.10.2
URI to redirect to after successful account connection.
Since: v1.6.3
Show suggestion cards when a user hovers over a suggestion underline.
Since: v1.9.0
Categories of suggestions that can be muted.
Muting suggestion categories is available only on the Plus plan. Learn moreopen in new window about our plans.
Show the tone detector interface (beside the Grammarly button).
Note that tone detection requires a text of at least 120 characters and will not activate if the text is over 2500 characters in length.
Since: v1.8.3
Tone detector is available only on the Plus plan. Learn moreopen in new window about our plans.
Show underlines for suggestions.
Since: v1.9.2
Collect user feedback after the user takes action on 5 suggestions.
We will not request feedback more than once in a 30 day period.
Since: v1.8.3
User feedback is required for the Free plan. Learn moreopen in new window about our plans.