Add functionality to expand the markdown editor

The editor will now have a default height of 300px but a button will let
the user expand the editor. It will expand it to fit all content (or up
to 400px if the content was not exceeding 300px). In the expanded mode
the editor will keep growing as the user types more content.
This commit is contained in:
Julia Casamitjana
2024-04-15 13:23:00 +02:00
committed by Dominic Sauer
parent f10bcb96a6
commit 749074fec0
5 changed files with 95 additions and 3 deletions

View File

@ -835,6 +835,9 @@ de:
<br>
This mail was automatically sent by CodeOcean. <br>
subject: "Eine Aufgabe auf CodeOcean benötigt Ihr Feedback"
markdown_editor:
expand: Editor aufklappen
collapse: Editor zuklappen
request_for_comments:
click_here: Zum Kommentieren auf die Seitenleiste klicken!
comments: Kommentare

View File

@ -835,6 +835,9 @@ en:
<br>
This mail was automatically sent by CodeOcean. <br>
subject: "An exercise on CodeOcean needs your feedback"
markdown_editor:
expand: Expand editor
collapse: Collapse editor
request_for_comments:
click_here: Click on this sidebar to comment!
comments: Comments