Add the File > Export dialog and PNG/JPG downloading (#629)

* Add export dialog

* Code review changes

* More code review feedback

* Fix compilation on stable Rust

* Fixes to problems

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
0HyperCube 2022-05-09 07:35:22 +01:00 committed by Keavon Chambers
parent e3e506ecfb
commit 060182fd31
19 changed files with 445 additions and 59 deletions

View file

@ -487,7 +487,7 @@ impl JsEditorHandle {
/// Export the document
pub fn export_document(&self) {
let message = DocumentMessage::ExportDocument;
let message = DialogMessage::RequestExportDialog;
self.dispatch(message);
}