Skip to content

Commit

Permalink
Add spellcheck suggestions and options to context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmeuli committed Apr 14, 2020
1 parent 10850bb commit 3b0baae
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 23 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"draft-js": "^0.11.5",
"draft-js-list-plugin": "^1.0.2",
"draft-js-plugins-editor": "^3.0.0",
"electron-context-menu": "^0.16.0",
"electron-context-menu": "^1.0.0",
"electron-debug": "^3.0.0",
"electron-log": "^4.1.1",
"electron-md-to-pdf": "^2.2.0",
Expand Down
5 changes: 4 additions & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ import { getWindow, setWindow } from "./window";

initLogger();
electronDebug();
contextMenu();
contextMenu({
showCopyImage: false,
showSearchWithGoogle: false,
});

async function createWindow(): Promise<BrowserWindow> {
const win = new BrowserWindow({
Expand Down
37 changes: 16 additions & 21 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4128,13 +4128,13 @@ electron-builder@^22.4.1:
update-notifier "^4.1.0"
yargs "^15.1.0"

electron-context-menu@^0.16.0:
version "0.16.0"
resolved "https://registry.yarnpkg.com/electron-context-menu/-/electron-context-menu-0.16.0.tgz#4f53b4640e321f536415a625505a908518f5dff7"
integrity sha512-lGr1/nRlNGmU8THc0hl2dYEB5bwXJpsi7vCjjsnsNGJKPZZLY8nHY3xvtjdtwKocErvp1h8wUb19moWenzoGPw==
electron-context-menu@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/electron-context-menu/-/electron-context-menu-1.0.0.tgz#ddf01999e51506dabd84ae3c7f0dab7dea6ef4fe"
integrity sha512-Vg20fMnUv/DQjcTg1F2pFVsufE+t5RhRDLbxMaPG5x7KOcevT7iWnNrenGPgAdPzezVMf/S2blin8jhUxJilcA==
dependencies:
cli-truncate "^2.0.0"
electron-dl "^1.2.0"
electron-dl "^3.0.0"
electron-is-dev "^1.0.1"

electron-debug@^3.0.0:
Expand All @@ -4145,14 +4145,14 @@ electron-debug@^3.0.0:
electron-is-dev "^1.1.0"
electron-localshortcut "^3.1.0"

electron-dl@^1.2.0:
version "1.14.0"
resolved "https://registry.yarnpkg.com/electron-dl/-/electron-dl-1.14.0.tgz#1466f1b945664ca3d784268307c2b935728177bf"
integrity sha512-4okyei42a1mLsvLK7hLrIfd20EQzB18nIlLTwBV992aMSmTGLUEFRTmO1MfSslGNrzD8nuPuy1l/VxO8so4lig==
electron-dl@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/electron-dl/-/electron-dl-3.0.0.tgz#42c5cb572af44e90b3aa4b709a14abe701bbc31c"
integrity sha512-TeBRv+vQgNVLGf/XLV4EYfYIBMI4TQcw84aDlM8xEm/1Lgxux3PUXDzaingivf+6jMvRojXSRPTHmiWI/6LrqQ==
dependencies:
ext-name "^5.0.0"
pupa "^1.0.0"
unused-filename "^1.0.0"
pupa "^2.0.1"
unused-filename "^2.1.0"

electron-is-accelerator@^0.1.0:
version "0.1.2"
Expand Down Expand Up @@ -8492,11 +8492,6 @@ punycode@^2.1.0, punycode@^2.1.1:
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==

pupa@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/pupa/-/pupa-1.0.0.tgz#9a9568a5af7e657b8462a6e9d5328743560ceff6"
integrity sha1-mpVopa9+ZXuEYqbp1TKHQ1YM7/Y=

pupa@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/pupa/-/pupa-2.0.1.tgz#dbdc9ff48ffbea4a26a069b6f9f7abb051008726"
Expand Down Expand Up @@ -10740,13 +10735,13 @@ unset-value@^1.0.0:
has-value "^0.3.1"
isobject "^3.0.0"

unused-filename@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/unused-filename/-/unused-filename-1.0.0.tgz#d340880f71ae2115ebaa1325bef05cc6684469c6"
integrity sha1-00CID3GuIRXrqhMlvvBcxmhEacY=
unused-filename@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/unused-filename/-/unused-filename-2.1.0.tgz#33719c4e8d9644f32d2dec1bc8525c6aaeb4ba51"
integrity sha512-BMiNwJbuWmqCpAM1FqxCTD7lXF97AvfQC8Kr/DIeA6VtvhJaMDupZ82+inbjl5yVP44PcxOuCSxye1QMS0wZyg==
dependencies:
modify-filename "^1.1.0"
path-exists "^3.0.0"
path-exists "^4.0.0"

upath@^1.1.1:
version "1.2.0"
Expand Down

0 comments on commit 3b0baae

Please sign in to comment.