Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

feat: allow additional data to be attached to the stripped content

thecodrre4e145ec4d21
diff --git a/packages/core/api/debug.js b/packages/core/api/debug.js
index 03b4b737a..7d849be41 100644
--- a/packages/core/api/debug.js
+++ b/packages/core/api/debug.js
@@ -1,6 +1,10 @@
export default class Debug {
strip(item) {
return JSON.stringify({
+ title: !!item.title,
+ description: !!item.description,
+ headline: !!item.headline,
+ colored: !!item.color,
type: item.type,
notebooks: item.notebooks,
tags: item.tags,
@@ -9,6 +13,7 @@ export default class Debug {
dateEdited: item.dateEdited,
dateDeleted: item.dateDeleted,
dateCreated: item.dateCreated,
+ additionalData: item.additionalData,
});
}
}