🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@grammarly/react-quill

Package Overview
Dependencies
Maintainers
7
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grammarly/react-quill

Grammarly plugin for React + Quill

latest
Source
npmnpm
Version
0.11.0
Version published
Maintainers
7
Created
Source

Grammarly plugin for React + Quill

Bringing the Grammarly experience to apps that use Quill. No browser extension is required.

Getting started

Install the Grammarly plugin for Quill:

npm install @grammarly/react-quill

Set up an instance of the Quill editor with Grammarly:

// 1. Import Grammarly components
import { GrammarlyQuill } from "@grammarly/react-quill";

import React from "react";
import ReactQuill from "react-quill";

export function QuillEditor() {

  // 2. Render using <GrammarlyQuill>
  return (
    <GrammarlyQuill clientId="your-client-id-here">
      {({ setEditor }) => {
        <ReactQuill ref={quillRef => setEditor(quillRef.getEditor())}>
      }}
    </GrammarlyQuill>
  );
}

FAQs

Package last updated on 12 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts