I’d say this definitely falls in the core of the app, since it has a native-interaction component to it. We could provide an API for plugins to override the suggestions though.
Electron does provide the spellchecker, but since we’re using CodeMirror, which doesn’t use content-editable, we actually need to hook up quite some code for the spellchecker to work in the editor.