custom-widgets icon indicating copy to clipboard operation
custom-widgets copied to clipboard

jsoneditor widget

Open masciugo opened this issue 6 years ago • 3 comments

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

masciugo avatar Apr 04 '19 16:04 masciugo

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 avatar Apr 05 '19 16:04 masciugo

@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?

tsv2013 avatar Apr 08 '19 07:04 tsv2013

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)

masciugo avatar Apr 08 '19 16:04 masciugo