custom-widgets
custom-widgets copied to clipboard
jsoneditor widget
I am trying to develop a jsoneditor widget in order to have a json text input field powered by jsoneditor
I think that this widget may be of general interest in the surveyjs ecosystem. However I need some help to get it work
Here's the plunker I am working on. To start with the render has some problems... Can anyone help? Thank you
Managed to do that. It was a css conflict. I just wonder if that's the only way to make surveyJS and json editor work together. Have a look to the above plunk!
@masciugo Thank you for the valueble contribution! I'm impressed by the plunk with fixed CSS! Could you please specify - what do you mean under "to make surveyJS and json editor work together"? You've achieved this goal in your plunk, haven't you?
I always try to add less code as possible to make third-party libs work together.
I am not a very css expert but maybe there's not other way than unset outer rules for inner component. I don't know if exist an other smart way to write css rules (for surveyjs in this case) that is than easy to skip by inner components (jsoneditor)