reactjswebvisual-studio-codeweb-applicationscode-editor

Adding vscode like code editor to react application


I want to embed a code editor in my react application. The code editor should be like vscode. Some website -(https://play.tailwindcss.com/, https://www.typescriptlang.org/play/) use these vscode type code editors in their webpages. My simple question is how can I embed them and are there any libraries available. I have seen something called ace but that isn't like vscode.

Thanks :)


Solution

  • Later after looking html source I found that its - https://microsoft.github.io/monaco-editor/