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