josdejong / svelte-jsoneditor

A web-based tool to view, edit, format, repair, query, transform, and validate JSON
https://jsoneditoronline.org
Other
897 stars 108 forks source link

Spacing issue on the editor when changing mode from tree to text mode in the vanilla-jsoneditor #158

Closed KishanRavindran closed 1 year ago

KishanRavindran commented 1 year ago

I have installed the vanilla-jsoneditor in my angular 13 application and I am able to get the editor displayed. But when I try to change the mode to text mode the view is changed to as in below . Is there a way to resolve spacing in the editor and content.
Jsoneditor_text_mode

josdejong commented 1 year ago

It looks like the CSS of the text editor is broken. On https://jsoneditoronline.org/ you can see how it is supposed to look. How can I reproduce your issue?

KishanRavindran commented 1 year ago

I have installed this package in angular 13 with clarity web component. I will try to see what is the CSS issue if I try to put the code in stackblitz.

josdejong commented 1 year ago

I'll close this issue now: not enough information to reproduce or conclude that there is a bug in the library. Please reopen when needed.