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

RadEditor Issue with google chrome

4 Answers 94 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Fadi
Top achievements
Rank 1
Fadi asked on 15 Apr 2016, 01:34 PM

Dear Sir,

if you try to put this html in the RadEditor, it will not be displayed correctly if you are using the google chrome:

<div style="text-align:Left;font-family:Times New Roman;font-style:normal;font-weight:normal;font-size:14px;color:#000000;">
<p style="margin:0 0 0 40;"><span>hello</span></p>
</div>

 

save the file in html file and open it in google chrome, it is correctly displayed.

 

 

4 Answers, 1 is accepted

Sort by
0
Fadi
Top achievements
Rank 1
answered on 15 Apr 2016, 01:45 PM

Also when you try to put bullet1 than bullet2 with indent the html result is:

<ul>
    <li>bullet1
    <ul>
        <li>bullet2</li>
    </ul>
    </li>
</ul>

 

Bullet1 is not closed with </li> !!!

the result should be:

<ul>
    <li>bullet1  </li>
    <ul>
        <li>bullet2</li>
    </ul>  
</ul>

0
Ianko
Telerik team
answered on 20 Apr 2016, 07:21 AM
Hi Fadi,

I tested the HTML content pasted, but I am not sure what exactly is the issue with the rendered result. Also, the same looks the same when rendered directly in the browser. You can see this screencast—http://screencast.com/t/fpKYQe0k95h.

As for the nested lists, the HTML you expect to show up is invalid HTML. The actual result is teh valid way to nest lists. You can also refer to this Stackoverflow thread—http://stackoverflow.com/questions/5899337/proper-way-to-make-html-nested-list.


Regards,
Ianko
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Fadi
Top achievements
Rank 1
answered on 21 Apr 2016, 12:56 PM

Try also this scenario:

open google chrome RadEditor Demo.

write "hello" , click enter, write hello than select all text and click on Center Alignement than click on bullets.

the bullets are on the left margin and the text is centered

0
Ianko
Telerik team
answered on 22 Apr 2016, 10:04 AM
Hi Fadi,

Based on the generated HTML, the result you get is accurate. What do you expect to be rendered by doing these actions?

Regards,
Ianko
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Editor
Asked by
Fadi
Top achievements
Rank 1
Answers by
Fadi
Top achievements
Rank 1
Ianko
Telerik team
Share this question
or