Skip to content

edrys-labs/module-monaco-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Module Monaco Editor

This is a collaborative code editor for Edrys-Lite.

screen

Usage

Use this URL to add the module to your Edrys-Lite classroom:

https://edrys-labs.github.io/module-monaco-editor/

You may optionally specify any of the following module config, the runCommand is the only setting that is required:

{
    "value": "Starting text in editor...",
    "runCommand": "execute", 
    "language": "cpp",
    "theme": "vs-light" # or "vs-dark",
    "synchronize": false
}

runCommand defines the subject under which the current editor-input will be published. Other modules such as the edrys_module-pyxtermjs can be configured to listen to this specific subject and execute some action when they receive this event.

By default, the editor will be synchronized with the other students in the classroom. If you want to disable this feature, set synchronize to false.

About

Collaborative Monaco code editor for Edrys-Lite based on YJs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages