diff --git a/server/book/blocks.py b/server/book/blocks.py index c801399e..630bba46 100644 --- a/server/book/blocks.py +++ b/server/book/blocks.py @@ -16,12 +16,12 @@ class DocumentBlock(blocks.StructBlock): class TextBlock(blocks.StructBlock): - text = RichTextBlock() + text = blocks.CharBlock() class ModalTextBlock(blocks.StructBlock): - description = RichTextBlock() - modal_content = RichTextBlock() + description = blocks.CharBlock() + modal_content = blocks.CharBlock() class StudentEntryBlock(blocks.StructBlock): diff --git a/server/core/management/commands/dummy_data.py b/server/core/management/commands/dummy_data.py index 486580fa..b55b0a76 100644 --- a/server/core/management/commands/dummy_data.py +++ b/server/core/management/commands/dummy_data.py @@ -69,7 +69,14 @@ data = [ 'type': 'text_block', 'value': { 'type': 'text_block', - 'text': 'Sie haben diesen Sommer ihre Lehre begonnen. Was bedeutet dieser neue Abschnitt für Sie?' + 'text': 'Sie haben diesen Sommer ihre Lehre begonnen. Was bedeutet dieser neue Abschnitt für Sie?\nHalten Sie Ihre Erfahrungen im Bereich fest und stellen Sie diese anschliessend der Klasse vor.' + } + }, + { + 'type': 'text_block', + 'value': { + 'type': 'text_block', + 'text': 'Das folgende Interview bezieht sich auf Jugendliche, die Ihre Lehre im Sommer begonnen haben. Lesen Sie das Interview durch und bearbeiten Sie anschliessend die Aufgaben.' } }, # {