当前位置: 首页 > 文档资料 > tinyMCE 帮助文档 >

Spelling options

优质
小牛编辑
118浏览
2023-12-01

Spell Checker Pro

TinyMCE Spell Checker Pro is a premium feature that allows spell checking as-you-type and custom dictionary words.

For more information, see Check Spelling As-You-Type in the Premium Features section.

browser_spellcheck

This option configures TinyMCE to use the browser’s native spell checker.

browser_spellcheck is not available in either Internet Explorer 8 or 9, as neither browser has native spell checker functionality. For more complete browser support, we recommend using Spell Checker Pro.

Type: Boolean

Default Value: false

Possible Values: true, false

tinymce.init({
  selector: 'textarea',  // change this value according to your HTML
  browser_spellcheck: true
});

For more information about spell checking in TinyMCE, see this page in the General-configuration-guide/ guide.

gecko_spellcheck

Gecko Spell Check was deprecated in TinyMCE v4.3 (consider using #browser_spellcheck).

This option allows you to disable Gecko based browsers’ internal spell checker from being used in TinyMCE.

Type: Boolean

Default Value: true

Possible Values: true, false

Example
tinymce.init({
  selector: 'textarea',  // change this value according to your HTML
  gecko_spellcheck: false
});