Migration is very simple, replace
tinymce.EditorManager.execCommand('mceAddControl', true, "content_txt");
by
tinymce.EditorManager.execCommand('mceAddEditor', true, "content_txt");
If you want to rotate it, you can use
tinymce.EditorManager.execCommand('mceRemoveEditor', false, "content_txt");
source share