fix[Tinymce]: fixed fullScreen bug #1400
This commit is contained in:
		@@ -157,8 +157,13 @@ export default {
 | 
				
			|||||||
      })
 | 
					      })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    destroyTinymce() {
 | 
					    destroyTinymce() {
 | 
				
			||||||
      if (window.tinymce.get(this.tinymceId)) {
 | 
					      const tinymce = window.tinymce.get(this.tinymceId)
 | 
				
			||||||
        window.tinymce.get(this.tinymceId).destroy()
 | 
					      if (this.fullscreen) {
 | 
				
			||||||
 | 
					        tinymce.execCommand('mceFullScreen')
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      if (tinymce) {
 | 
				
			||||||
 | 
					        tinymce.destroy()
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    setContent(value) {
 | 
					    setContent(value) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user