HTML text box justyfication issue

2 posts, 0 answers
    3 posts
    Member since:
    Feb 2010

    Posted 25 Feb 2019 Link to this post


    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
    Silviya avatar
    422 posts

    Posted 27 Feb 2019 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."

    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