Adding a rich text editor to a widget – specifically CKEditor

I had the same problem when adding tinymce to widgets a few months ago.
Add all your javascript code with enqueue script, instead of adding it in each widget instance.

Here is my tinymce implementation: http://gist.github.com/600616