plantain-00 / schema-based-json-editor

A reactjs and vuejs component of schema based json editor.
MIT License
168 stars 38 forks source link

No style is applied #33

Closed bayerlse closed 3 years ago

bayerlse commented 3 years ago

Version:

8.2.1

Code:

<JSONEditor
                schema={schema}
                initialValue={content}
                updateValue={() => console.log('UPDATED')}
                theme="bootstrap3"
                icon="bootstrap3"
            />

Expected:

bootstrap3 styles are applied

Actual:

bootstrap3 styles are not applied, despite bootstrap css is included on page. Do you have any example how the styling can be applied in react app? Thanks!

plantain-00 commented 3 years ago

You can check whether the class is well schema-based-json-editor--card for boostrap3, and whether they are loaded from bootstrap.min.css 屏幕快照 2021-03-13 19 30 10

bayerlse commented 3 years ago

Thanks for the quick reply! They indeed were'nt loaded.