From b9fec103062395d2e7d163581d2eda7c00e1b540 Mon Sep 17 00:00:00 2001
From: chris <kokosias@yahoo.gr>
Date: Fri, 10 Nov 2023 21:34:17 +0200
Subject: [PATCH] fix schema

---
 .../schema/fillTheGapContainerNode.js                        | 5 +----
 .../src/MatchingService/schema/matchingContainerNode.js      | 4 +---
 .../schema/multipleDropDownContainerNode.js                  | 5 +----
 .../schema/NumericalAnswerContainerNode.js                   | 2 +-
 4 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/wax-questions-service/src/FillTheGapQuestionService/schema/fillTheGapContainerNode.js b/wax-questions-service/src/FillTheGapQuestionService/schema/fillTheGapContainerNode.js
index 783e2be95..6f7d74042 100644
--- a/wax-questions-service/src/FillTheGapQuestionService/schema/fillTheGapContainerNode.js
+++ b/wax-questions-service/src/FillTheGapQuestionService/schema/fillTheGapContainerNode.js
@@ -5,10 +5,7 @@ const fillTheGapContainerNode = {
     feedback: { default: '' },
   },
   group: 'block questions',
-  atom: true,
-  draggable: false,
-  selectable: true,
-  defining: true,
+  isolating: true,
   content: 'paragraph+',
   parseDOM: [
     {
diff --git a/wax-questions-service/src/MatchingService/schema/matchingContainerNode.js b/wax-questions-service/src/MatchingService/schema/matchingContainerNode.js
index 3dfa5d940..b4e6d8490 100644
--- a/wax-questions-service/src/MatchingService/schema/matchingContainerNode.js
+++ b/wax-questions-service/src/MatchingService/schema/matchingContainerNode.js
@@ -6,9 +6,7 @@ const matchingContainerNode = {
     feedback: { default: '' },
   },
   group: 'block questions',
-  atom: true,
-  selectable: true,
-  draggable: false,
+  isolating: true,
   content: 'block*',
   parseDOM: [
     {
diff --git a/wax-questions-service/src/MultipleDropDownService/schema/multipleDropDownContainerNode.js b/wax-questions-service/src/MultipleDropDownService/schema/multipleDropDownContainerNode.js
index 2382e9214..098f83754 100644
--- a/wax-questions-service/src/MultipleDropDownService/schema/multipleDropDownContainerNode.js
+++ b/wax-questions-service/src/MultipleDropDownService/schema/multipleDropDownContainerNode.js
@@ -5,10 +5,7 @@ const multipleDropDownContainerNode = {
     feedback: { default: '' },
   },
   group: 'block questions',
-  atom: true,
-  selectable: false,
-  draggable: false,
-  defining: true,
+  isolating: true,
   // content: 'paragraph* bulletlist* orderedlist*',
   content: 'block*',
   parseDOM: [
diff --git a/wax-questions-service/src/NumericalAnswerService/schema/NumericalAnswerContainerNode.js b/wax-questions-service/src/NumericalAnswerService/schema/NumericalAnswerContainerNode.js
index 2c15c55c0..244673085 100644
--- a/wax-questions-service/src/NumericalAnswerService/schema/NumericalAnswerContainerNode.js
+++ b/wax-questions-service/src/NumericalAnswerService/schema/NumericalAnswerContainerNode.js
@@ -9,7 +9,7 @@ const NumericalAnswerContainerNode = {
     answersPrecise: { default: [] },
   },
   group: 'block questions',
-  atom: true,
+  isolating: true,
   content: 'block+',
   parseDOM: [
     {
-- 
GitLab