client: Create blank type widget for mind map

This commit is contained in:
Elian Doran
2024-09-01 14:16:45 +03:00
parent 945bc7ded3
commit e39dd1525d
5 changed files with 39 additions and 3 deletions

View File

@@ -28,6 +28,7 @@ import DocTypeWidget from "./type_widgets/doc.js";
import ContentWidgetTypeWidget from "./type_widgets/content_widget.js";
import AttachmentListTypeWidget from "./type_widgets/attachment_list.js";
import AttachmentDetailTypeWidget from "./type_widgets/attachment_detail.js";
import MindMapWidget from "./type_widgets/mind_map.js";
const TPL = `
<div class="note-detail">
@@ -63,7 +64,8 @@ const typeWidgetClasses = {
'doc': DocTypeWidget,
'contentWidget': ContentWidgetTypeWidget,
'attachmentDetail': AttachmentDetailTypeWidget,
'attachmentList': AttachmentListTypeWidget
'attachmentList': AttachmentListTypeWidget,
'mindMap': MindMapWidget
};
export default class NoteDetailWidget extends NoteContextAwareWidget {