improved latex problem template; hls codemirror box autosizes height;

capa responsetypes can now include "inline='1'" for their span to be inline
This commit is contained in:
ichuang
2012-10-14 20:19:14 -04:00
parent 12869ecedd
commit 8742ba76a3
3 changed files with 145 additions and 19 deletions

View File

@@ -45,6 +45,9 @@
refresh_hls(el);
$(this).dequeue();
});
// resize the codemirror box
h = el.height();
el.find('.CodeMirror-scroll').height(h-100);
}
// compile & save button