Skip to content

Image resize & drag support for pasted images #229

Description

@vikvang

Feature Request: Image Resizing & Figma-style Drag Positioning

Problem

When pasting images into Hubble, there is currently no way to resize them or reposition them within the document. Images are locked to their original dimensions and position, which limits layout flexibility when writing notes.

Proposed Solution

Primary: Image Resizing
After pasting an image, users should be able to resize it by dragging a corner or edge handle — similar to how images work in Notion or other rich markdown editors. The resize should:
-[x] Maintain aspect ratio by default (with an option to freeform resize)
-[x] Store the width (and optionally height) in the markdown as a HTML img tag attribute or equivalent
-[x] Be accessible on click/select of an image

Why This Matters

Images are a first-class part of notes and documentation. Without the ability to resize or reposition them, visual notes feel rigid and require workarounds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-discussionOpen product or technical questions; discuss on the issue before implementing

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions