Нема описа

Alex Dima d3dce49268 Add sample for small editor пре 7 година
.vscode 6dcc1c017d Initial version пре 9 година
browser-amd-diff-editor f22dfb79ba Reorganize, add webpack sample пре 7 година
browser-amd-editor f22dfb79ba Reorganize, add webpack sample пре 7 година
browser-amd-iframe f22dfb79ba Reorganize, add webpack sample пре 7 година
browser-amd-localized f22dfb79ba Reorganize, add webpack sample пре 7 година
browser-amd-monarch f22dfb79ba Reorganize, add webpack sample пре 7 година
browser-amd-shared-model f22dfb79ba Reorganize, add webpack sample пре 7 година
browser-esm-webpack f22dfb79ba Reorganize, add webpack sample пре 7 година
browser-esm-webpack-small d3dce49268 Add sample for small editor пре 7 година
browser-script-editor f22dfb79ba Reorganize, add webpack sample пре 7 година
electron-amd f22dfb79ba Reorganize, add webpack sample пре 7 година
nwjs-amd f22dfb79ba Reorganize, add webpack sample пре 7 година
nwjs-amd-v2 f22dfb79ba Reorganize, add webpack sample пре 7 година
.gitignore eebf585fc3 nwjs пре 8 година
.npmignore 6dcc1c017d Initial version пре 9 година
LICENSE.md 9878b4c42a Rename license file пре 9 година
README.md f22dfb79ba Reorganize, add webpack sample пре 7 година
package-lock.json f692f47f73 Update dependencies пре 7 година
package.json f692f47f73 Update dependencies пре 7 година

README.md

Monaco Editor Samples

Standalone HTML samples showing how to integrate the Monaco Editor.

Running

git clone https://github.com/Microsoft/monaco-editor-samples.git
cd monaco-editor-samples
npm install .
npm run simpleserver

Go to localhost:8888 and explore the samples!

Loading variations

  • browser-amd-editor: running in a browser using AMD lazy loading.
  • browser-script-editor: running in a browser using AMD synchronous loading via <script> tags.
  • electron-amd: running in electron.
  • nwjs-amd and nwjs-amd-v2: running in nwjs. it is reported that v2 works and the initial version does not.

Other examples & techniques

  • browser-amd-diff-editor: running the diff editor in a browser.
  • browser-amd-iframe: running in an <iframe>.
  • browser-amd-localized: running with the German locale.
  • browser-amd-monarch: running with a custom language grammar written with Monarch.
  • browser-amd-shared-model: using the same text model in two editors.

License

MIT