diff --git a/apps/frontend/src/components/tiptap.jsx b/apps/frontend/src/components/tiptap.jsx index d7b4e3792..b84f7c649 100644 --- a/apps/frontend/src/components/tiptap.jsx +++ b/apps/frontend/src/components/tiptap.jsx @@ -264,6 +264,9 @@ const Tiptap = ({ handleContentChange, content }) => { }), Image.configure({ inline: true, + HTMLAttributes: { + class: "add-image-form", + }, }), Youtube.configure({ width: 480, diff --git a/apps/frontend/src/styles/globals.css b/apps/frontend/src/styles/globals.css index c68f068e4..cc8802510 100644 --- a/apps/frontend/src/styles/globals.css +++ b/apps/frontend/src/styles/globals.css @@ -47,3 +47,8 @@ height: 2rem; margin: 0 0.5rem; } + +.add-image-form { + width: 40%; + height: 40%; +}