Skip to content

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

chore: add TODO notice in image

thecodrra8a82f329cf6
diff --git a/packages/editor/src/extensions/image/image.ts b/packages/editor/src/extensions/image/image.ts
index 1212a2e6b..f9f0f3bad 100644
--- a/packages/editor/src/extensions/image/image.ts
+++ b/packages/editor/src/extensions/image/image.ts
@@ -86,8 +86,10 @@ export const ImageNode = Node.create<ImageOptions>({
width: { default: null },
height: { default: null },
+ // TODO: maybe these should be stored as styles?
float: getDataAttribute("float", false),
align: getDataAttribute("align", "left"),
+
hash: getDataAttribute("hash"),
filename: getDataAttribute("filename"),
type: getDataAttribute("mime"),