This is related to my earlier post on trying to detect if a user has selected ONLY an image. I may just be missing this somehow in the documentation, but in the last statement of the following code, what are the possible options after 'editor1doc.selection.' and, more specifically, after 'editor1doc.selection.createRange()'?
var editor1 = document.getElementById('');
var editor1doc = editor1.GetDocument();
var selectedhtml = editor1doc.selection.createRange().htmlText;