View Revisions: Issue #11921

Summary 11921: Separate input field for Javascript in question editing
Revision 2016-11-17 10:57 by c_schmitz
Additional Information

Some thoughts:

  • A new field in question table needs to be added
  • A new placeholder in the question template needs to be added: {QUESTION_JS} or similar.
  • In the GUI the JS field should use a proper Javascript highlighter (and line numbers).
  • The JS editor field should be hidden/collapse at first and only if it contains something it should be shown expanded on question edit from the start.
Revision 2016-11-17 10:50 by c_schmitz
Additional Information

Some thoughts:

  • A new field in question table needs to be added
  • In the GUI the JS field should use a proper Javascript highlighter (and line numbers).
  • The JS editor field should be hidden/collapse at first and only if it contains something it should be shown expanded on question edit from the start.