You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 22, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 22, 2026. It is now read-only.
I agree! I have found a work around that seems to work for anyone wondering. Passing CSS through htmlElementProps seems to work. But it isn't the best solution obviously.
You might be able to go into the CSS code in the node_modules folder, or change the properties of the jsoneditor-menu class through javascript if that's possible.
Activity
vaultec81 commentedon Oct 10, 2020
I agree! I have found a work around that seems to work for anyone wondering. Passing CSS through
htmlElementPropsseems to work. But it isn't the best solution obviously.PunKHS commentedon Feb 19, 2021
Maybe someone has workaround? I would like to change the
.jsoneditor-menu { background-color: #4b4b4b }and cannot do it throughhtmlElementPropsvaultec81 commentedon Feb 19, 2021
You might be able to go into the CSS code in the
node_modulesfolder, or change the properties of the jsoneditor-menu class through javascript if that's possible.SeeThruHead commentedon Mar 30, 2021
can't import any css file in node_modules in next js
SimonKlausLudwig commentedon Apr 21, 2021
would be great, this adds a ton of css and makes lazy loading of the css really hard.
NixBiks commentedon May 6, 2021
@SeeThruHead I have the same issue. Found a solution?
SeeThruHead commentedon May 6, 2021
no we didn't use this because of the issue
SimonKlausLudwig commentedon Jun 11, 2021
It should be that hard to exclude the css file right ? Please take this into account..
KirillSuhodolov commentedon May 14, 2022
is it possible to exclude css for next.js apps?
anavgagneja commentedon May 25, 2022
@SeeThruHead did you find an alternative you liked that works with next js?
amiram commentedon Jul 3, 2023
@anavgagneja this may help https://github.com/tsukhu/jsoneditor-react-ext