Hi,
It's possible to disable the "paste" option in the FKCEditor? I don't' want discard formatting when users paste text, I want nobody could paste anything in the textarea. Users only could write in it.
Is it possible?
Thanks,
--
Xisco
Mallorca - Spain
It's possible to disable the "paste" option in the FKCEditor? I don't' want discard formatting when users paste text, I want nobody could paste anything in the textarea. Users only could write in it.
Is it possible?
Thanks,
--
Xisco
Mallorca - Spain
Re: Disable "copy&paste" in FCKEditor
Removing the 'Paste' from the list. You probably also want to remove the other two paste options as well if you want to completely disable paste buttons.
However, the right click menu will most likely still allow pasting as will the ctrl+V key combination. I wouldn't know how to work around all of that. The right click menu can be edited, but ctrl+V is part of Windows and I don't think it's possible for a form to disable this.
Re: Disable "copy&paste" in FCKEditor
I've edited my fckconfig.js file as you say but I still can paste with the right click menu ( Ctrl + V key combination). May be, as you say before, it's impossible to disable right click menu in the textarea because of Ctrl + V it's a part of Windows.
If anybody has another idea, please explain it!
Thank you for your help,
Re: Disable "copy&paste" in FCKEditor
Thanks
Re: Disable "copy&paste" in FCKEditor
Try this:
http://docs.fckeditor.net/FCKeditor_2.x ... Script_API
Register OnPaste event and return false from the method.