From d0ed722821976ed01b8f918e5118ad5204fa3c85 Mon Sep 17 00:00:00 2001 From: Ian Storm Taylor Date: Wed, 13 Jul 2016 15:26:23 -0700 Subject: [PATCH] simplify plaintext example --- examples/plain-text/index.js | 3 +-- examples/plain-text/state.json | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 examples/plain-text/state.json diff --git a/examples/plain-text/index.js b/examples/plain-text/index.js index 9e56dcfdb..7aa8130a8 100644 --- a/examples/plain-text/index.js +++ b/examples/plain-text/index.js @@ -1,7 +1,6 @@ import { Editor, Plain } from '../..' import React from 'react' -import initialState from './state.json' /** * The plain text example. @@ -18,7 +17,7 @@ class PlainText extends React.Component { */ state = { - state: Plain.deserialize(initialState) + state: Plain.deserialize('This is editable plain text, just like a