未验证 提交 e28701cd 编写于 作者: 花裤衩 提交者: GitHub

perf[Tinymce]: add language option (#2159)

上级 5b943d71
......@@ -64,7 +64,9 @@ export default {
fullscreen: false,
languageTypeList: {
'en': 'en',
'zh': 'zh_CN'
'zh': 'zh_CN',
'es': 'es_MX',
'ja': 'ja'
}
}
},
......@@ -114,6 +116,7 @@ export default {
const _this = this
window.tinymce.init({
selector: `#${this.tinymceId}`,
language: this.languageTypeList['en'],
height: this.height,
body_class: 'panel-body ',
object_resizing: false,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册