minor UI changes, removed elements not needed, replaced text-area for description with an ace editor.

This commit is contained in:
Ralf Teusner
2016-03-10 14:58:50 +01:00
parent 972b63c03e
commit 757efeaf02
2 changed files with 8 additions and 4 deletions

View File

@ -154,7 +154,10 @@ $(function() {
} else if ($('.edit_exercise, .new_exercise').isPresent()) {
execution_environments = $('form').data('execution-environments');
file_types = $('form').data('file-types');
new MarkdownEditor('#exercise_instructions');
// new MarkdownEditor('#exercise_instructions');
new MarkdownEditor('#exercise_description');
// todo: add an ace editor for each file
enableInlineFileCreation();
inferFileAttributes();
observeFileRoleChanges();