{ "data" : { "monacoContent" : "The initial value inside of the editor", "monacoLanguage" : "The language that should be used for syntax highlighting", "monacoPlaceholder" : "Sepcify whether or not you want a placeholder in the editor when there is not code in the editor", "monacoPlaceholderText" : "The placeholder text to be used inside of the editor when no code is present", "monacoLoader" : "This is used to show a loading indicator before the editor has been initialized and ready", "monacoFontSize" : "The font size to be used inside of the editor (may need to adjust the placeholder when changing this)", "monacoId" : "Used to add a unique ID to this element, allowing you to have multiple editors on the same page", "monacoEditor(editor)" : "This is the method that you can use to add your Monaco Events (learn more below)", "updatePlaceholder(value)" : "This method is used to update the placeholder text inside of the editor", "monacoEditorFocus" : "This method is used to focus the editor", "monacoEditorAddLoaderScriptToHead" : "This method is used to add the monaco editor loader script to the head of the document" }, "alert_notification" : { "title" : "Monaco Editor Library", "description" : "This element uses the Monaco Editor, You can add events and listeners for the editor object inside of the monacoEditor(editor) method." }, "additional" : { "description" : "

Inside of the x-init method, after the editor is loaded, you'll find a variable definition like so: monacoTheme = {}, you can change the theme by adding your own or including it from the monaco themes repo here. View a demo of all the available themes here.

" } }