feat(workspace): add debug clear button
This commit is contained in:
1 parent
95629486b3
commit
92e195446a
4 files changed
+23
-1
No files matched your search
@@ -40,3 +40,12 @@ export const exportMarkdown = async ({
|
||||
const htmlContent = await clipboardParse.page2html();
|
||||
fileExporter.exportMarkdown(title, htmlContent);
|
||||
};
|
||||
|
||||
export const clearWorkspace = async ({
|
||||
workspaceId,
|
||||
rootBlockId,
|
||||
title,
|
||||
}: ExportHandlerProps) => {
|
||||
//@ts-ignore
|
||||
client.inspector().clear();
|
||||
};
|
||||
Reference in new issue
Block a user