Comments (4)
I use htmlElementProps={{ style: { height: '300px' } }}
to control height
from jsoneditor-react.
clear?
from jsoneditor-react.
I think this sounds like it could be similar to the issue I'm seeing.
When I add the jsonEditor to my application, It does not expand to the full height.
If I set the height for the div that contains the jsonEditor to be 75vh the json editor expands but the content in the ace editor does not
Update - I just realized that resizing it the way I did worked. But because I tested my css in the browser first the ace editor didn't adjust automatically. So changing the height of the parent div does work
When I remove the ace editor, I can easily set the height of the content the way I want it. So I guess to get back to what I think @tungns0695 question is. Is there a correct way to control the height of the ace editor?
from jsoneditor-react.
why I can't change the font size of the Ace Editor using useState hooks in react, I mean I tried it, but it didn't change dynamically in the website when I change it.
is the fontSize property not changeable like that. please someone provide me a solution.
from jsoneditor-react.
Related Issues (20)
- Custom disable fields(keys) or values from being editable
- Schema validation error with array root
- Why is there an uneeded <div>? HOT 2
- Any plans to implement the new JSONEditor?
- Not supported event on blur
- update peer dependency to React 17 HOT 1
- value is not reactive HOT 4
- Auto-complete
- Typescript support HOT 5
- jsoneditor-react is incompatible with react@"17.0.2" HOT 2
- Cannot scroll with mouse wheel when passing ace parameter
- Can't change theme on the fly
- Json editor menu templates
- Missing css when using nginx to serve it HOT 1
- placeholder support
- Support mainMenuBar
- Add 'mode' to ace example
- Issues to clarify
- update peer dependency to React 18 HOT 5
- Label 'Preview' is not associated with its edit field present under 'Transform' dialog box. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsoneditor-react.