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
- Display diff between
original
andmodified
- works perfectly fine now. - 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
评论列表(0条)