This overrides the web browser's own right-click menu with CKEditor's copy and paste commands, which has the annoying side-effect of preventing you from using automatic spell checking and corrections in browsers like Firefox.
Being able to quickly spell-check emails that were going out to clients was deemed vital, so I worked around this by editing this file:
Code: Select all
/opt/otrs/var/httpd/htdocs/js/thirdparty/ckeditor-4.3/ckeditor.js
There are 3 entries that you need to remove from this list in order to disable the right-click context menu:
Code: Select all
'context menu' 'table tools' 'list style'
Code: Select all
!0,CKEDITOR.config.disableNativeSpellChecker=!0,CKEDITOR.config.contentsCss=CKEDITOR.basePath+"contents.css",CKEDITOR.config.plugins="dialogui,dialog,a11yhelp,about,basicstyles,bidi,blockquote,clipboard,button,panelbutton,panel,floatpanel,colorbutton,colordialog,menu,dialogadvtab,div,elementspath,enterkey,entities,popup,filebrowser,find,fakeobjects,flash,floatingspace,listblock,richcombo,font,format,forms,horizontalrule,htmlwriter,iframe,image,indent,indentlist,indentblock,justify,link,list,magicline,maximize,newpage,pagebreak,pastefromword,pastetext,preview,print,removeformat,resize,save,selectall,showblocks,showborders,smiley,sourcearea,specialchar,stylescombo,tab,table,templates,toolbar,undo,wysiwygarea",
Clear OTRS's cache:
Code: Select all
perl /opt/otrs/bin/otrs.DeleteCache.pl
perl /opt/otrs/bin/otrs.LoaderCache.pl -o delete
Then try to right click in an editor window (email reply, etc).