Parcourir la source

BugFix: initialize keymapMode selector value

Yuki Takei il y a 8 ans
Parent
commit
a7d6be5366
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      resource/js/components/PageEditor/OptionsSelector.js

+ 1 - 0
resource/js/components/PageEditor/OptionsSelector.js

@@ -50,6 +50,7 @@ export default class OptionsSelector extends React.Component {
 
   init() {
     this.themeSelectorInputEl.value = this.state.editorOptions.theme;
+    this.keymapModeSelectorInputEl.value = this.state.editorOptions.keymapMode;
   }
 
   onChangeTheme() {