I have a D5 site, and I'm having some weird issues with blocks. I want to create a simple block from the block admin page where the customer can enter some text and a picture (using FCKEditor and IMCE). When I go to create the block, I 'm seeing two problems. First, the body area is very small without the editor showing up, even though that page is not excluded in the FCKEditor visibilty settings. Second, when I save the block and add it to a sidebar, it is not displayed. If I disable FCKEditor, the Body field is regular size, and when the block is saved and configured to display in a sidebar, it actually shows up. When I enable FCKEditor again, the body text field is very small again.

I have upgraded to the most recent version of FCKEditor itself. This issue occurs in FF, IE, Safari, Opera, and Chrome.

Comments

micheleannj’s picture

Same problem! Textareas are tiny, editor not showing up, and when I submit content with plaintext enabled, it doesn't get saved... But with 6.x
I have it running fine on other sites, so I'm not sure what I'm doing wrong this time.

Suggestions?
Thanks!

Alexander Ufimtsev’s picture

having similar issues. fckeditor works only for user id 1.
had to downgrade back to 2.1.
tried to uninstall and reinstall module and reconfigured module, upgraded fckeditor itself to 2.6.4 - no effect.

Alexander Ufimtsev’s picture

fixed the problem for me by clearing javascript cache (had javascript aggregation module installed).

wwalc’s picture

Status: Active » Fixed

As Alexander Ufimtsev noticed, you may have javascript aggregation enabled. Make sure that you have completely cleared browser's cache. Feel free to reopen this isssue if you have still any questions.

Check this link: http://drupal.fckeditor.net/troubleshooting#6

wonder95’s picture

Status: Fixed » Active

I have cleared my cache (both browser and database), and no aggregate caching is being used. Devel module is disabled. Nothing has changed; I still get a small window with no editor displayed.

wwalc’s picture

http://drupal.fckeditor.net/troubleshooting#3

To save your time: use Firefox with Firebug enabled and let me know what javascript error appeared.

wonder95’s picture

Status: Active » Fixed

Found the problem and fixed it. Looks like the issue is with jCarousel. The error I was getting was:

$("#mycarousel").jcarousel is not a function

This was because I had this script (as required by the plugin) in my page.tpl.php:

<script type="text/javascript">
      $(document).ready(function() {
      $('#mycarousel').jcarousel();
      });
</script>

The jCarousel module only loads jcarousel.js on a node page (using hook_nodeapi when $op = 'load'), so on the block add pages, that function was conflicting for some reason with the jQuery for FCKEditor since jcarousel.js wasn't loaded. I moved the above function call to jcarousel.js, and everything works fine now.

Status: Fixed » Closed (fixed)

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