The code edit box prompts you how to locate it.

this is the code prompt box for the third-party plug-in CodeMirror, which appears next to the current cursor, so you must know the coordinates of the cursor, right? But I can"t find the js method to get the cursor coordinates. I don"t understand how to locate it here.

Aug.16,2021

get the coordinates when the mouse is pressed, relative to the screen

window.onclick=function(e){
    console.log(`x:${e.clientX},y:${e.clientY}`);
}
Menu