A static site with a Quill editor integrated with the Divvun Grammar API for real-time grammar checking in Sami languages and Faroese.
- 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
- Support for Northern Sami, Southern Sami, Lule Sami, and Faroese
- Check-as-you-type with 800ms debounce
- Disabled native spellcheck
This project uses Deno and Lume for building and serving.
deno task build
This builds the static site into the _site
directory.
deno task serve
This starts a local development server. The site will be available at http://localhost:3000
(or similar).
deno task lume
This is equivalent to the build command, running Lume's CLI.
- Run
deno task serve
to start the development server. - Open the editor page in your browser.
- Select a language from the dropdown.
- Start typing - grammar errors will be highlighted in real-time.
- Right-click on highlighted errors to see correction suggestions.
- Use the "Clear" button to reset.
Uses the Divvun Grammar API