()
| 97 | } |
| 98 | |
| 99 | constructor () { |
| 100 | super(...arguments) |
| 101 | this.onFileChosen = this.onFileChosen.bind(this) |
| 102 | this.onFileUploaded = this.onFileUploaded.bind(this) |
| 103 | this.togglePreview = this.togglePreview.bind(this) |
| 104 | this.workingSchema.aceMode = 'ace/mode/markdown' |
| 105 | this.workingSchema.aceUseWrapMode = true |
| 106 | initializeFilePicker() |
| 107 | } |
| 108 | |
| 109 | initEditor (valEl) { |
| 110 | const buttonRow = $('<div class="buttons"></div>') |
nothing calls this directly
no test coverage detected