styles editor

Hi,

I have a dhtmlxEditor and I save the html in database with getContent(). Then I put this html of database in a div, but it don’t have style.

In the dhtmlxEditor I see the attachment 1, but in a div I see the attachment 2.

Why?



Hi,

check the content you set into the editor. Locally the following works:

var content = editor.getContent();
editor.setContent("");
editor.setContent(content);