Richtext field doest display as expected

  • 5 October 2019
  • 2 replies
  • 0 views

Hi Team,

I have a richtext field control in a form  thats reads contents from sql table 

<div>TEST000000101010101</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><span style="color: #000000; font-family: verdana; font-size: 11px;">TEST000000101010101</span></div>
<div><span style="color: #000000; font-family: verdana; font-size: 11px;"></span></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><span style="color: #000000; font-family: verdana; font-size: 11px;">TEST000000101010101</span></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><span style="color: #000000; font-family: verdana; font-size: 11px;">TEST000000101010101</span></div>

 

 

If you see the content there are spaces, but it doesnt provide spaces . it gives content without spaces . how do i resolve this?


2 replies

Badge +7

Hello  @naina 

 

Does using u00A0 work?

Does <br> work?

simply use css for the spacing

 

Hope your sql gives content with the desired spacing.

 

Hi Naina,


 


What version of K2 are you currently using?  The Rich Text Control has had display issues in the past, and there is potential for a complete overhaul being done to the control itself which should resolve several issues.  I would recommend installing the latest K2 fix pack or cumulative update that pertains to your version as there is a chance the issue you are experiencing was fixed in a previous update.


 


Thanks!


 


 

Reply