Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active October 8, 2015 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/d94f3b482d7ffa849973 to your computer and use it in GitHub Desktop.
Save bjoerntx/d94f3b482d7ffa849973 to your computer and use it in GitHub Desktop.
TXTextControl.addEventListener("ribbonTabsLoaded", function (e) {
// enable hidden JS interface
TXTextControl.enableCommands();
// enable spell checking: 1 = true, 0 = false
TXTextControl.sendCommand(
TXTextControl.Command.EnableSpellChecking, 1);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment