Hi.
I am using dhtmlx editor.
I am using two divs. First div contain the list of persons(to choose persons for send email) and the second div contain dhtmlx editor. I have two buttons to swap between these divs. When I swap between these divs than dhtmlx editor stop working properly (I cannot edit content of editor properly) in firefox browser. (In simple when i hide and show the div that contain dhtmlx editor div than dhtmlx editor stop working properly in firefox browser.) It works fine in IE browser.
I am using following approach to hide and show divs.
document.getElementById(id).style.display = “block”;
document.getElementById(id).style.display = “none”;
Regards
Umair Tariq
Xeeonix tech.
Hello,
try to call following method after document.getElementById(id).style.display = “block” to solve the issue:
if (!_isIE) editor._prepareContent(true);
editor.setSizes();
It did not work. Please Send some other solution.
Regards
Umair Tariq
Xeeonix Tech.
Locally, this appoach works. Please, see sample with latest editor version (2.5 beta)
1251812171.zip (49.7 KB)
Hi.
The sample attached works locally but when I replace the codebase of my project with attached samples codebase it does not work properly (The icons of editor disappears and size of editor shrinks).
Regards
Umair Tairq
Hello,
please, check that define path to editor icons:
dhtmlx.image_path = “codebase/imgs/”;
and all other paths are correct.
If issue still occurs, please provide any sample to recreate it.
Hi
I have done it. I was missing to including all editor files mention in sampleapplication in my code and was not setting the image path as you set in the sample application. It work fine.
Thanks
Umair Tariq
Xeeonix Tech.