[PR #176] [MERGED] feat(core): add possibility to hide context menu #439

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/176
Author: @318h7
Created: 4/4/2025
Status: Merged
Merged: 4/6/2025
Merged by: @arikchakma

Base: mainHead: feat(core)--allow-to-hide-context-menu


📝 Commits (2)

  • 5cd2c95 feat(core): add possibility to hide context menu
  • 549d327 rename var

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 packages/core/src/editor/index.tsx (+3 -1)

📄 Description

If I want to disable all blocks and allow only the use of variables for the field, one can still try to add content via the context menu. But the context menu has nothing to offer in this case.

Allow to hide the context menu with the use of config option:

<Editor
  config={{
    hideContextMenu: true
  }}
/>

🔄 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/176 **Author:** [@318h7](https://github.com/318h7) **Created:** 4/4/2025 **Status:** ✅ Merged **Merged:** 4/6/2025 **Merged by:** [@arikchakma](https://github.com/arikchakma) **Base:** `main` ← **Head:** `feat(core)--allow-to-hide-context-menu` --- ### 📝 Commits (2) - [`5cd2c95`](https://github.com/arikchakma/maily.to/commit/5cd2c95d6e63c3a058f25d2af322e18afe9733a7) feat(core): add possibility to hide context menu - [`549d327`](https://github.com/arikchakma/maily.to/commit/549d327f88e69a27ed7642fa459a241a68672ff8) rename var ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/editor/index.tsx` (+3 -1) </details> ### 📄 Description If I want to disable all blocks and allow only the use of variables for the field, one can still try to add content via the context menu. But the context menu has nothing to offer in this case. Allow to hide the context menu with the use of config option: ``` <Editor config={{ hideContextMenu: true }} /> ``` --- <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#439
No description provided.