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-froala

v1.0.1

Published

WProofreader spelling and grammar check as a native Froala Editor plugin.

Readme

WProofreader plugin for Froala Editor

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

The plugin 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 plugin.

    npm install @webspellchecker/wproofreader-froala

    Requires Froala Editor 4.x.

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

    import FroalaEditor from 'froala-editor';
    import '@webspellchecker/wproofreader-froala';
    
    new FroalaEditor('#editor', {
    	wproofreader: {
    		/* config of WProofreader */
    	}
    });

    For a setup without a build step, load the UMD bundle after Froala Editor:

    <script src="froala-editor/js/froala_editor.pkgd.min.js"></script>
    <script src="node_modules/@webspellchecker/wproofreader-froala/dist/index.umd.cjs"></script>

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

  2. Configure the plugin.

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

    For the Cloud-based version of WProofreader:

    wproofreader: {
    	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: {
    	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.

    Both classic (inline element) and iframe (iframe: true) editor modes are supported.

    If the editor starts read-only, proofreading is disabled on startup to match the editor state. While the HTML code view is active, proofreading is paused and resumes after switching back to the WYSIWYG view.

    Editors without a wproofreader configuration are not affected: the plugin stays inert for them.

Toolbar button

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

new FroalaEditor('#editor', {
	toolbarButtons: ['bold', 'italic', 'underline', '|', 'wproofreader'],
	wproofreader: {
		serviceId: 'your-service-ID',
		lang: 'en_US'
	}
});

Clicking the button opens a dropdown with the following options:

  • Enable or Disable, turns proofreading on or off; the item follows the current state.
  • Settings, opens the WProofreader settings dialog.
  • Proofread in dialog, opens the proofreading dialog.

If the toolbar does not include 'wproofreader', the button is not added, and WProofreader's own badge provides the controls.

Programmatic control

Reach the plugin through the editor instance:

const wpr = editor.wproofreader;
wpr.disable();       // stop proofreading
wpr.enable();        // resume
wpr.isDisabled();    // current state, true when off
wpr.openSettings();  // open the settings dialog
wpr.openDialog();    // open the proofreading dialog
wpr.destroy();       // remove WProofreader together with its toolbar button

Documentation

License

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