HTML text box justyfication issue

2 posts, 0 answers
  1. SALVATORE BORRELLI
    SALVATORE BORRELLI avatar
    3 posts
    Member since:
    Feb 2010

    Posted 25 Feb Link to this post

    Hi,

    html text box justyfication doesn't work properly for me.

     

    "kendoui.jpg" file, shows the result of a text set to "justify" in a kendo editor.

    "telerik.jpg" file, shows the result when I put the same content in a HTML Text Box element.

  2. Silviya
    Admin
    Silviya avatar
    354 posts

    Posted 27 Feb Link to this post

    Hi Salvatore,

    I noticed that you've opened a support ticket on the same topic. Please let me share the concrete scenario and the solution suggested.
    Scenario: the HtmlTextBox was containing </br> elements inside it's content.

    Answer"Using break line tag should break the sentence on two lines as the line prior to this tag should be left aligned (as it is considered as last line of a paragraph).
    We consider this as bug and I logged it in our Public Portal as Bug Report on your behalf (HtmlTextBox justify text doesn't work properly). 

    A possible workaround would be to replace all </br> tags with <p>...</p> (paragraphs). However, the limitation of this workaround is that HtmlTextBox does not support margin CSS rule and for each new line it would be margin top set by default."

    Regards,
    Silviya
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top