title: Liferay: customize CKEditor
body: <p>I try to customize shortcuts keys in Liferay 6, in the CKEditor.</p>
  
  <p>I made a hook, and added this to the file html/js/editor/ckeditor/ckconfig.jsp:</p>
  
  <pre><code>CKEDITOR.config.keystrokes = [
      [ CKEDITOR.ALT + 121 /*F10*/, 'toolbarFocus' ],
      [ CKEDITOR.ALT + 122 /*F11*/, 'elementsPathFocus' ],
  
      [ CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ],
  
      [ CKEDITOR.CTRL + 90 /*Z*/, 'undo' ],
      [ CKEDITOR.CTRL + 89 /*Y*/, 'redo' ],
      [ CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 /*Z*/, 'redo' ],
  
      [ CKEDITOR.CTRL + 76 /*L*/, 'link' ],
  
      [ CKEDITOR.CTRL + 71 /*G*/, 'bold' ],
      [ CKEDITOR.CTRL + 73 /*I*/, 'italic' ],
      [ CKEDITOR.CTRL + 85 /*U*/, 'underline' ],
  
      [ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ]
  ];
  </code></pre>
  
  <p>The problem is, whatever the change I make in this file, it changes nothing in my CKEditor! Even if I remove everything, it is still the same.</p>
  
  <p>When I parse the page with Firebug, I see that ckeditor.jsp is parsed, and even if I manually edit this file, the shortcuts are still the native ones.</p>
  
  <p>Question is: is this JSP file even parsed by CKEditor? If yes, is there anything that blocks my modifications?</p>