[PR #2192] [CLOSED] Image Resizing In HtmlEditor #3121

Open
opened 2026-01-29 18:22:00 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/2192
Author: @YodasMyDad
Created: 6/20/2025
Status: Closed

Base: masterHead: master


📝 Commits (10+)

  • 0d2e29f Updating methods and properties to public, to make it easier to customise and create custom HtmlEditor buttons in your own projects.
  • e92fa56 Putting SourceChanged back to private
  • 0d26a64 Adding ability to resize images in the HTML Editor
  • a5faf68 Merge branch 'radzenhq:master' into master
  • ed9bfc8 Removing example HtmlEditor
  • d3340e9 Merge branch 'master' of https://github.com/YodasMyDad/radzen-blazor
  • dd78544 Refactored image resizing in HtmlEditor
  • af20623 Cleaned up HtmlEditor click listener and SCSS styles
  • cf7cbd7 Simplified image resize logic using pointer events in HtmlEditor
  • 3ce7e38 Streamlined image resizing logic in HtmlEditor

📊 Changes

9 files changed (+465 additions, -32 deletions)

View changed files

📝 Radzen.Blazor/Common.cs (+21 -0)
📝 Radzen.Blazor/RadzenHtmlEditor.razor.cs (+15 -0)
📝 Radzen.Blazor/RadzenHtmlEditorButtonBase.cs (+11 -0)
📝 Radzen.Blazor/RadzenHtmlEditorImage.razor (+4 -1)
📝 Radzen.Blazor/RadzenHtmlEditorLink.razor (+22 -8)
📝 Radzen.Blazor/RadzenHtmlEditorUnlink.razor (+24 -1)
📝 Radzen.Blazor/themes/components/blazor/_editor.scss (+65 -18)
📝 Radzen.Blazor/wwwroot/Radzen.Blazor.js (+302 -4)
📝 RadzenBlazorDemos/Pages/HtmlEditorPage.razor (+1 -0)

📄 Description

Create handles on images within the HTMLEditor and allows the user to click and drag to resize the 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/radzenhq/radzen-blazor/pull/2192 **Author:** [@YodasMyDad](https://github.com/YodasMyDad) **Created:** 6/20/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`0d2e29f`](https://github.com/radzenhq/radzen-blazor/commit/0d2e29f2dac9cd25f3069463c028108665097e1a) Updating methods and properties to public, to make it easier to customise and create custom HtmlEditor buttons in your own projects. - [`e92fa56`](https://github.com/radzenhq/radzen-blazor/commit/e92fa5678d3ba382f7d08d2d1a6c0f38454f1207) Putting SourceChanged back to private - [`0d26a64`](https://github.com/radzenhq/radzen-blazor/commit/0d26a643abd1d8921b64e7869af6f6b219e52877) Adding ability to resize images in the HTML Editor - [`a5faf68`](https://github.com/radzenhq/radzen-blazor/commit/a5faf6868b424cfa1d32b6660aa2b82f5ba88b9f) Merge branch 'radzenhq:master' into master - [`ed9bfc8`](https://github.com/radzenhq/radzen-blazor/commit/ed9bfc822bf6fe1b4f9172895d742a3610cf881a) Removing example HtmlEditor - [`d3340e9`](https://github.com/radzenhq/radzen-blazor/commit/d3340e921490c86938977b8a7dd6890673b1c1aa) Merge branch 'master' of https://github.com/YodasMyDad/radzen-blazor - [`dd78544`](https://github.com/radzenhq/radzen-blazor/commit/dd7854483be242e14272eb4cfd5210f998d8cf3c) Refactored image resizing in HtmlEditor - [`af20623`](https://github.com/radzenhq/radzen-blazor/commit/af20623ef0cda8ad9633f768da4988dbdf761901) Cleaned up HtmlEditor click listener and SCSS styles - [`cf7cbd7`](https://github.com/radzenhq/radzen-blazor/commit/cf7cbd7416243ab5a4678d6fb24ba6626018afa3) Simplified image resize logic using `pointer` events in HtmlEditor - [`3ce7e38`](https://github.com/radzenhq/radzen-blazor/commit/3ce7e38238cfbedb2ca11cb686a2aed96ac420b7) Streamlined image resizing logic in HtmlEditor ### 📊 Changes **9 files changed** (+465 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/Common.cs` (+21 -0) 📝 `Radzen.Blazor/RadzenHtmlEditor.razor.cs` (+15 -0) 📝 `Radzen.Blazor/RadzenHtmlEditorButtonBase.cs` (+11 -0) 📝 `Radzen.Blazor/RadzenHtmlEditorImage.razor` (+4 -1) 📝 `Radzen.Blazor/RadzenHtmlEditorLink.razor` (+22 -8) 📝 `Radzen.Blazor/RadzenHtmlEditorUnlink.razor` (+24 -1) 📝 `Radzen.Blazor/themes/components/blazor/_editor.scss` (+65 -18) 📝 `Radzen.Blazor/wwwroot/Radzen.Blazor.js` (+302 -4) 📝 `RadzenBlazorDemos/Pages/HtmlEditorPage.razor` (+1 -0) </details> ### 📄 Description Create handles on images within the HTMLEditor and allows the user to click and drag to resize the image. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:22:00 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#3121