--- loncom/homework/structuretags.pm 2008/06/11 13:52:35 1.423 +++ loncom/homework/structuretags.pm 2008/07/08 09:54:30 1.424 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.423 2008/06/11 13:52:35 www Exp $ +# $Id: structuretags.pm,v 1.424 2008/07/08 09:54:30 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1870,6 +1870,7 @@ sub end_startouttext { my $text=''; if ($target eq 'edit') { + my $areaid = 'homework_edit_'.$Apache::lonxml::curdepth; $text=&Apache::lonxml::get_all_text("endouttext",$parser,$style); $result.=&Apache::edit::start_table($token)."".&mt('Text Block')." ".&mt('Delete:'). @@ -1877,7 +1878,9 @@ sub end_startouttext { ." ". &Apache::edit::insertlist($target,$token). - '' . + ''. + &Apache::lonhtmlcommon::dragmath($areaid).''. + '' . &Apache::loncommon::helpLatexCheatsheet(). &Apache::edit::end_row(). &Apache::edit::start_spanning_row()."\n".