From bdbea69d924e63a2235893ea85bba5f245fb8f1b Mon Sep 17 00:00:00 2001
From: chris <kokosias@yahoo.gr>
Date: Thu, 1 Jun 2023 09:04:39 +0300
Subject: [PATCH] enable images

---
 .../MultipleChoiceQuestionService/components/EditorComponent.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wax-prosemirror-services/src/MultipleChoiceQuestionService/components/EditorComponent.js b/wax-prosemirror-services/src/MultipleChoiceQuestionService/components/EditorComponent.js
index 31141b319..dbc600e1c 100644
--- a/wax-prosemirror-services/src/MultipleChoiceQuestionService/components/EditorComponent.js
+++ b/wax-prosemirror-services/src/MultipleChoiceQuestionService/components/EditorComponent.js
@@ -107,7 +107,7 @@ const EditorComponent = ({ node, view, getPos }) => {
           plugins: finalPlugins,
         }),
         dispatchTransaction,
-        disallowedTools: ['Images', 'Lists', 'lift', 'MultipleChoice'],
+        disallowedTools: ['Lists', 'lift', 'MultipleChoice'],
         handleDOMEvents: {
           mousedown: () => {
             main.dispatch(
-- 
GitLab