mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-27 09:55:35 +03:00
feat(workspace): add debug clear button
This commit is contained in:
parent
92e195446a
commit
4640a3ab1e
@ -40,12 +40,3 @@ 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();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user