Monaco Diff Editor but without highlighting the diff - Stack Overflow

I'm looking to use monaco Diff Editor in one of my projects (I'm using @monaco-editorreact w

I'm looking to use monaco Diff Editor in one of my projects (I'm using @monaco-editor/react wrapper for it) and the ability to display 2 files side-by-side is nice, but I want to be able to switch between the modes of

  1. Display diff between original and modified - works perfectly fine now.
  2. Display each content raw (without highlighting red/green, lines alignment, etc) - this one doesn't work now and I couldn't find the prop or option that switches between those 2 modes. I know it exists because this mode (#2) is shown on the main website

I've looked into source code of the website - but there's nothing special going on around props being passed to diff editor

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744695281a4588453.html

相关推荐

  • Monaco Diff Editor but without highlighting the diff - Stack Overflow

    I'm looking to use monaco Diff Editor in one of my projects (I'm using @monaco-editorreact w

    21小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信