private void SuperscriptCanExecute(object sender, CanExecuteRoutedEventArgs e)
 {
     e.CanExecute = (mode == EditMode.Visual && htmldoc != null && htmldoc.CanSuperscript());
 }