xEditor ext no images

When I use my old 2.0 code for xEditor:



DescriptionEditor=new dhtmlXEditor(“DescriptionEditor”,EditorsSkin);

DescriptionEditor.setIconsPath(“./codebase/imgs/”);

DescriptionEditor.init();



with the new 2.5 without the extended init, it works fine, the 3 images are shown.



When I do use the extended init now none of the images are shown.



This is using an xWindow, with xTabs, with an xEditor in a tab.


Please check that you have included codebase/ext/dhtmlxeditor_ext.js and toolbar libraries.


The sample can be found in the editor documentation dhtmlxEditor/samples/01_initialization/03_editor_init_ext.html


This really frustrated me so I did some digging and came up with this:



this.iconsPath = dhtmlx.image_path||"…/…/codebase/imgs/";



changed to



this.iconsPath = dhtmlx.image_path||"./codebase/imgs/";



worked.  That is the path I specify in setIconsPath().  Not sure if the dhtmlx.image_path is not being set properly or what.



In dhtmlxeditor.js.



 


xWindows uses



this.iconsPath = dhtmlx.image_path||"/codebase/imgs/";



which also works.



 

Could you please provide completed demo?