mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: init editable quiz
This commit is contained in:
parent
a01a0afea7
commit
f93fd96bb5
3 changed files with 187 additions and 146 deletions
|
|
@ -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: [],
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue