Categories | Question details Back To List | ||
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. Answer posted by Alex (support) on Sep 09, 2009 01:56 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 Answer posted by Mark Ritter on Sep 09, 2009 09:24 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.
Answer posted by Mark Ritter on Sep 09, 2009 09:29 xWindows uses this.iconsPath = dhtmlx.image_path||"/codebase/imgs/"; which also works.
Answer posted by Support on Sep 11, 2009 02:42 Could you please provide completed demo? |