bdceea6aca
Chromium commit [03563dd163][1] changed the way that the
spellcheck-enabled status was checked, defaulting to false.
Added the first (!) test for spellchecking, too.
Fixes #13608.
[1]: 03563dd163
13 lines
298 B
HTML
13 lines
298 B
HTML
<html>
|
|
<body>
|
|
<script type="text/javascript" charset="utf-8">
|
|
const {ipcRenderer, webFrame} = require('electron')
|
|
webFrame.setSpellCheckProvider('en-US', true, {
|
|
spellCheck: text => {
|
|
ipcRenderer.send('spec-spell-check', text)
|
|
}
|
|
})
|
|
</script>
|
|
<input autofocus />
|
|
</body>
|
|
</html>
|