Tiny issue
This commit is contained in:
@@ -334,14 +334,15 @@ const LevelGeneration = () => {
|
||||
}
|
||||
|
||||
if (part.type === "blank_space_text") {
|
||||
const exercise: FillBlanksExercise = {
|
||||
console.log({currentExercise});
|
||||
|
||||
const exercise: WriteBlanksExercise = {
|
||||
id: v4(),
|
||||
prompt: "Complete the summary below. Click a blank to select the corresponding word for it.",
|
||||
allowRepetition: false,
|
||||
prompt: "Complete the text below.",
|
||||
text: currentExercise.text,
|
||||
words: currentExercise.words,
|
||||
solutions: currentExercise.words.map((x: any) => ({id: x.id, solution: x.text})),
|
||||
type: "fillBlanks",
|
||||
maxWords: 3,
|
||||
solutions: currentExercise.words.map((x: any) => ({id: x.id, solution: [x.text]})),
|
||||
type: "writeBlanks",
|
||||
userSolutions: [],
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user