diff --git a/editors/demo/src/HHMI/MultipleChoiceQuestionService/components/EditorComponent.js b/editors/demo/src/HHMI/MultipleChoiceQuestionService/components/EditorComponent.js index a2a4b445f3e0b75d06b31a7c3ee8fa0e955f922e..c8afcc4362623b7df6834b3fca77528ece6d21c7 100644 --- a/editors/demo/src/HHMI/MultipleChoiceQuestionService/components/EditorComponent.js +++ b/editors/demo/src/HHMI/MultipleChoiceQuestionService/components/EditorComponent.js @@ -154,7 +154,8 @@ const EditorComponent = ({ node, view, getPos }) => { for (let j = 0; j < steps.length; j++) outerTr.step(steps[j].map(offsetMap)); } - if (outerTr.docChanged) view.dispatch(outerTr); + if (outerTr.docChanged) + view.dispatch(outerTr.setMeta('outsideView', questionId)); } };