perf[Tinymce]: update tinymce cdn version

This commit is contained in:
Pan 2019-05-13 09:57:33 +08:00
parent 3281d16131
commit b6aa00d5de
2 changed files with 1 additions and 3 deletions

View File

@ -107,8 +107,6 @@ export default {
const _this = this
window.tinymce.init({
language: this.language,
// language cnd URL, detail see https://github.com/PanJiaChen/tinymce-lang
language_url: this.language === 'en' ? '' : `https://cdn.jsdelivr.net/npm/tinymce-lang/langs/${this.language}.js`,
selector: `#${this.tinymceId}`,
height: this.height,
body_class: 'panel-body ',

View File

@ -60,7 +60,7 @@ module.exports = {
const cdn = {
// inject tinymce into index.html
// why use this cdn, detail see https://github.com/PanJiaChen/tinymce-all-in-one
js: ['https://cdn.jsdelivr.net/npm/tinymce-all-in-one@4.9.2/tinymce.min.js']
js: ['https://cdn.jsdelivr.net/npm/tinymce-all-in-one@4.9.3/tinymce.min.js']
}
config.plugin('html')
.tap(args => {