MCPcopy
hub / github.com/mailvelope/mailvelope / onEditorLoad

Method onEditorLoad

src/controller/editor.controller.js:128–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126 }
127
128 async onEditorLoad() {
129 if (this.ports.editorCont) {
130 this.ports.editorCont.emit('editor-ready');
131 } else {
132 // non-container case, set options
133 this.onEditorOptions({options: this.options});
134 // transfer recipient proposal and public key info to the editor
135 await this.setRecipientData(this.options.recipients);
136 }
137 }
138
139 /**
140 * Set the recipient data in the editor.

Callers

nothing calls this directly

Calls 3

onEditorOptionsMethod · 0.95
setRecipientDataMethod · 0.95
emitMethod · 0.45

Tested by

no test coverage detected