SilverStripe\SpellCheck\Handling\SpellCheckAdminExtension
Update html editor to enable spellcheck
Synopsis
class SpellCheckAdminExtension
extends Extension
{
- // members
- private static string $editor = 'cms';
- // methods
- public void init()
- public array getLanguages()
- public string|false getDefaultLocale()
Hierarchy
Extends
- SilverStripe\Core\Extension
Uses
- SilverStripe\Core\Config\Configurable
Members
private
- $editor
—
string
HTMLEditorConfig name to use
Methods
public
- getDefaultLocale() — Returns the default locale for TinyMCE. Either via configuration or the first in the list of locales.
- getLanguages() — Check languages to set
- init()