mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat(workspace): add debug clear button
This commit is contained in:
@@ -40,12 +40,3 @@ export const exportMarkdown = async ({
|
|||||||
const htmlContent = await clipboardParse.page2html();
|
const htmlContent = await clipboardParse.page2html();
|
||||||
fileExporter.exportMarkdown(title, htmlContent);
|
fileExporter.exportMarkdown(title, htmlContent);
|
||||||
};
|
};
|
||||||
|
|
||||||
export const clearWorkspace = async ({
|
|
||||||
workspaceId,
|
|
||||||
rootBlockId,
|
|
||||||
title,
|
|
||||||
}: ExportHandlerProps) => {
|
|
||||||
//@ts-ignore
|
|
||||||
client.inspector().clear();
|
|
||||||
};
|
|
||||||
|
|||||||
Reference in New Issue
Block a user