Explorar o código

WIP: refactor

Yuki Takei %!s(int64=8) %!d(string=hai) anos
pai
achega
67e427a248
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      resource/js/components/PageEditor/Editor.js

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

@@ -554,6 +554,7 @@ export default class Editor extends React.Component {
           {/* for mobile */}
           { isMobile &&
             <FormControl componentClass="textarea" className="textarea-for-mobile"
+              inputRef={ref => { this.mobileeditor = ref }}
               defaultValue={this.state.value}
               onChange={(e) => {
                 if (this.props.onChange != null) {