Monaco is a standalone component which also works in the browser:
https://microsoft.github.io/monaco-editor/The article says "It was shipped in the form of the Monaco Editor in various Microsoft projects, including Internet Explorer's F12 tools"; presumably some of those projects also embed it into webpages.