Add donation callouts in-app and on the site

This commit is contained in:
Keavon Chambers
2025-04-25 00:13:24 -07:00
parent 2dee47a6ee
commit d445bffe31
11 changed files with 68 additions and 21 deletions
+7
View File
@@ -490,6 +490,13 @@ impl EditorHandle {
Ok(())
}
/// Visit the given URL
#[wasm_bindgen(js_name = visitUrl)]
pub fn visit_url(&self, url: String) {
let message = FrontendMessage::TriggerVisitLink { url };
self.dispatch(message);
}
/// Paste layers from a serialized json representation
#[wasm_bindgen(js_name = pasteSerializedData)]
pub fn paste_serialized_data(&self, data: String) {