TinyMCE still isn't working 100% with the new Forms API. I'll have a patch soon that fixes this.

Comments

m3avrck’s picture

StatusFileSize
new10.11 KB

Here's the patch...

TinyMCE works 100% with Forms API now and a few other small bugs were fixed, including adding better support for buttons (a few buttons weren't being shown, also emailed TinyMCE because they had a problem on their end doesn't affect the module), styling the buttons into actually rows and 3 columsn, instead of just one dump in a table cell (looks much better), and a few other small tweaks.

m3avrck’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new37.54 KB

And the full module just in case anyone wants it.

sangamreddi’s picture

Hi,

Not working for me. Details

Latest Drupal CVS (Nov 19)
Php4.4
Apache 2.0
windows XP Pro
Bluemarine theme.

Buttons are not loading, I able to see the disable richtext but when click nothing happening.
Does i need to apply anyother patch?

Thanks in advance

m3avrck’s picture

Actually yes, there is a patch that core needs to make this work (core is broken without it): http://drupal.org/node/38038 .. should go in soon, if it doesn't, I know of a workaround for the module. Need to apply this patch and the one above.

m3avrck’s picture

StatusFileSize
new10.24 KB

Here's and updated patch and module that fixes another bug and now works with the changes that about to go into CVS.

m3avrck’s picture

StatusFileSize
new37.2 KB

and the module just in case the patch doesn't work ;-)

matt westgate’s picture

Status: Reviewed & tested by the community » Active

Patch applied to HEAD.

Leaving this issue open until we know the outcome of the core patch.

kiev1.org’s picture

All the same with смым the last Drupal-CVS 4.7 TinyMCE (tinymce_2.module (37.2 KB)) does not work !
tell - you really managed to connect it to new Drupal?
Give please the reference to the full module or example

kiev1.org’s picture

Under everyone textarea has appeared
hyperlink "disable rich-text " on " j a v a s c r i p t : m c e T o g g l e ( ' e d i t - ' , ' w y s i w y g 4 ' ) ; "
and it is more than anything - the text at editing too was gone

What now to do? Help - very much it is necessary to me new Tinymce and Drupal-4.7

m3avrck’s picture

Like I said above, TinyMCE *won't* work properly without this patch that core still needs: http://drupal.org/node/38038 ... hopefully this will be commited tomorrow (Monday) so it will work. Thanks!

kiev1.org’s picture

StatusFileSize
new28.62 KB

Works!!! THANKS!!! I knew!
It has appeared it is necessary to apply still here this ( http://drupal.org/node/38038 ) patch - in attach ready form.inc

kiev1.org’s picture

Advanced image plugin not work
Checkbox has put and all remains with usual image
What to do?

m3avrck’s picture

Thanks kiev, looks like this is indeed an issue, and a seperate bug too (not related to Forms API). I've created a new issue: http://drupal.org/node/39160 ... patch coming soon!

m3avrck’s picture

Status: Active » Fixed

Marking this fixed now, Drupal core has been updated so TinyMCE CVS works with Drupal CVS now. Will reopen if Drupal core changes (there are talks) but for now the patch is in.

Anonymous’s picture

Status: Fixed » Closed (fixed)