After a website update from an earlier 5 to Drupal 5.16, my editor is no longer showing on the desired field.

I've got WYSIWYG set to display NicEdit on a particular input format, and all the scripts seem to have been called:
wysiwyg.init.js
/wysiwyg/nicedit/nicEdit.js
/wysiwyg/editors/js/nicedit.js
/wysiwyg/editors/js/none.js

I don't think it's a file system permission issue either. I suspect it could be javascript based, maybe my custom theme is interacting? One thing I've noticed is that when I click a fieldset, it 'unravels', but clicking the field set link again does not wrap the field set up. Is this a clue?

Thanks for any tips, here's the website http://sourdough.com

Comments

maedi’s picture

At the bottom of this page, the comment field should show the editor. One thing I noticed was that the 'Disable rich-text' link is still there.
http://sourdough.com/forum/mold

sun’s picture

Status: Active » Fixed

This is because

<script type="text/javascript" src="/sites/all/modules/wysiwyg/nicedit/nicEdit.js"></script>

fails to load. Most likely, your nicedit.js is all lowercase.

If you would have looked into your browser's error console, you would have seen:

Error: nicEditor is not defined
Source: http://sourdough.com/sites/all/modules/wysiwyg/editors/js/nicedit.js
Line: 8

Consider updating to a later version of Wysiwyg API and replacing NicEdit with the current version of 0.9.

maedi’s picture

Thank you so much Sun!

It turns out that the nicEdit.js file was there but it was unreadable by the browser. I downloaded the file, copied its contents, deleted the original file and created one of the exact same name in its place with the copied contents. Uploaded it and it now works.

I didn't think to have a look in the error console, something I'll do in future. Thanks a bunch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.