mirror of
https://github.com/docmost/docmost.git
synced 2026-07-26 17:44:45 +10:00
collaboration module cleanup x2
This commit is contained in:
@@ -42,3 +42,7 @@ export function htmlToJson(html: string) {
|
||||
export function jsonToText(tiptapJson: JSONContent) {
|
||||
return generateText(tiptapJson, tiptapExtensions);
|
||||
}
|
||||
|
||||
export function getPageId(documentName: string) {
|
||||
return documentName.split('.')[1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user