I'm using the dev 6 modules. When i click on insert into post nothing happens. I'm using nicedit....a wysiwyg editor like tiny mce. Any ideas?
I'm using the dev 6 modules. When i click on insert into post nothing happens. I'm using nicedit....a wysiwyg editor like tiny mce. Any ideas?
Comments
Comment #1
mdgrech commentedAlright when i turn off the editor the module works fine but that doesnt really solve my problem
Comment #2
hutch commentedThe javascript WYSIWYG editors replace the existing textarea box with their own and it has its own id so imagepicker cannot find it. It works with tinymce because there is code in the javascript that handles the insertion, it looks for the id that tinymce uses. Here is the code that does it:
As you can see, it finds the id 'mce_editor_0' and then runs the tinyMCE command 'mceInsertContent' to do the job.
I don't know wether this can be adapted to nicedit or not, a careful look at the page with a tool like firebug might reveal enough, along with a trawl through the nicedit code to find how the insertion command works.
Alternately you could post a request for help with the nicedit folks, if they can reveal information similar to the above it might be possible to get it going, either way let this list know.
Hope this helps.
Comment #3
cgdigitaltreats commentedI have the same problem with fckeditor.
I have it set to default off, and the user can post the image, and then switch fck on.
Antonio
Comment #4
hutch commentedHave you tried the patch in
http://drupal.org/node/274093
This will enable fckeditor in imagepicker
It goes without saying that this should be tested in a development environment, not on a production system.
Please report your results!
Hope this helps
Comment #5
hutch commentedSupport for fckeditor-6.x-1.3 module now available in imagepicker-6.x-2.x-dev