Socket
Socket
Sign inDemoInstall

@grammarly/react-quill

Package Overview
Dependencies
5
Maintainers
7
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @grammarly/react-quill

Grammarly plugin for React + Quill


Version published
Maintainers
7
Created

Readme

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

Last updated on 12 Mar 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc