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

broeker’s picture

Hmm. 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.

webchuck’s picture

I 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?

Project: » Lost & found issues

This issue’s project has disappeared. Most likely, it was a sandbox project, which can be deleted by its maintainer. See the Lost & found issues project page for more details. (The missing project ID was 220415)