Hi,
We have built a MOSS2007 intranet site with custom MasterPages, PageLayouts, CSS Stylesheets etc. We are using RadEditor 4.5.4.0 for a rich text editor and we've also integrated it into the MOSS Blog and Wiki sites.
Unfortunately for some reason the toolbars of the RadEditor disappear in IE 6, 7 and 8 (in every "X-UA-Compatible" mode) in the MOSS Blog and Wiki when out custom MasterPage is used. It seems that the RadEditor script does not behave as expected and inserts an inline-style "display: none;" (see below) for the toolbars effectively hiding them and making it impossible to use the editor.
<table class="RadEToolbar" id="ctl00_m_g_0044a7d2_c45e_4d42_b9ca_e2c24a7655ec_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_RadTextFieldToolbar1" style="display: none; cursor: default;" border="0" cellSpacing="0" cellPadding="0" sizcache="7" sizset="27" unselectable="on">
The funny thing is that not only the toolbars disappear but the scroll bar of the editor text area moves up and down automatically!
We've tried to go through all our custom code trying to isolate the problem but with no success yet. The bug does not reproduce itself on publishing content pages nor even in every blog site.
We are using a Strict Document Type <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> but during testing we noticed that the toolbars show when the browser is forced into Quirks Mode.
I tried to override the display: none inline style within our CSS-file. It works but IE crashes/hangs while trying to load a resource it never gets. I also tried to do this with JavaScript but the RadEditor scripts are alway executed last on the page (Any ideas how delay script execution past them using jQuery for example?) overriding my code.
Has anyone ever encountered this kind of issue? We've got several years of experience in building custom sites with MOSS2007 and RadEditor and to my knowledge we have not seen this issue before.
In which circumstances (normally) does the editor hide itself? When it detects an unsupported browser? If so why the detection fails here and is there away fix/hack it?
Any ideas or help are most welcome! Thanks!
Pirkka
We have built a MOSS2007 intranet site with custom MasterPages, PageLayouts, CSS Stylesheets etc. We are using RadEditor 4.5.4.0 for a rich text editor and we've also integrated it into the MOSS Blog and Wiki sites.
Unfortunately for some reason the toolbars of the RadEditor disappear in IE 6, 7 and 8 (in every "X-UA-Compatible" mode) in the MOSS Blog and Wiki when out custom MasterPage is used. It seems that the RadEditor script does not behave as expected and inserts an inline-style "display: none;" (see below) for the toolbars effectively hiding them and making it impossible to use the editor.
<table class="RadEToolbar" id="ctl00_m_g_0044a7d2_c45e_4d42_b9ca_e2c24a7655ec_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_RadTextFieldToolbar1" style="display: none; cursor: default;" border="0" cellSpacing="0" cellPadding="0" sizcache="7" sizset="27" unselectable="on">
The funny thing is that not only the toolbars disappear but the scroll bar of the editor text area moves up and down automatically!
We've tried to go through all our custom code trying to isolate the problem but with no success yet. The bug does not reproduce itself on publishing content pages nor even in every blog site.
We are using a Strict Document Type <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> but during testing we noticed that the toolbars show when the browser is forced into Quirks Mode.
I tried to override the display: none inline style within our CSS-file. It works but IE crashes/hangs while trying to load a resource it never gets. I also tried to do this with JavaScript but the RadEditor scripts are alway executed last on the page (Any ideas how delay script execution past them using jQuery for example?) overriding my code.
Has anyone ever encountered this kind of issue? We've got several years of experience in building custom sites with MOSS2007 and RadEditor and to my knowledge we have not seen this issue before.
In which circumstances (normally) does the editor hide itself? When it detects an unsupported browser? If so why the detection fails here and is there away fix/hack it?
Any ideas or help are most welcome! Thanks!
Pirkka