From b0b28a049f559e6099eff7939e995578be386ab1 Mon Sep 17 00:00:00 2001 From: Micle Bu Date: Fri, 17 Apr 2020 02:07:54 +0800 Subject: [PATCH] fix: Check lang installation before creating quasar-tip --- src/App.vue | 2 +- src/components/QuasarTiptap.vue | 11 +++++++++++ src/components/views/OKatexBlockView.vue | 2 -- src/index.js | 1 - 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/App.vue b/src/App.vue index 955e2f3..5030748 100644 --- a/src/App.vue +++ b/src/App.vue @@ -9,7 +9,7 @@ import Vue from 'vue' import { QuasarTiptapPlugin } from './index' Vue.use(QuasarTiptapPlugin, { - language: 'en-us', + language: 'zh-hans', spellcheck: true }) diff --git a/src/components/QuasarTiptap.vue b/src/components/QuasarTiptap.vue index e8c38e7..8a9e9da 100644 --- a/src/components/QuasarTiptap.vue +++ b/src/components/QuasarTiptap.vue @@ -22,6 +22,7 @@