1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-20 22:21:20 +02:00

add plain text serializer

This commit is contained in:
Ian Storm Taylor
2016-07-13 14:55:41 -07:00
parent bf6ead0034
commit 3d33ab3da2
13 changed files with 60 additions and 86 deletions

View File

@@ -100,11 +100,6 @@ class Images extends React.Component {
*/
onChange = (state) => {
console.groupCollapsed('Change!')
console.log('Document:', state.document.toJS())
console.log('Selection:', state.selection.toJS())
console.log('Content:', Raw.serialize(state))
console.groupEnd()
this.setState({ state })
}