HtmlEditor exception when editing previously uploaded image #1303

Closed
opened 2026-01-29 17:51:50 +00:00 by claunia · 0 comments
Owner

Originally created by @emcga on GitHub (Jul 18, 2024).

After uploading an image in HtmlEditor, the image cannot be selected and edited without an exception. I have discovered a fix and will create a pull request referencing this issue.

Steps to reproduce the behavior:

  1. Upload an image in HtmlEditor
  2. Select the image, and click the 'insert image' toolbar button.
  3. An exception is thrown.

An exception occurred executing JS interop: The JSON value could not be converted to System.String. Path: $.width | LineNumber: 0 | BytePositionInLine: 178.. See InnerException for more details.

  • OS: MacOS 14.5
  • Browser: Chrome
  • Version: 126.0.6478.182
Originally created by @emcga on GitHub (Jul 18, 2024). After uploading an image in HtmlEditor, the image cannot be selected and edited without an exception. I have discovered a fix and will create a pull request referencing this issue. Steps to reproduce the behavior: 1. Upload an image in HtmlEditor 2. Select the image, and click the 'insert image' toolbar button. 3. An exception is thrown. `An exception occurred executing JS interop: The JSON value could not be converted to System.String. Path: $.width | LineNumber: 0 | BytePositionInLine: 178.. See InnerException for more details.` - OS: MacOS 14.5 - Browser: Chrome - Version: 126.0.6478.182
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1303