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

Editor - Style alignment not coming up in <p> Tag.

1 Answer 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Amrut
Top achievements
Rank 1
Amrut asked on 24 Jul 2015, 02:00 PM

Hello,
I have come across a problem with the editor
We have recently upgraded the telerik controls from V 2013 to V 2015.2.623.45. 
After upgrade new version that some functionality are messed up.
Steps to reproduce the issue.

1 - Add below content HTML mode.

test<br><br>test<br><br>test<br><br><table style="width: 242px; height: 92px;"><tbody><tr><td> </td><td > Test</td><td> </td></tr><tr><td> </td><td> </td><td> </td></tr></tbody></table><br> 

 2 - Back to Design view and try to set align of "Test" text which is in table.

3 - Go to HTML mode and check all content.it is as below which are wrong and style should be in <p> tag inside <td>.

  Wrong Content : "test<br><br>test<br><br>test<br><br><table style="width: 242px; height: 92px;"><tbody><tr><td> </td><td style="text-align: center;"> Test</td><td> </td></tr><tr><td> </td><td> </td><td> </td></tr></tbody></table><br>"

 

It should  be  : "test<br><br>test<br><br>test<br><br><table style="width: 242px; height: 92px;"><tbody><tr><td> </td><td > <p align="center">Test</p></td><td> </td></tr><tr><td> </td><td> </td><td> </td></tr></tbody></table><br>" 

This can easily be reproduced on your demo site as well(Chrome).

Is there any fix or workaround for this issue?
Please suggest.
Thanks.

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 29 Jul 2015, 06:02 AM
Hi Amrut,

The same topic is discussed here—http://www.telerik.com/forums/alignment-not-working-when-use-newlinemode=-br-in-editor.

Regards,
Ianko
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
Amrut
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or