[PR #159] [MERGED] feat: add MarkdownEditor component with Write/Preview tabs #152

Closed
opened 2026-02-26 17:37:31 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Corsinvest/cv4pve-admin/pull/159
Author: @franklupo
Created: 2/17/2026
Status: Merged
Merged: 2/17/2026
Merged by: @franklupo

Base: mainHead: feat/markdown-editor


📝 Commits (1)

  • c6666d1 feat: add MarkdownEditor component with Write/Preview tabs

📊 Changes

1 file changed (+34 additions, -0 deletions)

View changed files

src/Corsinvest.ProxmoxVE.Admin.Core/Components/MarkdownEditor.razor (+34 -0)

📄 Description

Summary

  • Add reusable MarkdownEditor component to Core
  • Two tabs: Write (RadzenTextArea) and Preview (RadzenMarkdown), GitHub-style
  • Parameters: @bind-Value (string), Rows (int, default 10)
  • Shows "Nothing to preview." when content is empty

Test plan

  • Verify Write tab shows textarea correctly
  • Verify Preview tab renders markdown
  • Verify empty state message in Preview

🔄 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/Corsinvest/cv4pve-admin/pull/159 **Author:** [@franklupo](https://github.com/franklupo) **Created:** 2/17/2026 **Status:** ✅ Merged **Merged:** 2/17/2026 **Merged by:** [@franklupo](https://github.com/franklupo) **Base:** `main` ← **Head:** `feat/markdown-editor` --- ### 📝 Commits (1) - [`c6666d1`](https://github.com/Corsinvest/cv4pve-admin/commit/c6666d13071d0683b8409f4e20b19e10f1cdab2c) feat: add MarkdownEditor component with Write/Preview tabs ### 📊 Changes **1 file changed** (+34 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `src/Corsinvest.ProxmoxVE.Admin.Core/Components/MarkdownEditor.razor` (+34 -0) </details> ### 📄 Description ## Summary - Add reusable `MarkdownEditor` component to Core - Two tabs: Write (RadzenTextArea) and Preview (RadzenMarkdown), GitHub-style - Parameters: `@bind-Value` (string), `Rows` (int, default 10) - Shows "Nothing to preview." when content is empty ## Test plan - [ ] Verify Write tab shows textarea correctly - [ ] Verify Preview tab renders markdown - [ ] Verify empty state message in Preview --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 17:37:31 +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/cv4pve-admin#152
No description provided.