(port)
| 12 | |
| 13 | export default class EncryptController extends SubController { |
| 14 | constructor(port) { |
| 15 | super(port); |
| 16 | this.state = { |
| 17 | editorContentModified: false |
| 18 | }; |
| 19 | this.peerType = 'encryptController'; |
| 20 | // register event handlers |
| 21 | this.on('eframe-display-editor', this.onEncryptFrameDisplayEditor); |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * Opens a new editor control and gets the recipients to encrypt plaintext |