views:

573

answers:

1

I am trying to use the SimpleModal plugin for jquery to load a popup div with a CKEditor in it, but when the modal box opens up, the CKeditor is all disabled and won't let me type text into it. I am using all default settings. Any suggestions would be great.

A: 

Are you initializing the CKEditor at the right time? From the simplemodal docs:

onShow: Useful for binding events or any other actions you might want to perform after the modal dialog elements have been displayed. If you are including another plugin (TinyMCE, DatePicker, etc.) in a modal dialog, this is where you want to initialize that plugin.

And a second possibility, I'm not sure whether this will help you, but the JQuery UI modal dialog has a similar problem showing CKEditor for which a patch exists.

Pekka
Thanks Pekka! That did the trick nicely.Also, I didn't know about the UI modal dialog. Maybe that one would be better to use. You are a rock star!
Clint