Try our conversational search powered by Generative AI!

Paste unformatted text using ctrl-v in TinyMce

Vote:
 

I need to fix so that the text is pasted unformatted when using ctrl-V. Does anyone know how to do this?
I have seen some topics on this but none that was helpful to me.

Best regards,

Jenny

#39854
Jun 03, 2010 15:21
Vote:
 

Well this is nothing that I think yuo just can turn on (unless there is an update in the matter i've missed) so I would make a small plugin that in its init add a listener to the on paste event and there use the tiny cleanup code.

Here is a post about it: http://abeautifulsite.net/2008/10/forcing-paste-as-plain-text-in-tinymce/

And here is a link on some info of creating plugins: http://world.episerver.com/Documentation/Items/Tech-Notes/EPiServer-CMS-6/EPiServer-CMS-6-RC1/Adding-a-TinyMCE-Plug-in/ 

#39859
Jun 03, 2010 17:46
Vote:
 

A late response but no other one is present so here is my solution

https://episerverblog.wordpress.com/2015/04/24/override-tinymce-settings-for-paste/

#120812
Apr 24, 2015 15:20
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.