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: Pass diffConfig to options in CodeMirrorMerge component #712

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

snelsi
Copy link
Contributor

@snelsi snelsi commented Feb 3, 2025

Fix: diffConfig Prop Not Applied to CodeMirrorMerge Options

The diffConfig prop is defined in the MergeConfig interface but is incorrectly spread onto the <div> element instead of being passed to the editor options.

This prevents customization of the diffConfig parameter.

image

This PR correctly passes the diffConfig prop to the mergeConfig options, enabling proper customization.

@jaywcjlove jaywcjlove merged commit a95fb47 into uiwjs:master Feb 4, 2025
1 check passed
jaywcjlove added a commit that referenced this pull request Feb 4, 2025
github-actions bot pushed a commit that referenced this pull request Feb 4, 2025
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.

2 participants