feat: add test excalidraw page with deep linking support
- Added new test excalidraw page component and route with deep linking via ?tests=excalidraw - Enhanced drawings editor to preserve frontmatter and normalize metadata when saving .excalidraw.md files - Improved excalidraw file handling with better error handling and sanitization - Updated sidebar and navigation to include test excalidraw option - Fixed collaborators map serialization issue in excalidraw scene data
This commit is contained in:
Vendored
+44
-34
@@ -4,19 +4,17 @@
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "22c2ec9062224eb0",
|
||||
"id": "b123bf2cfbaf681c",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "9ad6b7932a502fb2",
|
||||
"id": "a71c9cf3bbb86552",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "excalidraw",
|
||||
"state": {
|
||||
"file": "Drawing 2025-10-27 16.43.48.excalidraw.md"
|
||||
},
|
||||
"icon": "excalidraw-icon",
|
||||
"title": "Drawing 2025-10-27 16.43.48.excalidraw"
|
||||
"type": "empty",
|
||||
"state": {},
|
||||
"icon": "lucide-file",
|
||||
"title": "New tab"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -161,7 +159,8 @@
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 234.5
|
||||
"width": 200,
|
||||
"collapsed": true
|
||||
},
|
||||
"left-ribbon": {
|
||||
"hiddenItems": {
|
||||
@@ -175,32 +174,43 @@
|
||||
"obsidian-excalidraw-plugin:New drawing": false
|
||||
}
|
||||
},
|
||||
"active": "9ad6b7932a502fb2",
|
||||
"active": "a71c9cf3bbb86552",
|
||||
"lastOpenFiles": [
|
||||
"Drawing 2025-10-27 16.43.48.excalidraw.md.tmp",
|
||||
"Drawing 2025-10-27 16.43.48.excalidraw.md.bak",
|
||||
"test-drawing.excalidraw.md",
|
||||
"Drawing 2025-10-27 16.43.48.excalidraw.md",
|
||||
"Untitled.canvas",
|
||||
"test.md",
|
||||
"dessin_05.excalidraw.md",
|
||||
"dessin_03.excalidraw.md",
|
||||
"dessin_05.excalidraw.md.bak",
|
||||
"dessin_04.excalidraw.md.tmp",
|
||||
"dessin_04.excalidraw.md.bak",
|
||||
"dessin_04.excalidraw.md",
|
||||
"dessin-002.excalidraw.md",
|
||||
"dessin_03.excalidraw.md.tmp",
|
||||
"dessin_03.excalidraw.md.bak",
|
||||
"dessin-002.excalidraw.md.tmp",
|
||||
"dessin-002.excalidraw.md.bak",
|
||||
"Dessin_001.excalidraw.md",
|
||||
"Dessin_001.excalidraw.md.tmp",
|
||||
"Dessin_001.excalidraw.md.bak",
|
||||
"Drawing 2025-10-28 11.11.59.excalidraw.md",
|
||||
"Drawing 2025-10-28 11.11.59.excalidraw.md.tmp",
|
||||
"dessin-06.excalidraw.md",
|
||||
"Dessin-5.excalidraw.md",
|
||||
"Drawing-20251027-2203.excalidraw.md",
|
||||
"dessin-04.excalidraw.md",
|
||||
"Drawing-20251027-2201.excalidraw.md",
|
||||
"Dessin-03.md.excalidraw.md",
|
||||
"Dessin-01.excalidraw.md",
|
||||
"Drawing 2025-10-27 19.22.35.excalidraw.md",
|
||||
"Nouveau-markdown.md",
|
||||
"Drawing-20251027-1922.excalidraw.md",
|
||||
"Nouvelle note 16.md",
|
||||
"Dessin.excalidraw.md",
|
||||
"Dessin.excalidraw.restored.md",
|
||||
"HOME.md",
|
||||
"folder1/test2.md",
|
||||
"folder2/test2.md",
|
||||
"folder2",
|
||||
"folder1",
|
||||
"NonExistentNote.md",
|
||||
"tata/titi-coco.md",
|
||||
"folder/test2.md",
|
||||
"Fichier_not_found.png.md",
|
||||
"welcome.md",
|
||||
"tata/briana/test-todo.md",
|
||||
"titi/tata-coco.md",
|
||||
"tata/briana/test-table.md",
|
||||
"tata/briana/test-note-1.md",
|
||||
"tata/briana/test-code.md",
|
||||
"deep/path/test3.md",
|
||||
"deep/path",
|
||||
"deep",
|
||||
"folder"
|
||||
"Drawing-20251027-1914.excalidraw.md",
|
||||
"Drawing-20251027-1705.excalidraw.md",
|
||||
"Drawing 2025-10-27 16.43.48.excalidraw.md",
|
||||
"test-drawing.excalidraw.md",
|
||||
"Untitled.canvas",
|
||||
"test.md"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user