[PR #2394] [MERGED] Rework paste handler and add same function to new drop handler #3241

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

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/2394
Author: @Anspitzen
Created: 12/16/2025
Status: Merged
Merged: 12/17/2025
Merged by: @akorchev

Base: masterHead: htmleditor-handle-drop


📝 Commits (5)

  • 531a56a Rework paste handler and add same function to new drop handler
  • 6f9a18e Remove eventlistener on destroy
  • d1f693f Try restore formating of Radzen.Balzor.js
  • b6d3f68 Fix missing delegate flag on create editor from restoring formating
  • 936f527 Handle drop and paste with same c# EventCallback OnPaste/Paste

📊 Changes

1 file changed (+81 additions, -64 deletions)

View changed files

📝 Radzen.Blazor/wwwroot/Radzen.Blazor.js (+81 -64)

📄 Description

Referencing https://github.com/radzenhq/radzen-blazor/issues/2381

Reworked paste to accept multiple files and not just pick first of copied files, without user knowing which file it is.
Added Drop handler with the same functionality as the paste handler

Real changes in the Radzen.Blazor.js file are between lines 2051 and 2151.
The many other changes on the js file are result of pretty print from VS 2026, so only formated whitespaces.


🔄 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/2394 **Author:** [@Anspitzen](https://github.com/Anspitzen) **Created:** 12/16/2025 **Status:** ✅ Merged **Merged:** 12/17/2025 **Merged by:** [@akorchev](https://github.com/akorchev) **Base:** `master` ← **Head:** `htmleditor-handle-drop` --- ### 📝 Commits (5) - [`531a56a`](https://github.com/radzenhq/radzen-blazor/commit/531a56a977fc41dec9a79ae44791bafcd2149322) Rework paste handler and add same function to new drop handler - [`6f9a18e`](https://github.com/radzenhq/radzen-blazor/commit/6f9a18e6e19c7afca1c1c5f003522639b58e7275) Remove eventlistener on destroy - [`d1f693f`](https://github.com/radzenhq/radzen-blazor/commit/d1f693fdd27b495a4c3162fbe5e9ae1925858f7c) Try restore formating of Radzen.Balzor.js - [`b6d3f68`](https://github.com/radzenhq/radzen-blazor/commit/b6d3f68e3410d22c1a86c201421c629ebf2e3f46) Fix missing delegate flag on create editor from restoring formating - [`936f527`](https://github.com/radzenhq/radzen-blazor/commit/936f527fe2001e991d4c320fda4ccca92e8551af) Handle drop and paste with same c# EventCallback OnPaste/Paste ### 📊 Changes **1 file changed** (+81 additions, -64 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/wwwroot/Radzen.Blazor.js` (+81 -64) </details> ### 📄 Description Referencing https://github.com/radzenhq/radzen-blazor/issues/2381 Reworked paste to accept multiple files and not just pick first of copied files, without user knowing which file it is. Added Drop handler with the same functionality as the paste handler Real changes in the Radzen.Blazor.js file are between lines 2051 and 2151. The many other changes on the js file are result of pretty print from VS 2026, so only formated whitespaces. --- <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:35 +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#3241