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

Color is not saved using get_html

1 Answer 24 Views
Editor
This is a migrated thread and some comments may be shown as answers.
ido nahmias
Top achievements
Rank 1
ido nahmias asked on 26 Jun 2014, 09:57 AM
Hello,

I am using editor.get_html(true) in order to copy editor's content to a div, but when I only change  the text color, the color style isn't copied to a div.

I think the problem is that the color style is added to the body where it should wrap the text by span with color style.

*screenshot of the editor html is attached.

Scenario to reproduce:

1. mark the text
2. change the text color to red
3. use  editor.get_html(true) to copy the html content to a div
4. It can be notice the color red doesn't appear

Telerik version: 2014.1.225.40

Thanks,

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 26 Jun 2014, 10:42 AM
Hi Ido,

With the used 2014.1.225.40 version a bug has been introduced due to which the stylization of plain text has been added to the body element as you described.

This bug is fixed in the 2014 Q1 SP1 version. I suggest upgrading the used Telerik dlls and verify if the described scenario behaves as per to your expectations. Also, you can test the latest availabe version of the RadEditor with this online demo and test how the style formatting is applied.

If you still have difficulties with this issue, please provide a sample configuration demo, so that I could investigate the exact scenario locally.

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