From baf7d60af40e9cc3ce5403c5e109331098d5e1d6 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Fri, 7 Dec 2018 20:25:42 +0100 Subject: [PATCH] feat(Service): Add option to change spellchecking language by service --- .../settings/services/EditServiceForm.js | 7 +++++ src/components/ui/Select.js | 9 +++++- src/containers/settings/EditServiceScreen.js | 24 +++++++++++++- src/containers/settings/EditSettingsScreen.js | 18 ++++------- src/helpers/i18n-helpers.js | 26 ++++++++++++++++ src/models/Service.js | 3 ++ src/styles/select.scss | 4 +++ src/webview/plugin.js | 31 +++++++++++++++++-- src/webview/spellchecker.js | 2 -- 9 files changed, 105 insertions(+), 19 deletions(-) diff --git a/src/components/settings/services/EditServiceForm.js b/src/components/settings/services/EditServiceForm.js index d16ec35b8..0c869c16d 100644 --- a/src/components/settings/services/EditServiceForm.js +++ b/src/components/settings/services/EditServiceForm.js @@ -14,6 +14,7 @@ import Input from '../../ui/Input'; import Toggle from '../../ui/Toggle'; import Button from '../../ui/Button'; import ImageUpload from '../../ui/ImageUpload'; +import Select from '../../ui/Select'; import PremiumFeatureContainer from '../../ui/PremiumFeatureContainer'; @@ -333,6 +334,12 @@ export default @observer class EditServiceForm extends Component { + +
+