最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Monaco Diff Editor but without highlighting the diff - Stack Overflow

programmeradmin1浏览0评论

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

发布评论

评论列表(0)

  1. 暂无评论