mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-07-31 04:20:26 +02:00
update saving to a database guide
This commit is contained in:
@@ -88,6 +88,7 @@ class App extends React.Component {
|
||||
constructor(props) {
|
||||
super(props)
|
||||
this.state = {
|
||||
// Update the initial value to be pulled from Local Storage.
|
||||
state: Plain.deserialize(localStorage.getItem('content'))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user