We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Dynamic image layout in RichTextBox

Hello.

I have fought for about 2 weeks now, but I cant get the RichTextBox to dynamically scale inserted images based on the layout - desktop or phone layout.

 Im passing the html to my db - and then showing with @Html.Raw on the sites.

Everything other than images scale perfectly.

Example:


1 Reply

VJ Vinitha Jeyakumar Syncfusion Team January 6, 2023 04:45 AM UTC

Hi Mark,


We have tried to replicate the reported issue on our end using the code you provided, but we were unable to reproduce it. We have also created a sample for your reference. Could you please provide the following details to help us understand the issue better:


  • The version of your package.
  • The exact steps for reproducing the issue.
  • Are you wants to insert image into RTE based on full screen width and height based on screen resize?
  • A video illustrating the issue of reproduction.
  • If possible, a runnable sample that reproduces the issue, or modify the attached sample to include the code that reproduces the issue
Regards,
Vinitha

Loader.
Live Chat Icon For mobile
Up arrow icon