@@ -469,7 +469,11 @@ export class Main extends React.Component {
469469 maxImageWidth = { ( maxImageWidth && maxImageWidth . teacherInstructions ) || defaultImageMaxWidth }
470470 maxImageHeight = { ( maxImageHeight && maxImageHeight . teacherInstructions ) || defaultImageMaxHeight }
471471 uploadSoundSupport = { uploadSoundSupport }
472- languageCharactersProps = { [ { language : 'spanish' } , { language : 'special' } ] }
472+ languageCharactersProps = {
473+ getPluginProps ( teacherInstructions ?. inputConfiguration ) . languageCharacters ?. disabled
474+ ? [ { language : 'spanish' } , { language : 'special' } ]
475+ : [ ]
476+ }
473477 mathMlOptions = { mathMlOptions }
474478 />
475479 { teacherInstructionsError && < div className = { classes . errorText } > { teacherInstructionsError } </ div > }
@@ -492,7 +496,11 @@ export class Main extends React.Component {
492496 maxImageWidth = { defaultImageMaxWidth }
493497 maxImageHeight = { defaultImageMaxHeight }
494498 uploadSoundSupport = { uploadSoundSupport }
495- languageCharactersProps = { [ { language : 'spanish' } , { language : 'special' } ] }
499+ languageCharactersProps = {
500+ getPluginProps ( prompt ?. inputConfiguration ) . languageCharacters ?. disabled
501+ ? [ { language : 'spanish' } , { language : 'special' } ]
502+ : [ ]
503+ }
496504 mathMlOptions = { mathMlOptions }
497505 />
498506 { promptError && < div className = { classes . errorText } > { promptError } </ div > }
@@ -557,7 +565,11 @@ export class Main extends React.Component {
557565 highlightShape = { false }
558566 error = { responseAreasError }
559567 uploadSoundSupport = { uploadSoundSupport }
560- languageCharactersProps = { [ { language : 'spanish' } , { language : 'special' } ] }
568+ languageCharactersProps = {
569+ getPluginProps ( template ?. inputConfiguration ) . languageCharacters ?. disabled
570+ ? [ { language : 'spanish' } , { language : 'special' } ]
571+ : [ ]
572+ }
561573 mathMlOptions = { mathMlOptions }
562574 />
563575 { responseAreasError && < div className = { classes . errorText } > { responseAreasError } </ div > }
@@ -580,7 +592,11 @@ export class Main extends React.Component {
580592 maxImageWidth = { ( maxImageWidth && maxImageWidth . rationale ) || defaultImageMaxWidth }
581593 maxImageHeight = { ( maxImageHeight && maxImageHeight . rationale ) || defaultImageMaxHeight }
582594 uploadSoundSupport = { uploadSoundSupport }
583- languageCharactersProps = { [ { language : 'spanish' } , { language : 'special' } ] }
595+ languageCharactersProps = {
596+ getPluginProps ( rationale ?. inputConfiguration ) . languageCharacters ?. disabled
597+ ? [ { language : 'spanish' } , { language : 'special' } ]
598+ : [ ]
599+ }
584600 mathMlOptions = { mathMlOptions }
585601 />
586602 { rationaleError && < div className = { classes . errorText } > { rationaleError } </ div > }
0 commit comments