I am not sure if it is only me, but the cursor in the custom action editor is a few positions off? I’m using chrome Version 90.0.4430.212. I’ve resorted to using notepadd++ and then copying and pasting the whole script in the editor.
Thanks for reporting this! After a quick test, I am not able to create this on chrome Version 90.0.4430.212. Just to get more info about this issue before notifying the appropriate team, if you try this in a new incognito window is the cursor still off?
Looks like it was an chrome extension CSS Peeper causing the problem. After turning it off it worked fine.
I get the error in both Chrome Version 90.0.4430.212 and in Microsoft Edge Version 90.0.818.66 - both in incognito mode.
I can solve it by opening developer tools and enter the command monaco.editor.remeasureFonts() in the console (according to https://stackoverflow.com/questions/58271107/offset-between-text-and-cursor-with-the-monaco-editor-angular-under-chrome-m
Of course it only work in the current session - it is not a permanent solution
Leif Stig Andersen
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.