-
Notifications
You must be signed in to change notification settings - Fork 12
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
json editor set schema #9
Comments
Thanks for the feedback! :) Regarding the access to the editor itself, once element is attached to your DOM, you should be able to do just: var aceEditorInstance = document.querySelector('juicy-jsoneditor').editor; then you can perform anything josdejong/jsoneditor API allows. Is that what you want, or do need to access just the input field? |
I was hoping I would bind to the
The first requires less code. Second is equally acceptable. An aside:
Do you mind changing that to to something like: http://stackoverflow.com/a/31484427, i.e., base href support. |
Regarding:
It would be great if you could provide your use case as a code sample, so I could get better understanding of your needs. Regarding aside: I would rather avoid such change. |
Can you please post a working example of getting access to the actual
editor
field? I'd like to set a schema on it. I can't see how it is exposed, nor events being fired when it is initialised.Many thanks for the lib. Good work.
Edit: m
odes='["code", "form", "text", "tree", "view"]
' is the new syntax in Polymer. The examples use:modes="['code', 'form', 'text', 'tree', 'view']"
.The text was updated successfully, but these errors were encountered: