This repository was archived by the owner on Jun 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ export class ActiveCode extends RunestoneBase {
146146 }
147147 this . indicate_component_ready ( ) ;
148148 if ( typeof Prism !== "undefined" ) {
149- Prism . highlightElement ( this . containerDiv ) ;
149+ Prism . highlightAllUnder ( this . containerDiv ) ;
150150 }
151151 }
152152
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export default class ClickableArea extends RunestoneBase {
4747 this . addCaption ( "runestone" ) ;
4848 this . checkServer ( "clickableArea" , true ) ;
4949 if ( typeof Prism !== "undefined" ) {
50- Prism . highlightElement ( this . containerDiv ) ;
50+ Prism . highlightAllUnder ( this . containerDiv ) ;
5151 }
5252 }
5353 /*===========================
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export default class DragNDrop extends RunestoneBase {
3939 this . caption = "Drag-N-Drop" ;
4040 this . addCaption ( "runestone" ) ;
4141 if ( typeof Prism !== "undefined" ) {
42- Prism . highlightElement ( this . containerDiv ) ;
42+ Prism . highlightAllUnder ( this . containerDiv ) ;
4343 }
4444 }
4545 /*======================
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export default class FITB extends RunestoneBase {
3131 this . addCaption ( "runestone" ) ;
3232 this . checkServer ( "fillb" , true ) ;
3333 if ( typeof Prism !== "undefined" ) {
34- Prism . highlightElement ( this . containerDiv ) ;
34+ Prism . highlightAllUnder ( this . containerDiv ) ;
3535 }
3636 }
3737 // Find the script tag containing JSON in a given root DOM node.
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export default class MultipleChoice extends RunestoneBase {
5757 runestoneMathReady . then ( ( ) => self . queueMathJax ( self . containerDiv ) ) ;
5858 }
5959 if ( typeof Prism !== "undefined" ) {
60- Prism . highlightElement ( this . containerDiv ) ;
60+ Prism . highlightAllUnder ( this . containerDiv ) ;
6161 }
6262 }
6363
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ export default class Parsons extends RunestoneBase {
9494 // Check the server for an answer to complete things
9595 this . checkServer ( "parsons" , true ) ;
9696 if ( typeof Prism !== "undefined" ) {
97- Prism . highlightElement ( this . containerDiv ) ;
97+ Prism . highlightAllUnder ( this . containerDiv ) ;
9898 }
9999 }
100100 // Based on the data-fields in the original HTML, initialize options
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export default class ShortAnswer extends RunestoneBase {
4242 this . addCaption ( "runestone" ) ;
4343 this . checkServer ( "shortanswer" , true ) ;
4444 if ( typeof Prism !== "undefined" ) {
45- Prism . highlightElement ( this . containerDiv ) ;
45+ Prism . highlightAllUnder ( this . containerDiv ) ;
4646 }
4747 }
4848 }
You can’t perform that action at this time.
0 commit comments