-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Icons are not rendered. #28
Comments
do u using CRA ? |
I'm using React in Meteor app. Bundled using using default meteor bundler. |
is there any update regarding this issue ? |
I think it is a problem upstream or in your webpack config.. You could check storybook https://github.com/vankop/jsoneditor-react/tree/master/stories all staff works.. |
In provided example svg with icons loads, so probably you need to create issue in jsoneditor itself https://github.com/josdejong/jsoneditor/issues |
I cant see icons loaded in provided example too, neither in my app |
Working to find a fix for this. Its one of those straight forward gotchas, must be |
So it is indeed a webpack configuration issue. In my case I was using image-webpack-loader. But as soon as I changed my webpack config to use the following (begrudgingly), svgs and images are now loaded. Also ensure your Sass config is using resolve-url-loader and source map is enabled.
|
I removed the config from webpack config from module.rules, and it worked |
Was this issue solved, I am facing the same issue |
Icons are not visible in the editor.
Issue reproduced in codesandbx.
https://codesandbox.io/s/infallible-smoke-lvcvo?fontsize=14&hidenavigation=1&theme=dark
The text was updated successfully, but these errors were encountered: