Back to reference

Grammarly

An optional context provider component for GrammarlyEditorPlugin.

See GrammarlyProps for supported props.

This page is for Vue 3, see Vue 2 documentation here.

Grammarly: DefineComponent<GrammarlyProps>

Examples

<template>
  <Grammarly clientId="YOUR_CLIENT_ID" :config="{ documentDialect: 'british' }">
    ...
    <GrammarlyEditorPlugin>
      <textarea />
    </GrammarlyEditorPlugin>
    ...
  </Grammarly>
</template>
Last Updated: 4/12/2023, 3:24:55 PM