Hello,
I would like for ALL content that is pasted into FCKeditor to be in plain text. Anytime that anything is pasted it should be in plain text. I don't want a popup box with a textarea. But all text should be pasted in plain-text format without images. The user may then format the text with FCKeditor but it should all be plain-text to start with.
Is this technically possible? Right now I don't need the code, I just need to know if this can be done.
Thanks!
-Hank
I would like for ALL content that is pasted into FCKeditor to be in plain text. Anytime that anything is pasted it should be in plain text. I don't want a popup box with a textarea. But all text should be pasted in plain-text format without images. The user may then format the text with FCKeditor but it should all be plain-text to start with.
Is this technically possible? Right now I don't need the code, I just need to know if this can be done.
Thanks!
-Hank
Re: Could all pasted content be pasted in plain-text?
In fckconfig.js change ForcePasteAsPlainText to 'true'.
There are many other config options in this file. Check the FCKeditor wiki http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_Settings
It took me a while to find this to sort a problem I had, so hope it helps.
Mike
Re: Could all pasted content be pasted in plain-text?
Unfortunately the popup box is forced in FireFox, forcing the user to paste his/her text for the second time. Text that is pasted should just convert to plaintext immediately, just like the way it works in IE. Does anyone know a workaround?
Thanks,
Mark