Skip to content
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

onHeightChange usage #477

Open
headring opened this issue Jan 26, 2023 · 1 comment
Open

onHeightChange usage #477

headring opened this issue Jan 26, 2023 · 1 comment

Comments

@headring
Copy link

HI, I'm a very new to this field so I have short knowledge.

My situation and intention:
스크린샷 2023-01-27 오전 1 58 22

I see that there is onHeightChange but don't know how to use it even though i see your comments.
Would you kindly show how to put values that are requested? and kindly explain each filed?
Or is there any way that i can custom the styles of the editor?(For width I managed to resize using global css as below
스크린샷 2023-01-27 오전 1 55 57

@jaywcjlove
Copy link
Member

jaywcjlove commented Feb 3, 2023

@headring

<MDEditor
  onHeightChange ={(value, oldValue, state) => {

  }}
/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants