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

[Bug] No code folding in Diff View #654

Open
rahulthewall opened this issue Nov 12, 2024 · 0 comments
Open

[Bug] No code folding in Diff View #654

rahulthewall opened this issue Nov 12, 2024 · 0 comments

Comments

@rahulthewall
Copy link

Describe the bug
I am using the Monaco Editor in a React application to view the differences between two XML files. While the diff view works well for highlighting changes, I am unable to collapse or expand the XML sections by tags, a feature that is available when viewing a single XML file in the Monaco Editor.

To Reproduce

Steps to reproduce the behavior:

  1. Use diff view to compare two XML files
  2. Use XML view to view the same file as the one in diff view
  3. Code folding works for single file view, not for diff view

Code snippet to reproduce the issue: https://codesandbox.io/p/sandbox/boring-mcnulty-k2jpph

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

1 participant