Closed rajarshisamaddar closed 11 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
lexical | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Apr 21, 2023 11:15am |
lexical-playground | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Apr 21, 2023 11:15am |
Empty lines seems fixed, but now text does not wrap
Empty lines seems fixed, but now text does not wrap
Okay, I'll fix that
@affvalente I decided to address this matter but later discovered that the majority of code or text editors do not permit users to move to the next line. Since this is a code block, the text appears as comments that cannot be split into multiple lines unless it is a multi-line comment.
To sum up, I believe the functionality is adequate when compared to other code editors. However, I would appreciate hearing your thoughts on this matter.
Edit: what you describe seems consistent with how GitHub shows code. Perhaps we need an horizontal scrollbar
Edit: what you describe seems consistent with how GitHub shows code. Perhaps we need an horizontal scrollbar
The horizontal scroll bar is already present, anything else?
Up to the team - I'm just a user!
@acywatson Would you mind reviewing this pull request, please?
Yea this looks right to me. Thanks!
Hi @acywatson, you're welcome. Could you please merge this request, if possible?
Yea this looks right to me. Thanks!
Hi @acywatson, you're welcome. Could you please merge this request, if possible?
I'm actually second guessing this now - give me some time to think about this. Thank you
Yea this looks right to me. Thanks!
Hi @acywatson, you're welcome. Could you please merge this request, if possible?
I'm actually second guessing this now - give me some time to think about this. Thank you
Certainly! Take your time to think things through and let me know if you have any questions or if there's anything else I can help you with.
@zurfyx Please review this PR for #4361
Adding nowrap defeats the entire purpose, imo, as it will force horizontal scrollbars unless you hide the overflow, which is not desirable. The current need is to fix the line numbers while allowing the code to wrap.
Closing due to inactivity, but happy to re-open if comments above can be addressed.
The Code block, which previously did not display line numbers until the very end, has been corrected in this pull request.
Closes #4361 Bug: code block lines
Testing instructions:
Additional notes: