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

The Indent command brakes the bulleted/numbered list

8 Answers 85 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ivan
Top achievements
Rank 1
Ivan asked on 03 Oct 2012, 11:53 AM

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

8 Answers, 1 is accepted

Sort by
0
Ivan
Top achievements
Rank 1
answered on 03 Oct 2012, 12:19 PM
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
0
Rumen
Telerik team
answered on 08 Oct 2012, 06:55 AM
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.
0
Ivan
Top achievements
Rank 1
answered on 09 Oct 2012, 07:09 AM
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
0
Rumen
Telerik team
answered on 11 Oct 2012, 02:16 PM
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.
0
Mattias
Top achievements
Rank 1
answered on 01 Apr 2014, 01:34 PM
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
0
Ianko
Telerik team
answered on 01 Apr 2014, 01:51 PM
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.

 
0
Mattias
Top achievements
Rank 1
answered on 01 Apr 2014, 02:20 PM
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>



0
Ianko
Telerik team
answered on 03 Apr 2014, 08:20 AM

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.

 
Tags
Editor
Asked by
Ivan
Top achievements
Rank 1
Answers by
Ivan
Top achievements
Rank 1
Rumen
Telerik team
Mattias
Top achievements
Rank 1
Ianko
Telerik team
Share this question
or