Editor - problems with "Enter "

In my case I use code:

var editor;
dhtmlx.image_path = "js/dhtmlx/editor/imgs/";
editor = new dhtmlXEditor("editorObj","dhx_blue");

But, if in text been command “Enter” - it’s not work.
How prepear text for command “setContent()”?

If I write data:


in editor,
than component getContent()

  • is:

So, this html-string is problem for component with method setContent().

Could you provide us completed demo?
docs.dhtmlx.com/doku.php?id=othe … leted_demo

Editor doesn’t control “enter” key pressing. The tag depends on browser, for example, Chrome generates

, IE Therefore, the issue can not be solved in currect Editor implementation.