[MM-20645] fix spellchecker (#1111)
This commit is contained in:

committed by
Dean Whillier

parent
4a54b58e65
commit
1dd8145943
@@ -52,7 +52,7 @@ export default {
|
|||||||
const actualOptions = Object.assign({}, defaultOptions, options);
|
const actualOptions = Object.assign({}, defaultOptions, options);
|
||||||
electronContextMenu({
|
electronContextMenu({
|
||||||
window: win,
|
window: win,
|
||||||
prepend(params) {
|
prepend(_defaultActions, params) {
|
||||||
if (actualOptions.useSpellChecker) {
|
if (actualOptions.useSpellChecker) {
|
||||||
const prependMenuItems = [];
|
const prependMenuItems = [];
|
||||||
if (params.isEditable && params.misspelledWord !== '') {
|
if (params.isEditable && params.misspelledWord !== '') {
|
||||||
|
Reference in New Issue
Block a user