Example demonstrates how to get information about
HTML Editor's content at current selection/caret position from "outside" component.
Example code
<script type="text/JavaScript">function QueryCommand(){ alert("Font family: "+oboutGetEditor('editor').QueryCommand('fontname') +"\n"+ "Fore color : "+oboutGetEditor('editor').QueryCommand('forecolor')+"\n"+ "Bold status: "+oboutGetEditor('editor').QueryCommand('bold') );}</script>
<input type="button" onclick="QueryCommand();" value="Get status at caret position"/>
<ed:Editor id="editor" runat="server" />