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

How do I adjust the line spacing in SfRichTextEditor (Xamarin.Forms)

Hi,


How do I adjust the line spacing programin SfRichTextEditor (Xamarin.Forms).


Regards,
Gautam Jain



8 Replies

HD Hemalatha Duraisamy Syncfusion Team April 20, 2023 04:26 AM UTC

Based on your requirement, we suspect that you want to add spacing between the two lines of the text. But currently, we don't have the support or an immediate plan to implement this.  Could you please confirm if this is your requirement? If not, share more details to check further at our end.



GJ Gautam Jain April 20, 2023 04:29 AM UTC


That's right. Want to change spacing between the lines.


That's because when typing inside the rich edit control, it uses a different line spacing compared to leading an existing html block into the rich edit control. In both cases the line spacing are different.



HD Hemalatha Duraisamy Syncfusion Team April 20, 2023 03:42 PM UTC

We have created a sample based on loads the HTML text when the control is loaded. After the control has loaded, type text into the rich text editor control. we were unable to reproduce the reported issue. It is working fine . And the sample and video can be downloaded from the below link. 


Sample Link:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/RTEStylesheet-59332683

Video Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/RTELine_Spacing264540312


Kindly provide the following details to investigate further on this issue.  

  1. The issue reproducing HTML Code snippets
  2. Modify / Simple sample with which the issue could be reproduced.
  3. Replication procedure to reproduce the issue or video illustrating the issue.
  4. SfRichTextEditor Version
  5. Xamarin forms version

The above details will be more helpful for us to reproduce the issue on our side and assist you with the best solution as soon as possible.



GJ Gautam Jain April 20, 2023 03:54 PM UTC

You are right. It is not an issue. 


But still we would like to have a way to adjust the line spacing as many customers want it. Or some way of inserting a custom style sheet would be even more better so that we can modify behaviors of <p> and other blocks.

Thanks.



MP Mohana Priya Raja Syncfusion Team April 21, 2023 12:59 PM UTC

Currently, we are validating your requirement and we will update the further details on 25th April 2023.



HD Hemalatha Duraisamy Syncfusion Team April 25, 2023 05:53 PM UTC

We have analyzed your requirement “Provide support for Line spacing with RichTextEditor control” and at present, we do not have support for this. However, we have added it to our feature request list for this and do not have any immediate plans to implement this feature. We will let you know once the feature is implemented.  


The status of this feature can be tracked through our Feature Management System,  

https://www.syncfusion.com/feedback/43180/provide-support-for-line-spacing-with-richtexteditor-control




GJ Gautam Jain April 26, 2023 05:20 AM UTC

Thanks for the update. Really appreciate your team's passion.



SS Swetha Srikumar Syncfusion Team April 27, 2023 08:46 AM UTC

Thank you! Please track the status through the feedback.



Loader.
Up arrow icon