mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
feat(core): add markdown preview for backlinks (#8883)
This commit is contained in:
@@ -40,7 +40,7 @@ export class Document<S extends Schema = any> {
|
||||
}
|
||||
} else {
|
||||
for (const key in map) {
|
||||
if (map[key] === undefined) {
|
||||
if (map[key] === undefined || map[key] === null) {
|
||||
continue;
|
||||
}
|
||||
doc.insert(key, map[key]);
|
||||
|
||||
Reference in New Issue
Block a user