# Is it technically feasible to implement customized Spell-Checker through plugin?

**URL:** https://community.onlyoffice.com/t/is-it-technically-feasible-to-implement-customized-spell-checker-through-plugin/5819
**Category:** Plugins
**Tags:** how-to-question
**Created:** [8 August 2023 01:36 UTC](https://community.onlyoffice.com/t/is-it-technically-feasible-to-implement-customized-spell-checker-through-plugin/5819 "2023-08-08T01:36:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Shang](https://community.onlyoffice.com/letter_avatar_proxy/v4/letter/s/90ced4/32.png) [@Shang](https://community.onlyoffice.com/u/Shang)
#### Post date: [8 August 2023 01:36 UTC](https://community.onlyoffice.com/t/is-it-technically-feasible-to-implement-customized-spell-checker-through-plugin/5819/1 "2023-08-08T01:36:35Z")

</div>

Document Server version: 6.4  
Installation method: Docker  
OS: Centos7.9  
Browser version: Microsoft Edge Version 115.0.1901.188 (Official build) (64-bit)

Hi, I’m finding ways to implement my customized spell-checker (because default spell-checker just contains specified languages, but not contains mine need)  
I read Api-documents, plugin examples, and discussions about that. I see one similar discussion[https://github.com/discussions/1882](https://github.com/ONLYOFFICE/DocumentServer/discussions/1882)]. I wonder some details about how to develop a plugin.  
Here’s my questions:

- Can I call plugin out of the editor or just in Plugin panel on the top? For example, can I create a button out of editor to control my plugin turn on/off.
- Can I add element into the right-click menu? Just like what built-in spellchecker do provide alternatives in right-click menu.
- I don’t find a way to extract contexts to String without user’s ‘selection’ operation in the Plugin-Api-Document. Is it possible to extract all contents in editor without any user’s operation?

English is not my native language, excuse typing errors.  
I previously posted this discussion on GitHub[[Is it technically feasible to implement customized SpellChecker through plugin? · ONLYOFFICE/DocumentServer · Discussion #2312 · GitHub](https://github.com/ONLYOFFICE/DocumentServer/discussions/2312)] but no answers.  
Any help is greatly appreciated.

---

<div class="post-metadata">

### Author: ![Alexandre](https://community.onlyoffice.com/user_avatar/community.onlyoffice.com/alexandre/32/285_2.png) [@Alexandre](https://community.onlyoffice.com/u/Alexandre)
#### Post date: [11 August 2023 12:20 UTC](https://community.onlyoffice.com/t/is-it-technically-feasible-to-implement-customized-spell-checker-through-plugin/5819/2 "2023-08-11T12:20:18Z")

</div>

Hello @Shang  
First of all, please take a look at this title:[Adding new fonts, languages and spellcheckers to ONLYOFFICE Docs - ONLYOFFICE](https://helpcenter.onlyoffice.com/installation/docs-community-install-fonts-windows.aspx)  
It describes the possibility of adding new spellchecking dictionary. Probably it will be useful.

As for your request in general. You can’t run a plugin from outside, probably it’s better to add it to autostart: [ONLYOFFICE Api Documentation - Config](https://api.onlyoffice.com/editors/config/editor/plugins#autostart)

As for right click menu, yes, it’s possible: [ONLYOFFICE Api Documentation - AddContextMenuItem](https://api.onlyoffice.com/plugin/executemethod/common/addcontextmenuitem)

> I don’t find a way to extract contexts to String without user’s ‘selection’ operation in the Plugin-Api-Document. Is it possible to extract all contents in editor without any user’s operation?

I’m not sure that I understand this part of message, please provide us with details of desired scenario.

Also, probably this method will be useful in your scenario: [ONLYOFFICE Api Documentation - InputHelper](https://api.onlyoffice.com/plugin/inputhelper)  
Plugin example with inputhelper: [sdkjs-plugins/example\_autocomplete at master · ONLYOFFICE/sdkjs-plugins · GitHub](https://github.com/ONLYOFFICE/sdkjs-plugins/tree/master/example_autocomplete)
