@private
(id, options)
| 258 | |
| 259 | /** @private */ |
| 260 | async createEditor(id, options) { |
| 261 | try { |
| 262 | this.editor = await window.mailvelope.createEditorContainer(`#${id}`, null, options); |
| 263 | this.onReady(this.editor); |
| 264 | } catch (e) { |
| 265 | this.onError(e); |
| 266 | } |
| 267 | } |
| 268 | |
| 269 | /** @private */ |
| 270 | onReady(editor) { |
no test coverage detected