Open DanielHabenicht opened 3 years ago
+1
Had this problem too. Eventually figured I could set the class name and control it myself with:
<JsonEditor
...
htmlElementProps={{className: 'jsoneditor-container'}}
/>
Or you can change the element type with the tag
attribute.
Hi! While trying to incorporate the editor into my application I came across this
<div>
wrapping the editor.It seems rather unneeded and prevents the expansion of the Editor, which I think is not expected behaviour, implied by the CSS set on the![image](https://user-images.githubusercontent.com/13590797/110541183-b11b5c00-8127-11eb-8185-c608b71062f5.png)
jsoneditor
class:I think the rogue
div
should be removed, what do you think?