Disable "Paste" from the XHTML editor menu

Vote:
 
Hi. Is it possible to disable the "Paste" option from the right click menu(ContextMenu) in the XHTML editor? I only want "Paste Unformatted" to be an option. BR, Tore
#16031
Mar 25, 2008 19:07
Vote:
 
It should be possible, yes. Try looking at "Create an editor Plug-In", under How To in the Developers Guide in the SDK. The code sample illustrates how to add custom tools to the right click menu, but should guide you in the right direction.
#16847
Mar 25, 2008 19:22
Vote:
 
Hi Mari. Read the article in the SDK, but did not understand how this would help me. Can I get hold of the paste function in some way and disable it? BR, Tore
#16848
Mar 25, 2008 19:22
Vote:
 
Hi! As this function is generated as a plug-in in EPiServer you can turn it off in the plug-in manager. 1. Go to admin and click on the plug-in manager under the config tab. 2. Click on the EPiServer assembly link. 3. Click on the overview tab. 4. Find paste under "Editor" and uncheck the checkbox. Save the settings (at the top of the page). The option should now no longer be available in the editor. Regards Linus Ekström EPiServer Development Team
#16849
Mar 25, 2008 19:22
Vote:
 
Hi Linus. Works like a charm :) Thanks for your help. BR, Tore
#16850
Mar 25, 2008 19:22
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.