This is a migrated thread and some comments may be shown as answers.

HTML text box justyfication issue

1 Answer 139 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
TESI
Top achievements
Rank 1
TESI asked on 25 Feb 2019, 01:55 PM

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.

1 Answer, 1 is accepted

Sort by
0
Silviya
Telerik team
answered on 27 Feb 2019, 03:22 PM
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
Tags
General Discussions
Asked by
TESI
Top achievements
Rank 1
Answers by
Silviya
Telerik team
Share this question
or