Skip to content

Commit

Permalink
Fix schema store support
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenchrist committed Oct 14, 2024
1 parent 905a4a1 commit 7fa98cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import Split from 'split-grid';
// Setup Editor Infrastructure
import './monaco/configure-yaml.js';
import './workers/monaco.workers.js';
import {setupMonacoYaml} from "./monaco/configure-yaml.js";

setupMonacoYaml();

// Init the movable split
Split({
Expand Down
2 changes: 1 addition & 1 deletion src/ui/elements/editor-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class EditorElement extends LitElement {
// create a model and the editor
const model = monaco.editor.createModel(
value,
undefined,
"yaml",
monaco.Uri.parse("file:///datacontract.yaml")
);
const editor = monaco.editor.create(this.editor, {
Expand Down

0 comments on commit 7fa98cb

Please sign in to comment.