In fckconfig.js you should change: 'FCKConfig.ForcePasteAsPlainText = true' This removes font size and format, the problem is that it also removes bold, italic text etc. You can also use the paste from Word function, but that one doesn't work on a normal CTRL+V. Unfortunately there doesn't seem to be a function that cleans up all the code except the bold, italic, underline and link functions....
Is there a way to set up editor in such a way that when user hits crtl-v from the keyboard, text gets pasted unformatted directly? In other words, can you skip the pop-up window?
RE: Copy - Paste Text
RE: Copy - Paste Text
'FCKConfig.ForcePasteAsPlainText = true'
This removes font size and format, the problem is that it also removes bold, italic text etc.
You can also use the paste from Word function, but that one doesn't work on a normal CTRL+V.
Unfortunately there doesn't seem to be a function that cleans up all the code except the bold, italic, underline and link functions....
RE: Copy - Paste Text
What's status quo
Can you specify "paste as clean html" in the config - meaning no word styles ?
RE: Copy - Paste Text
Go to line 70 in fckconfig.js
and change the following line:
FCKConfig.ForcePasteAsPlainText = false ;
to True.
When you press Ctrl+v another window will popup and allow you to past any text free of any styling.
Hope this helps
Ctrl-V to paste text without pop-up ?
'FCKConfig.ForcePasteAsPlainText = true'