editor on form


Hi.
I 've encountered issue with editor placed inside a form. I get unexpected behaviour with toolbar displayed vertical and also missing icons (I’m using dxh_terrace skin). The form’s XML structure is:

<items> <item type="input" name="title" label="Title:" labelWidth="80" labelAlign="right" inputWidth="250"/> <item type="editor" name="msg" label="Text:" labelWidth="80" labelAlign="right" inputWidth="650" inputHeight="400" offsetTop="10"/> </items>
I’ve created small sample to explain the issue I’m getting. What am I missing ( probably some files included but don’t know what)?
If I want to get any images shown I need to include ‘dhxeditor_dhx_skyblue’ folder (in my example I’ve changed folder name to ‘–dhxeditor_dhx_skyblue’, for demonstration) even if I want dhx_terrace skin, why?
Thanks in advance.
JTest.zip (159 KB)

Hello
You need to use one common skin for all application and set skins for all components id you web or terrace theme

But I’m using only dhx_terrace:

[code]

JTest
<link rel="stylesheet" type="text/css" href="codebase/skins/dhtmlxeditor_dhx_terrace.css">
<link rel="stylesheet" type="text/css" href="codebase/skins/dhtmlxtoolbar_dhx_terrace.css">
<link rel="stylesheet" type="text/css" href="codebase/skins/dhtmlxform_dhx_terrace.css">	
<link rel="stylesheet" type="text/css" href="codebase/dhtmlx.css">

<script type="text/javascript" src="codebase/dhtmlxcommon.js"></script>
<script type="text/javascript" src="codebase/dhtmlxform.js"></script>
<script type="text/javascript" src="codebase/dhtmlxtoolbar.js"></script>
<script type="text/javascript" src="codebase/dhtmlxeditor.js"></script>
<script type="text/javascript" src="codebase/ext/dhtmlxeditor_ext.js"></script>
<script type="text/javascript" src="codebase/ext/dhtmlxform_item_editor.js"></script>
<script type="text/javascript" src="codebase/dhtmlx.js"></script>
[/code]

Any thoughts on this? I’m in a bit of a hurry, please.

Try to add after

dhtmlx.image_path = "codebase/imgs/";

the next line:

dhtmlx.skin = "dhx_terrace";