c.export = function (e) { var t = e.type; i.editor.export.beforeExport(), i.editor.export.showExportNotification(), i.editor.localSettingBridge.loadFromFile(), e = i.editor.localSettingBridge.loadExportOption(e), "html" == t ? i.editor.export.exportAndSaveHTML(e) : "html-plain" == t ? (Object.assign(e, { noStyle: !0 }), i.editor.export.exportAndSaveHTML(e)) : "image" == t ? i.editor.export.exportToImage(e) : "pdf" == t ? s.exportPDF(e) : "custom" == t ? i.editor.export.exportWithCommand(e) : l.export(t, e), /^html/.exec(t) && document.body.classList.remove("ty-show-notification") },
|