We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b71d53 commit b72b1bfCopy full SHA for b72b1bf
frontend/src/state-providers/portfolio.ts
@@ -59,13 +59,11 @@ export function createPortfolioState(editor: Editor) {
59
}
60
});
61
editor.subscriptions.subscribeJsMessage(TriggerOpen, async () => {
62
- console.error("Opening file");
63
const suffix = "." + editor.handle.fileExtension();
64
const data = await upload(suffix + "image/*", "data");
65
editor.handle.openFile(data.filename, data.content);
66
67
editor.subscriptions.subscribeJsMessage(TriggerImport, async () => {
68
- console.error("Importing file");
69
const data = await upload("image/*", "data");
70
editor.handle.importFile(data.filename, data.content);
71
0 commit comments