mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-24 07:52:50 +02:00
Minor update to Saving to Database doc (#831)
This commit is contained in:
committed by
Ian Storm Taylor
parent
06c54bd991
commit
4013d0b18a
@@ -173,7 +173,7 @@ const initialContent = (
|
|||||||
class App extends React.Component {
|
class App extends React.Component {
|
||||||
|
|
||||||
state = {
|
state = {
|
||||||
state: Raw.deserialize(initialContent)
|
state: Raw.deserialize(initialContent, {terse: true})
|
||||||
}
|
}
|
||||||
|
|
||||||
onChange = (state) => {
|
onChange = (state) => {
|
||||||
|
Reference in New Issue
Block a user