[PR #156] [MERGED] feat: support border radius on image component #192

Closed
opened 2026-03-01 14:40:28 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/arikchakma/maily.to/pull/156
Author: @focux
Created: 3/13/2025
Status: Merged
Merged: 3/15/2025
Merged by: @arikchakma

Base: mainHead: support-image-radius


📝 Commits (2)

📊 Changes

6 files changed (+69 additions, -1 deletions)

View changed files

📝 packages/core/src/editor/components/image-menu/image-bubble-menu.tsx (+22 -0)
📝 packages/core/src/editor/components/image-menu/use-image-state.tsx (+1 -0)
📝 packages/core/src/editor/nodes/image/image-view.tsx (+8 -1)
📝 packages/core/src/editor/nodes/image/image.ts (+14 -0)
packages/core/src/editor/utils/border-radius.ts (+22 -0)
📝 packages/render/src/maily.tsx (+2 -0)

📄 Description

This PR adds border radius support to the image component, which is useful when using images as headers.

Screenshots:
SCR-20250313-kido

SCR-20250313-khuc

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/arikchakma/maily.to/pull/156 **Author:** [@focux](https://github.com/focux) **Created:** 3/13/2025 **Status:** ✅ Merged **Merged:** 3/15/2025 **Merged by:** [@arikchakma](https://github.com/arikchakma) **Base:** `main` ← **Head:** `support-image-radius` --- ### 📝 Commits (2) - [`cdc1615`](https://github.com/arikchakma/maily.to/commit/cdc1615908319a48328c6c38344098a560ad64f2) feat: support border radius on image component - [`3d8be7c`](https://github.com/arikchakma/maily.to/commit/3d8be7cce9cb1441faf68b09d01739ec18f8c3cd) wip ### 📊 Changes **6 files changed** (+69 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/editor/components/image-menu/image-bubble-menu.tsx` (+22 -0) 📝 `packages/core/src/editor/components/image-menu/use-image-state.tsx` (+1 -0) 📝 `packages/core/src/editor/nodes/image/image-view.tsx` (+8 -1) 📝 `packages/core/src/editor/nodes/image/image.ts` (+14 -0) ➕ `packages/core/src/editor/utils/border-radius.ts` (+22 -0) 📝 `packages/render/src/maily.tsx` (+2 -0) </details> ### 📄 Description This PR adds border radius support to the image component, which is useful when using images as headers. **Screenshots:** <img width="931" alt="SCR-20250313-kido" src="https://github.com/user-attachments/assets/ee97b532-5a42-4e8a-8e8c-0363bb3d4cbd" /> <img width="1023" alt="SCR-20250313-khuc" src="https://github.com/user-attachments/assets/c4ea9ad5-f1cd-4b9b-b16a-65f77d36549a" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 14:40:28 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/maily.to#192
No description provided.