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

fix: make line prop works as expected #530

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

dxsun97
Copy link
Contributor

@dxsun97 dxsun97 commented Sep 9, 2023

fix: #367

the line prop in Editor will not take effect when the editor is mounted, it only works when the line prop changes, I think it doesn't do what the documentation expects.

here is a repo: https://codesandbox.io/s/monaco-react-line-prop-y7jvvd?file=/src/App.tsx

Unverified

This user has not yet uploaded their public signing key.
@suren-atoyan
Copy link
Owner

hi @dxsun97 👋

Thanks for taking the time to open this PR 🔥

I'll check it and will release a new version this weekend!

@suren-atoyan suren-atoyan merged commit bc4b241 into suren-atoyan:master Oct 6, 2023
@suren-atoyan
Copy link
Owner

this is published - check the latest version 4.6.0

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

Successfully merging this pull request may close these issues.

The line prop in Editor is not working
2 participants