[PR #186] [CLOSED] feat(core): add allowExternalImages config option #438

Closed
opened 2026-03-15 02:14:47 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/arikchakma/maily.to/pull/186
Author: @318h7
Created: 4/18/2025
Status: Closed

Base: mainHead: feat(core)--possibility-to-hide-external-url-controls-in-the-image-popup


📝 Commits (1)

  • 5177303 feat(core): add allowExternalImages config option

📊 Changes

4 files changed (+33 additions, -20 deletions)

View changed files

📝 packages/core/src/editor/components/image-menu/image-bubble-menu.tsx (+2 -2)
📝 packages/core/src/editor/components/inline-image-menu/inline-image-bubble-menu.tsx (+18 -16)
📝 packages/core/src/editor/components/text-menu/text-bubble-menu.tsx (+1 -0)
📝 packages/core/src/editor/index.tsx (+12 -2)

📄 Description

Add allowExternalImages config option to hide external URL option in the image popup.

<Editor
  config={[
    allowExternalImages: false,
  ]}
image

🔄 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/186 **Author:** [@318h7](https://github.com/318h7) **Created:** 4/18/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat(core)--possibility-to-hide-external-url-controls-in-the-image-popup` --- ### 📝 Commits (1) - [`5177303`](https://github.com/arikchakma/maily.to/commit/5177303c8e4aedce42fc93cd14b416b4b58d10f6) feat(core): add allowExternalImages config option ### 📊 Changes **4 files changed** (+33 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/editor/components/image-menu/image-bubble-menu.tsx` (+2 -2) 📝 `packages/core/src/editor/components/inline-image-menu/inline-image-bubble-menu.tsx` (+18 -16) 📝 `packages/core/src/editor/components/text-menu/text-bubble-menu.tsx` (+1 -0) 📝 `packages/core/src/editor/index.tsx` (+12 -2) </details> ### 📄 Description Add `allowExternalImages` config option to hide external URL option in the image popup. ``` <Editor config={[ allowExternalImages: false, ]} ``` <img width="836" alt="image" src="https://github.com/user-attachments/assets/d272bb9e-b718-4ff8-a986-9be4efb3fbca" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 02:14:47 +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#438
No description provided.