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

DiffEditor does not highlight diffs #1962

Open
rahulthewall opened this issue Jun 26, 2024 · 1 comment
Open

DiffEditor does not highlight diffs #1962

rahulthewall opened this issue Jun 26, 2024 · 1 comment

Comments

@rahulthewall
Copy link

Problem

I am trying to use the DiffEditor, but it does not highlight the differences in the two texts.

Sample code to reproduce your issue

The code has been reproduced here: https://replit.com/@rahulthewall/WingedTanMultiprocessing?v=1

@wxupjack
Copy link

wxupjack commented Aug 7, 2024

add :global before the .codeMarker {} to avoid CSS modules localize the class name. Source from this repo's disscussion

:global .codeMarker {
    background-color: #ffff99 ;
    position: absolute ;
    z-index: 20;
}

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