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: 10/6/2022, 5:13:18 PM