Skip to content
Snippets Groups Projects
Commit 4ca0ec5f authored by chris's avatar chris
Browse files

fix schema

parent 28d5a1fd
No related branches found
No related tags found
1 merge request!511Numerical answer
Showing
with 12 additions and 14 deletions
......@@ -8,7 +8,7 @@ const multipleChoiceSingleCorrectNode = {
},
group: 'block questions',
content: 'block*',
defining: true,
// defining: true,
parseDOM: [
{
......
......@@ -4,8 +4,8 @@ const questionSingleNode = {
class: { default: 'multiple-choice-question-single' },
},
group: 'block questions',
content: 'block+',
defining: true,
content: 'block*',
// defining: true,
// atom: true,
parseDOM: [
......
......@@ -5,8 +5,8 @@ const questionTrueFalseNode = {
},
group: 'block questions',
// content: 'paragraph* bulletlist* orderedlist*',
content: 'block+',
defining: true,
content: 'block*',
// defining: true,
// atom: true,
parseDOM: [
......
......@@ -8,7 +8,7 @@ const trueFalseNode = {
},
group: 'block questions',
content: 'block*',
defining: true,
// defining: true,
parseDOM: [
{
......
......@@ -4,10 +4,8 @@ const questionTrueFalseNode = {
class: { default: 'true-false-question-single' },
},
group: 'block questions',
content: 'block+',
defining: true,
// atom: true,
content: 'block*',
// defining: true,
parseDOM: [
{
tag: 'div.true-false-question-single',
......
......@@ -8,7 +8,7 @@ const trueFalseSingleCorrectNode = {
},
group: 'block questions',
content: 'block*',
defining: true,
// defining: true,
parseDOM: [
{
......
......@@ -8,7 +8,7 @@ const multipleChoiceNode = {
},
group: 'block questions',
content: 'block*',
defining: true,
// defining: true,
parseDOM: [
{
tag: 'div.multiple-choice-option',
......
......@@ -4,8 +4,8 @@ const questionNode = {
id: { default: '' },
},
group: 'block questions',
content: 'block+',
defining: true,
content: 'block*',
// defining: true,
parseDOM: [
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment