substance
Version:
Substance is a JavaScript library for web-based content editing. It provides building blocks for realizing custom text editors and web-based publishing systems.
13 lines (11 loc) • 324 B
JavaScript
import CorrectionTool from './CorrectionTool'
import SpellCheckCommand from './SpellCheckCommand'
export default {
name: 'spell-check',
configure: function(config) {
config.addCommand('correction', SpellCheckCommand, {
commandGroup: 'spell-check'
})
config.addTool('correction', CorrectionTool)
}
}