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

2 posts, 0 answers
  1. Amrut
    Amrut avatar
    17 posts
    Member since:
    Oct 2011

    Posted 24 Jul 2015 Link to this post

    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.

  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 29 Jul 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top