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

customising insert options #116

Closed
ghost opened this issue Jul 29, 2014 · 2 comments
Closed

customising insert options #116

ghost opened this issue Jul 29, 2014 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 29, 2014

I would like to use the editor to modify some fairly large JSON objects, for this it would be useful for me to define my own insert options, for example:

  • inserting objects with pre-defined sub-fields
  • drafts for a whole object, with variable names but no data
    etc.

If it's possible at the moment, could you point me in the right direction?
Or will it be possible with future updates (plugins)?

@josdejong
Copy link
Owner

Right now there is no support for custom insert options or custom items in the context menu (see also #75).

You could have a look at overloading the functions Node._onInsertBefore and Node._onInsertAfter.

@dhughes-xumak
Copy link
Contributor

dhughes-xumak commented Jul 20, 2017

#438 adds support for custom context menu items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants