Installation and usage is pretty straightforward. You have to install the following package in your solution:
Install-Package EPiServer.TinyMCESpellChecker
The Spellcheck button will be added at the end of the toolbar.

There are many dictionaries that are included with the add-on by default, but if you get an error message as follows, you should install the missing dictionary.

To fix it, I am going to use the English dictionary that comes with the add-on, and I will rename it to “en-US” to fit the default language of my site:
- Unzip the file EPiServer.TinyMCESpellChecker.zip which is located at \modules\_protected\EPiServer.TinyMCESpellChecker
- Copy the files from Dictionaries\en and paste them in the add-on folder \modules\_protected\EPiServer.TinyMCESpellChecker\Dictionaries\en-US
- Make sure the file structure looks like:

Using Spellchecker for specific properties
The following code shows how to configure Spellchecker only for the MainBody of the Product Page:
[ModuleDependency(typeof(EPiServer.TinyMCESpellChecker.InitializationModule))]
public class ExtendedTinyMceInitialization : IConfigurableModule
{
private ServiceConfigurationContext _serviceConfigurationContext;
public void Initialize(InitializationEngine context)
{
_serviceConfigurationContext.Services.Configure<TinyMceConfiguration>(config =>
{
config.For<ProductPage>(p => p.MainBody, config.Default())
.DisableMenubar()
.Toolbar("bold italic underline strikethrough | spellchecker");
});
}
public void Uninitialize(InitializationEngine context)
{
}
public void ConfigureContainer(ServiceConfigurationContext context)
{
// Always use the Initialize method to configure a custom property
this._serviceConfigurationContext = context;
}
}
