You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constvalue=/* set from `myEditor.getModel()`: */`function hello() { alert('Hello world!');}`;// Hover on each property to see its docs!constmyEditor=monaco.editor.create(document.getElementById("container"),{
value,language: "javascript",automaticLayout: true,});myEditor.addAction({id: "dys.a.c",label: "test",keybindings: [KeyMod.CtrlCmd|KeyCode.KeyS],run(){// myEditor.pushUndoStop();myEditor.getModel()?.applyEdits([{text: "312",range: newRange(1,1,10,10)}],true)// myEditor.popUndoStop()}})
Reproduction Steps
ctrl + s
Actual (Problematic) Behavior
Not after changing the code unoded
Expected Behavior
The code should be withdrawn from the previous
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Link
version: v0.52.2
description: monaco editor playground error
Monaco Editor Playground Code
Reproduction Steps
ctrl + s
Actual (Problematic) Behavior
Not after changing the code unoded
Expected Behavior
The code should be withdrawn from the previous
Additional Context
No response
The text was updated successfully, but these errors were encountered: