TinyMCE will not paste as text or clean up code

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Peter Bradley
New Member
New Member
Posts: 5
Joined: Mon Jun 09, 2008 11:02 am

TinyMCE will not paste as text or clean up code

Post 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?
Ziggywigged
Power Poster
Power Poster
Posts: 424
Joined: Sat Feb 02, 2008 12:42 am

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

Post by Ziggywigged »

Did you try resetting all settings to default in the admin TinyMCE configuration page?
Take a penny, leave a penny.
Peter Bradley
New Member
New Member
Posts: 5
Joined: Mon Jun 09, 2008 11:02 am

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

Post by Peter Bradley »

Yep, and it makes no difference.
marisafal
Forum Members
Forum Members
Posts: 29
Joined: Thu Mar 20, 2008 9:04 pm

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

Post 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!
alby

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

Post 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
marisafal
Forum Members
Forum Members
Posts: 29
Joined: Thu Mar 20, 2008 9:04 pm

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

Post by marisafal »

Awesome - that worked! Thanks so so much!
nuno

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

Post by nuno »

is release  in 2.4.2 (sun)
Best regards
alby

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

Post 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
marisafal
Forum Members
Forum Members
Posts: 29
Joined: Thu Mar 20, 2008 9:04 pm

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

Post by marisafal »

I see - well thanks so much for your help! 
Post Reply

Return to “Modules/Add-Ons”