title: Problem with mxEditor and xml configuration file
body: <p>I'm trying to use mxGraph editor. I read the examples and try to understand it. But I can't. From the the tutorial page, in the "port.html" file, they describe the way that they load an xml file for configure an editor. To sum up, they have this configuration file:</p>
  
  <pre><code>&lt;mxEditor&gt;
      &lt;mxDefaultKeyHandler as="keyHandler"&gt;
          &lt;add as="8" action="collapse"/&gt;
          &lt;add as="13" action="expand"/&gt;
          &lt;add as="33" action="exitGroup"/&gt;
          &lt;add as="34" action="enterGroup"/&gt;
          &lt;add as="35" action="refresh"/&gt;
          &lt;add as="36" action="home"/&gt;
          &lt;add as="37" action="selectPrevious"/&gt;
          &lt;add as="38" action="selectParent"/&gt;
          &lt;add as="40" action="selectChild"/&gt;
          &lt;add as="39" action="selectNext"/&gt;
          &lt;add as="46" action="delete"/&gt;
          &lt;add as="65" control="1" action="selectAll"/&gt;
          &lt;add as="90" control="1" action="undo"/&gt;
          &lt;add as="89" control="1" action="redo"/&gt;
          &lt;add as="88" control="1" action="cut"/&gt;
          &lt;add as="67" control="1" action="copy"/&gt;
          &lt;add as="86" control="1" action="paste"/&gt;
          &lt;add as="71" control="1" action="group"/&gt;
          &lt;add as="85" control="1" action="ungroup"/&gt;
          &lt;add as="113" action="edit"/&gt;       
          &lt;add as="123" action="showProperties"/&gt;
          &lt;add as="107" action="zoomIn"/&gt;
          &lt;add as="109" action="zoomOut"/&gt;
      &lt;/mxDefaultKeyHandler&gt;
  &lt;/mxEditor&gt;
  </code></pre>
  
  <p>And in port.html, they put this : </p>
  
  <pre><code>var editor = new mxEditor();
  var graph = editor.graph;
  var model = graph.getModel();
  editor.setGraphContainer(container);
  var config = mxUtils.load('editors/config/keyhandler-commons.xml').getDocumentElement();
  editor.configure(config);
  </code></pre>
  
  <p>Then, when I try to execute any oh this bindings with the associate action on my canvas, it doesn't work, and I realy don't know why.</p>
  
  <p>Thank </p>