* Encrypt and sign the content of the editor with the default key of the user. * To be used to save drafts. To restore drafts use the options.armoredDraft parameter of the createEditorContainer method. * @returns {Promise. } * @throws {Error} error.code = 'ENCRYPT_IN_PRO
()
| 615 | * error.code = 'ENCRYPT_QUOTA_SIZE' |
| 616 | */ |
| 617 | createDraft() { |
| 618 | return send('editor-create-draft', {editorId: this.editorId}); |
| 619 | } |
| 620 | } |
| 621 | |
| 622 | const callbacks = Object.create(null); |