Add WProofreader spelling and grammar check module for Quill#1
Merged
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bohdan-Chui
requested changes
Jun 18, 2026
Bohdan-Chui
left a comment
Contributor
There was a problem hiding this comment.
Looks very good. Please, add video example of usage
Bohdan-Chui
reviewed
Jun 19, 2026
Bohdan-Chui
reviewed
Jun 19, 2026
Bohdan-Chui
reviewed
Jun 19, 2026
Bohdan-Chui
reviewed
Jun 19, 2026
Contributor
|
Is this plugin compatible with quill 1..? |
Bohdan-Chui
requested changes
Jun 19, 2026
Bohdan-Chui
requested changes
Jun 22, 2026
Co-authored-by: Bohdan <83748023+Bohdan-Chui@users.noreply.github.com>
Co-authored-by: Bohdan <83748023+Bohdan-Chui@users.noreply.github.com>
Co-authored-by: Bohdan <83748023+Bohdan-Chui@users.noreply.github.com>
Bohdan-Chui
approved these changes
Jun 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the initial implementation of WProofreader as a native Quill module. Spelling and grammar checking is enabled declaratively through Quill's configuration, with a toolbar dropdown button that follows the editor's state.
What's included
src/index.jsentry +src/wproofreader.js), registered asmodules/wproofreader. It initializes WProofreader via the@webspellchecker/wproofreader-sdk-jsSDK and exposesenable,disable,toggle,openSettings,openDialog,isDisabled, anddestroy.src/wproofreader-dropdown.js): when the editor has a toolbar, a WProofreader button is injected; clicking it opens a dropdown with Disable, Settings, and Proofread in dialog when enabled, and Enable when disabled. The actions are performed by the WProofreader engine.quill.enable().src/styles.css), exported as@webspellchecker/wproofreader-quill/styles.css, and the button icon (src/icon.svg).src/index.d.ts).tests/.github/workflows/ci.yml): runs test suite on pull requests and pushes tomain.How it works
modules.wproofreader; options are forwarded to the SDK'sinit().srcUrlselects the bundle (cloud default, or an on-premise URL).init({ container: quill.root }). It does not enable the page-wideautoSearchoption.appType: "wpr_quill"to identify the integration; this value is fixed and ignores anyappTypepassed in the config.quill.root(src/events.js), with no direct references in either direction. WProofreader'sdestroy()tears down the dropdown via an event.quilland@webspellchecker/wproofreader-sdk-jsare peer dependencies; the SDK loads the engine at runtime.Build and packaging
dist/index.js(ESM) anddist/index.umd.cjs(UMD);quilland the SDK are external.Test plan
npm test(27 passing)npm run build(ESM + UMD)Video demo
Screen.Recording.2026-06-23.at.07.55.48.mov