I find only this in wp-admin/js/editor.js
wp.editor.getContent = function( id ) {
var editor;
if ( ! $ || ! id ) {
return;
}
if ( window.tinymce ) {
editor = window.tinymce.get( id );
if ( editor && ! editor.isHidden() ) {
editor.save();
}
}
return $( '#' + id ).val();
};
and
switchEditor( id, mode )
which is too large to copy paste it here
But in this functions is totaly nothing about changing url in the content…