 event.target.value});
	}

	handleSubmit(event) {
		const value = JSON.parse(this.state.value);
		this.props.onSetProperty(this.props.path, value);
		this.props.onEdit(undefined);
    event.preventDefault();
  }
}

const markdown = window.markdownit();
const protocolObjectPropertyHandlers = {
	markdown: (value) => {
		return <span style={{color: "#e90"}} dangerouslySetInnerHTML={{__html: markdown.renderInline(value)}}/>
	},
	string: (value) => {
		return <span style={{color: "#e90"}}>{value}</span>
	},
}


