title: How to check if the edit mode in jstree is on? Is it possible to check it?
body: <p>I am using jsTree and I want to get the name/value/text of the node I just created so that I can pass it and store it in the database.
  My problem is that after enabling the edit mode, I have no wayof getting the value entered by the user.
  My idea is that if I can only determine if the edit mode is on or off, then I can kinda run a function that will now get the user's input. I included here the function for creating the node.</p>
  
  <p>Any other way to solve this problem is much appreciated. Thanks in advance.</p>
  
  <pre><code>function demo_create(){
              var ref = $('#data').jstree(true),
              p_id = sel = ref.get_selected();
              console.log("Parent Id: "+p_id);   
              if(!sel.length) { return false; }
              sel = sel[0];
              id = sel = ref.create_node(sel, {"type":"file"});
              console.log("Newly Created Id: "+id);
              if(sel) {
                  ref.edit(sel);
              }
          };
  </code></pre>