feat: init editable quiz

This commit is contained in:
swve 2023-09-14 18:55:24 +02:00
parent a01a0afea7
commit f93fd96bb5
3 changed files with 187 additions and 146 deletions

View file

@ -6,7 +6,6 @@ import QuizBlockComponent from "./QuizBlockComponent";
export default Node.create({
name: "blockQuiz",
group: "block",
atom: true,
addAttributes() {
@ -14,6 +13,9 @@ export default Node.create({
quizId: {
value: null,
},
questions: {
default: [],
},
};
},