@Listen('resize', {
    target: 'window'
  })
  resize() {
    this.getEditor().layout();