npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@webspellchecker/wproofreader-quill

v1.0.0

Published

WProofreader spelling and grammar check as a native Quill module.

Readme

WProofreader module for Quill

The multilingual spelling and grammar checking solution for Quill. It provides both instant and in dialog proofreading modes in a convenient UI, registered as a native Quill module.

The module inherits all functionality of the WProofreader component and features of the editor. For more details, visit the WProofreader repo or official web page.

Table of contents

Install instructions

  1. Install the module.

    npm install @webspellchecker/wproofreader-quill

    Requires Quill 2.x.

    WProofreader renders its own in-editor badge for instant and in dialog proofreading.

    import Quill from 'quill';
    import '@webspellchecker/wproofreader-quill';
    import '@webspellchecker/wproofreader-quill/styles.css';
    
    new Quill('#editor', {
    	theme: 'snow',
    	modules: {
    		toolbar: [ /* ... */ ],
    		wproofreader: {
    			/* config of WProofreader */
    		}
    	}
    });

    WProofreader button also can be added to the Quill toolbar (see Toolbar button).

  2. Configure the module.

    For a detailed list of options, refer to the documentation.

    For the Cloud-based version of WProofreader:

    wproofreader: {
    	lang: 'en_US', // sets the default language
    	serviceId: 'your-service-ID', // required for the Cloud version only
    }

    serviceId is a mandatory parameter for activating the Cloud-based version.

    For the Server-based version of WProofreader:

    wproofreader: {
    	lang: 'en_US', // sets the default language
    	serviceProtocol: 'https',
    	serviceHost: 'localhost',
    	servicePort: '443',
    	servicePath: 'virtual_directory/api', // by default the virtual_directory is wscservice
    	srcUrl: 'https://host_name/virtual_directory/wscbundle/wscbundle.js'
    }

    Unlike the Cloud-based version, the serviceId parameter is not used here. Instead, specify the path to the backend entry point hosted on your infrastructure.

    If the editor starts read-only (readOnly: true), proofreading is disabled on startup to match the editor state.

Toolbar button

To show the WProofreader button, add 'wproofreader' to the toolbar configuration:

new Quill('#editor', {
	theme: 'snow',
	modules: {
		toolbar: [
			['bold', 'italic', 'underline'],
			['wproofreader'] // the WProofreader button
		],
		wproofreader: {
			serviceId: 'your-service-ID',
			lang: 'en_US'
		}
	}
});

Clicking the button opens a dropdown with the following options:

  • Toggle, turns proofreading on or off.
  • Settings, opens the WProofreader settings dialog.
  • Proofread in dialog, opens the proofreading dialog.

While proofreading is off, only Toggle is shown; Settings and Proofread in dialog appear once it is on.

If the toolbar does not include 'wproofreader' (or the editor has no toolbar, for example with the bubble theme), the button is not added, and WProofreader's own badge provides the controls.

Programmatic control

Reach the module through Quill's registry:

const wp = quill.getModule('wproofreader');
wp.disable();       // stop proofreading
wp.enable();        // resume
wp.toggle();        // flip state
wp.isDisabled();    // current state, true when off
wp.openSettings();  // open the settings dialog
wp.openDialog();    // open the proofreading dialog
wp.destroy();       // remove WProofreader and release resources

NB: As Quill doesn't provide module-teardown lifecycle, wp.destroy() should be called on removal the editor.

Documentation

License

Licensed under the terms of the MIT license. For full details, see the LICENSE file.