Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/** @jsx h */
/* eslint-disable react/jsx-key */
const Plain = require('slate-plain-serializer').default
const input = `
This is editable plain text, just like a text area.
`
.trim()
.repeat(10)
module.exports.input = input
module.exports.default = function(string) {
Plain.deserialize(string)
}
/** @jsx h */
/* eslint-disable react/jsx-key */
const Plain = require('slate-plain-serializer').default
const h = require('../../helpers/h')
module.exports.default = function(state) {
Plain.serialize(state)
}
module.exports.input = (
{Array.from(Array(10)).map(() => (
This is editable <b>rich</b> text, <i>much</i> better than a
textarea!