Page 1 of 1

TinyMCE will not paste as text or clean up code

Posted: Wed Jun 11, 2008 11:09 am
by Peter Bradley
I have just installed CMSMS 1.3 with TinyMCE 2.4 and cannot get it to clean up the code when pasting from Word. The toolbar should have a "pastetext" button but it hasn't. In any case I have ticked the box in TinyMCE configuration for cleaning up code, but it doesn't - it pastes all of the usual junk that Word generates. Any suggestions?

Re: TinyMCE will not paste as text or clean up code

Posted: Wed Jun 11, 2008 11:37 am
by Ziggywigged
Did you try resetting all settings to default in the admin TinyMCE configuration page?

Re: TinyMCE will not paste as text or clean up code

Posted: Wed Jun 11, 2008 12:26 pm
by Peter Bradley
Yep, and it makes no difference.

Re: TinyMCE will not paste as text or clean up code

Posted: Thu Jun 12, 2008 8:41 pm
by marisafal
Hi I'm having the same problem.  I tried resetting to default as well and it still does not show.  Anyone have any ideas?  I posted the same issue here: http://forum.cmsmadesimple.org/index.ph ... 781.0.html

Thanks!

Re: TinyMCE will not paste as text or clean up code

Posted: Thu Jun 12, 2008 9:29 pm
by alby
marisafal wrote: Hi I'm having the same problem.  I tried resetting to default as well and it still does not show.  Anyone have any ideas?  I posted the same issue here: http://forum.cmsmadesimple.org/index.ph ... 781.0.html
I left a message to module admin.
Now for workaround:

- Download TinyMCE-2.4.0b4.zip from forge, uncompress and put files in paste folder (TinyMCE/tinymce/jscripts/tiny_mce/plugins/paste) in your paste folder

- Edit tinyconfig.php in (modules/TinyMCE) and add ",paste" to $plugins
  pe (row 244): $plugins .= ",simplepaste"; => $plugins .= ",simplepaste,paste";


Alby

Re: TinyMCE will not paste as text or clean up code

Posted: Fri Jun 13, 2008 12:29 pm
by marisafal
Awesome - that worked! Thanks so so much!

Re: TinyMCE will not paste as text or clean up code

Posted: Fri Jun 13, 2008 12:46 pm
by nuno
is release  in 2.4.2 (sun)
Best regards

Re: TinyMCE will not paste as text or clean up code

Posted: Fri Jun 13, 2008 1:19 pm
by alby
marisafal wrote: Awesome - that worked! Thanks so so much!
I speack with Silmarillion (author of project) and paste plugin is out (deliberate).
In this version (and later) paste is replaced by simplepaste (allow automatic complete cleaning of html)
pastetext is an error in toolbar #1 that will be correct in next version

Alby

Re: TinyMCE will not paste as text or clean up code

Posted: Sat Jun 14, 2008 12:42 am
by marisafal
I see - well thanks so much for your help!