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}`);
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3cf31-2c36f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3cf31-2c36f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?