open as worspace implementation
This commit is contained in:
@@ -23,6 +23,10 @@ export function createWorkspaceId(): string {
|
||||
return createId("workspace");
|
||||
}
|
||||
|
||||
export function createPdfId(): string {
|
||||
return createId('pdf');
|
||||
}
|
||||
|
||||
export function defaultWorkspaceNameFromPdfName(pdfName: string): string {
|
||||
return pdfName.replace(/\.pdf$/i, "") || "Untitled workspace";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user