hi fulles,
you can get the editor id by the code below
var editor1 = document.getElementById('<%= Editor1.ClientID%>').editor;
var editorid = editor1._config.uniqueid;
Regards,
Ken