client/src/components/SlateEditor.js
changeset 12 48ddaa42b810
parent 11 6fb4de54acea
child 15 4a8bbd314a46
--- a/client/src/components/SlateEditor.js	Wed May 31 17:28:12 2017 +0200
+++ b/client/src/components/SlateEditor.js	Wed May 31 17:51:54 2017 +0200
@@ -231,15 +231,15 @@
     this.setState({ state })
   }
 
-  /**
-   *
-   * @param {*Cosntructor} props
-   */
-  componentWillMount() {
-    const initialValue = Raw.deserialize(initialState, { terse: true });
-    this.state = { state: initialValue};
-    this.onChange(initialValue);
-  }
+  // /**
+  //  *
+  //  * @param {*Cosntructor} props
+  //  */
+  // componentWillMount() {
+  //   const initialValue = Raw.deserialize(initialState, { terse: true });
+  //   this.state = { state: initialValue};
+  //   this.onChange(initialValue);
+  // }
 
   /**
    * Render.