Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Context Menu #284

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Commits on Mar 24, 2016

  1. Dynamic Context Menu

    Define the nodes that will have a context menu and which actions are permitted for each node by defining the 'context' option in the editor's options. For example the options below define that only node1, node2, and all the children of node3 and node4 will have a context menu. Moreover, node1 and node2 allow only the 'Remove' action while the children of node3 and node4 allow both the 'Duplicate' and 'Remove' actions.
    
    context: {
      items: {
        node1: ['Remove'],
        node2: ['Remove']
      },
      children: {
        node3: ['Duplicate', 'Remove'],
        node4: ['Duplicate', 'Remove']
      }
    }
    tdakanalis committed Mar 24, 2016
    Configuration menu
    Copy the full SHA
    f6734e7 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2016

  1. Merge branch 'develop' into feature/dynamicContextMenu

    # Conflicts:
    #	src/js/Node.js
    tdakanalis committed Apr 12, 2016
    Configuration menu
    Copy the full SHA
    bce2312 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f22cdb8 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2016

  1. Configuration menu
    Copy the full SHA
    66914c5 View commit details
    Browse the repository at this point in the history