The Indent command brakes the bulleted/numbered list

9 posts, 0 answers
  1. Ivan
    Ivan avatar
    5 posts
    Member since:
    Oct 2012

    Posted 03 Oct 2012 Link to this post


    Hi,

    Scenario:
    1. Set to the editor the "<ul><li>1</li><li>2</li><li>3</li></ul>" value in the HTML mode.
    2. Place the cursor exact after the second element of the list in the Design mode.
    3. Click the Indent button.
    4. Choose again the HTML mode.

    Result:
    <ul>
        <li>1</li>
        <ul>
            <li>2</li>
        </ul>
        <li>3</li>
    </ul>

    It is invalid HTML as the ul tag may contain only the il child tags.  

    Expected result:
    <ul>
        <li>1</li>
        <li>
          <ul>
            <li>2</li>
          </ul>
        </li>
        <li>3</li>
    </ul>

    or 

    <ul>
        <li>1
           <ul>
             <li>2</li>
           </ul>
        </li>
        <li>3</li>
    </ul>


    Do you have a workaround for the issue? 

    Thanks,
    Ivan
  2. Ivan
    Ivan avatar
    5 posts
    Member since:
    Oct 2012

    Posted 03 Oct 2012 Link to this post

    I found that the issue is not always reproducible using the scenario. So I created a videocast of the issue:
    http://screencast.com/t/sGxFaNFoaasz
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 08 Oct 2012 Link to this post

    Hi,

    Indeed, the problem appears sporadically and only in IE9 mode of the page. Could you please render the page in IE8 mode and let me know if the problem still persists? You can do that with the following meta tag:
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />

    Greetings,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  5. Ivan
    Ivan avatar
    5 posts
    Member since:
    Oct 2012

    Posted 09 Oct 2012 Link to this post

    Hi Rumen,

    Thanks, the workaround has resolved the issue in IE9. But it is reproducible in Chrome 22.0.1229.79 too:
    http://screencast.com/t/4I7H1CYtk

    Best regards,
    Ivan
  6. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 11 Oct 2012 Link to this post

    Hello Ivan,

    I confirmed the problem and logged it for fixing in our bug tracking system. Here you can find the PITS Issue: Public URL.

    I also updated your Telerik points for your bug report.

    Best regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  7. Mattias
    Mattias avatar
    5 posts
    Member since:
    Oct 2012

    Posted 01 Apr 2014 in reply to Rumen Link to this post

    Hi,

    This issue seems not to be resolved. I have still this problem in the latest version Webparts for SharePoint 2014.1 225 (Feb 26, 2014).
    We have an additional problem with dissapearing text regarding to this problem when highlighting a text above the bulletlist and changing the paragraph for it. See attached screencast.

    http://screencast.com/t/jUXTJpITpC7

    Kind Regards,
    Mattias
  8. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 01 Apr 2014 Link to this post

    Hello Mattias,

    I tried to reproduce the described issue with this online demo, but to no avail.

    Also I do not see how the reported issue is related to this forum thread. Here is described a problem with inserting lists in list items and not changing the paragraph above list. I would suggest opening a proper support ticket with more details about the used configuration of the RadEditor WebPart for SharePoint.

    Regards,
    Ianko
    Telerik
     

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

     
  9. Mattias
    Mattias avatar
    5 posts
    Member since:
    Oct 2012

    Posted 01 Apr 2014 in reply to Ianko Link to this post

    Hi,

    The issue with dissapearing text is related to this issue and as I see it a direct cause to it. With my tests this ocours only when the <ul> element is at the same level as the <il> element. I also tried to reproduce it in the online demo but there I unfortunately could'nt reproduce it. So maybe it's anyway a configuration problem in our environment. You have an idea of what it could be?

    This HTML I get which has a <ul> element directly after the <li> element:
    test
    <ul>
        <li>test</li>
        <li>test</li>
        <ul>
            <li>test</li>
            <li>test</li>
        </ul>
    </ul>

    But when I click "ToggleSource" to wiew the HTML I get the correct HTML where the <ul> element is inside the <il>:

    test
    <ul>
        <li>test</li>
        <li>test
            <ul>
                <li>test</li>
                <li>test</li>
            </ul>
        </li>
    </ul>
    <p> </p>



  10. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 03 Apr 2014 Link to this post

    Hello Mattias,

    Unfortunately I can only make assumptions if any further specific configurations are set and what are they.

    As suggested, please open a proper support ticket with more information about this problem, like:

    • Verify that the installed version is 2014 Q1;
    • Provide the exact configurations of the RadEditor WebPart;
    • The exact steps leading to the incorrect HTML code;
    • A screencast or screenshots that illustrates the encountered issue.

    Regards,

    Ianko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017