editor: remove display: inline for floating images

This commit is contained in:
Abdullah Atta
2024-03-18 08:19:48 +05:00
parent 43eef8d597
commit b277800a3b

View File

@@ -413,7 +413,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,