_updatePrismStyle() {
    if (store.state.editMode) {
      return;
    }
    let $editorArea = $(`#${config.elements.editorContentElementId}`);
    const currentlyAppliedPrismStyle = utils.queryClassByPattern($editorArea, /(prism[\w-]+)/);
    const settingsPrismTheme = store.state.settings.codeEditorTheme;

    if (currentlyAppliedPrismStyle !== settingsPrismTheme) {
      $editorArea.removeClass(currentlyAppliedPrismStyle);
      $editorArea.addClass(settingsPrismTheme);
    }
    this.highlightCode();
  }
/**
   * Update the documents code styling according
   * to the currently chosen prism theme
   * @private
   */
Update the documents code styling according
to the currently chosen prism theme
@private
Update the documents code styling according to the currently chosen prism theme @private
_updatePrismStyle() {
    if (store.state.editMode) {
      return;
    }
    let $editorArea = $(`#${config.elements.editorContentElementId}`);
    const currentlyAppliedPrismStyle = utils.queryClassByPattern($editorArea, /(prism[\w-]+)/);
    const settingsPrismTheme = store.state.settings.codeEditorTheme;
    if (currentlyAppliedPrismStyle !== settingsPrismTheme) {
      $editorArea.removeClass(currentlyAppliedPrismStyle);
      $editorArea.addClass(settingsPrismTheme);
    }
    this.highlightCode();
  }
_updatePrismStyle ( ) { if ( store . state . editMode ) { return ; } let $editorArea = $ ( ` ${ config . elements . editorContentElementId } ` ) ; const currentlyAppliedPrismStyle = utils . queryClassByPattern ( $editorArea , / (prism[\w-]+) / ) ; const settingsPrismTheme = store . state . settings . codeEditorTheme ; if ( currentlyAppliedPrismStyle !== settingsPrismTheme ) { $editorArea . removeClass ( currentlyAppliedPrismStyle ) ; $editorArea . addClass ( settingsPrismTheme ) ; } this . highlightCode ( ) ; }
Update the documents code styling according
 to the currently chosen prism theme
 @private
Update the documents code styling according to the currently chosen prism theme @private