()
| 596 | }; |
| 597 | |
| 598 | const getEditorConfig = () => { |
| 599 | if (this.currentLanguage) { |
| 600 | return Components.getEditor(this.currentLanguage.id); |
| 601 | } |
| 602 | // TODO(jeremy-rifkin): Can this.settings.defaultLanguage really be undefined? |
| 603 | return Components.getEditor(unwrap(this.settings.defaultLanguage)); |
| 604 | }; |
| 605 | |
| 606 | const addPaneOpener = (dragSource: JQuery<HTMLElement>, dragConfig) => { |
| 607 | createDragSource(this.container.layoutManager, dragSource, () => dragConfig()).on('dragStart', () => { |