Updated the FillBlanks to the new format

This commit is contained in:
Tiago Ribeiro
2024-07-27 14:38:45 +01:00
parent 9ef04b822a
commit 8f5b27e9ce
6 changed files with 523 additions and 579 deletions

View File

@@ -334,7 +334,7 @@ const LevelGeneration = () => {
prompt: "Complete the summary below. Click a blank to select the corresponding word for it.",
allowRepetition: false,
text: currentExercise.text,
words: currentExercise.words.map((x: any) => x.text),
words: currentExercise.words,
solutions: currentExercise.words.map((x: any) => ({id: x.id, solution: x.text})),
type: "fillBlanks",
userSolutions: [],