no point saving history at this point, maybe future supported
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
cbe5944ff0
commit
23b6abf8b7
|
@ -34,7 +34,8 @@ class MessageComposerStore {
|
|||
localStorage.setItem(this._getKey(roomId), JSON.stringify({
|
||||
editor_state: editorState.toJSON({
|
||||
preserveSelection: true,
|
||||
preserveHistory: true,
|
||||
// XXX: re-hydrating history is not currently supported by fromJSON
|
||||
// preserveHistory: true,
|
||||
// XXX: this seems like a workaround for selection.isSet being based on anchorKey instead of anchorPath
|
||||
preserveKeys: true,
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue