perf[Tinymce]: update tinymce cdn version
							parent
							
								
									3281d16131
								
							
						
					
					
						commit
						b6aa00d5de
					
				| 
						 | 
				
			
			@ -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 ',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue