         core:
           animation: 0
           html_titles: true
+          initially_open: initiallyOpen
         contextmenu:
           select_node: true
           show_at_node: true


      helper.depthFirstIterativePreorder body, @depthWalkCallback

      @jsTree.jstree(@_jstreeOptions([top['children']]))
        .on('select_node.jstree', @selectNodeCallback)
        .on('click.jstree', 'li.jstree-leaf > ins', (event) ->
            $(event.currentTarget).siblings('a').click()

      body = @editor.dom.getRoot()
      treeInstance = @jsTree.jstree('get_instance')

      openNodes = @jsTree.find('.jstree-open').map( (index, domElement) ->
        if not $(domElement).parentsUntil('.jstree', '.jstree-closed').length
          return domElement.getAttribute "id"
        return null
      ).get()
      top = {
        data: 'Document',
        state: 'open',
