Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

MarshallOfSound
Copy link
Member

@MarshallOfSound MarshallOfSound commented Nov 22, 2019

This feature adds the missing capability of the "Add To Dictionary" context menu item for a mis-spelled word.

Notes: Added session.addWordToSpellCheckerDictionary API to support custom words in the dictionary

@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Nov 22, 2019
@MarshallOfSound MarshallOfSound added semver/minor backwards-compatible functionality target/8-x-y labels Nov 22, 2019
@nornagon
Copy link
Contributor

Why is this on session? Are dictionaries specific to a BrowserContext? It looks like they're not when using Chrome's spellchecker...

@MarshallOfSound
Copy link
Member Author

Are dictionaries specific to a BrowserContext? It looks like they're not when using Chrome's spellchecker...

Yes they are. https://github.com/electron/electron/pull/21266/files#diff-52cca0c5435ff413826d402cfdc8c0e4R717-R722

Each SpellcheckService is per-context. Same reason the other spell check methods are here as well

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Nov 23, 2019
docs/api/session.md Outdated Show resolved Hide resolved
@MarshallOfSound MarshallOfSound merged commit 149aaeb into master Nov 26, 2019
@release-clerk
Copy link

release-clerk bot commented Nov 26, 2019

Release Notes Persisted

Added session.addWordToSpellCheckerDictionary API to support custom words in the dictionary.

@trop
Copy link
Contributor

trop bot commented Nov 26, 2019

I have automatically backported this PR to "8-x-y", please check out #21297

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/minor backwards-compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.