Active
Project:
Lost & found issues
Version:
5.x-0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2008 at 16:04 UTC
Updated:
3 Mar 2008 at 22:56 UTC
Jump to comment: Most recent
On pages with multiple editors (e.g. edit views) I am getting JS errors and the editor is no longer functional. Here is some relevant Firebug output:
sel has no properties
wproGetSelectedNodes()compileCoreEditor... (line 503)
sites/all/modules/wysiwygpro/wysiwygPro/core/compileCoreEditorJS.php
[Break on this error] var num = sel.rangeCount (line 503)
This appears to be triggered by the collapse fix in wysiwygPro.js -- if you remove that JS the error goes away.
However, it then throws a new JS on pages with multiple editors:
this.editWindow.document has no properties
compileCoreEditor... (line 3328)
sites/all/modules/wysiwygpro/wysiwygPro/core/compileCoreEditorJS.php
Comments
Comment #1
broeker commentedHmm. Upon further review the editor is working in some instances with multiple editors on a single page. So far the problem seems limited to the "edit view" page where there are 6 text boxes. Will post more results after testing.
Comment #2
webchuck commentedI have seen problems with WPro not working when found within a collapsible fieldset. This may be the problem you're seeing. However, I haven't found a way around it. I also have found issues with using an updated jquery.js. Are you using the jquery_update module?