Hello
I'm using this code in my index.html file, to prevent using right-click except on editing fields:
  <script type="text/javascript">
    $(document).ready(function(data){
       $(document).bind('contextmenu',function(e){
        var t = $(e.target).closest('#editor,.validatebox-text');   // enable right click on HTML editor and all input's
        if (!t.length){
          e.preventDefault();    		
        }
      });      
    });
  </script>  
question is - how to enable right-click on texteditor, too?
Thank you