1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-28 17:39:57 +02:00

simplify plaintext example

This commit is contained in:
Ian Storm Taylor
2016-07-13 15:26:23 -07:00
parent 5ab6fdbd60
commit d0ed722821
2 changed files with 1 additions and 3 deletions

View File

@@ -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 <textarea>!')
};
/**

View File

@@ -1 +0,0 @@
"This is editable plain text, just like a <textarea>!"