mirror of
https://github.com/docmost/docmost.git
synced 2025-11-14 06:01:14 +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