Skip to content

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

editor: remove `display: inline` for floating images

Abdullah Atta9109c5180a8b
diff --git a/packages/editor/src/extensions/image/component.tsx b/packages/editor/src/extensions/image/component.tsx
index acc854e78..d49498a15 100644
--- a/packages/editor/src/extensions/image/component.tsx
+++ b/packages/editor/src/extensions/image/component.tsx
@@ -395,7 +395,6 @@ function getAlignmentStyles(
const { align, float } = options;
if (float && align !== "center") {
return {
- display: "inline",
ml: align === "right" ? 2 : 0,
mr: align === "left" ? 2 : 0,
float: align,