Skip to content

divvun/divvun-webeditor

Repository files navigation

Divvun TextChecker Webeditor

A static site with a Quill editor integrated with the Divvun Grammar and Spell Checker API for real-time grammar and spell checking for many of the GiellaLT languages.

Features

  • Quill.js rich text editor
  • Real-time grammar checking with wavy underlines (red for typos, blue for other errors)
  • Custom context menu with correction suggestions
  • Check-as-you-type with 800ms debounce
  • Disabled native spellcheck

Commands

This project uses Deno and Lume for building and serving.

Build the site

deno task build

This builds the static site into the _site directory.

Serve the site locally

deno task serve

This starts a local development server. The site will be available at http://localhost:3000 (or similar).

Run Lume directly

deno task lume

This is equivalent to the build command, running Lume's CLI.

Usage

  1. Run deno task serve to start the development server.
  2. Open the editor page in your browser.
  3. Select a language from the dropdown.
  4. Start typing - grammar and spelling errors will be highlighted in real-time.
  5. Right-click on highlighted errors to see correction suggestions.
  6. Use the "Clear" button to reset.

Requirements

API

Uses the Divvun API

About

Online grammar and spell checking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published