Skip to content

Spellchecker plugin v.2.1

What it does

This plugin adds spellcheck functionality to Xeditor. It uses Hunspell dictionaries and is based on language tools.

Installation

First you have to switch into your project location using the command line.

cd path/to/your/project

Now you should be in the same directory as the package.json file. Then you can install the plugin as follows:

npm install @xeditor/plugin-spellchecker --save --registry https://npm.xeditor.com:4873

Configuration

The demo configuration of the plugin looks like this:

{
    pluginId: 'spellchecker',
    ptype: 'uxxeditorspellchecker',
    spellCheckerURL: '/editor/spellchecker'
}

API

The API for the plugin can be found here: spellchecker plugin API

Buttons

This plugin exports the following button templates that can be used in your toolbar configuration:

Name Function
button:xeditor.spellchecker.configure Opens spell check language configuration window
button:xeditor.spellchecker.check Toggles spell check

Changelog

v2.1.1

Bugfixes

  • Fixed bug for pasting content into Xeditor that prevented pasted content to be checked
  • Fixed Spellchecker to handle comments and other none element nodes properly
  • Fixed Bug to use always the correct language container

v2.1.0

Changes

  • Added feature to check only the current documentpart

Bugfixes

  • Fixed logic for spellchecker offset calculation when text is removed