Skip to content

Commit 4136d81

Browse files
authored
Fix AssessmentWorkspace syntax highlighting bug (#1868)
1 parent cd982ef commit 4136d81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/commons/assessmentWorkspace/AssessmentWorkspace.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,9 @@ const AssessmentWorkspace: React.FC<AssessmentWorkspaceProps> = props => {
757757
? {
758758
editorSessionId: '',
759759
editorValue: props.editorValue!,
760+
sourceChapter: question.library.chapter || 4,
761+
sourceVariant: 'default' as Variant,
762+
externalLibrary: question.library.external.name || 'NONE',
760763
handleDeclarationNavigate: props.handleDeclarationNavigate,
761764
handleEditorEval: handleEval,
762765
handleEditorValueChange: props.handleEditorValueChange,

0 commit comments

Comments
 (0)