1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-11 09:43:58 +02:00

remove the preventDefault call on void nodes

This commit is contained in:
Ian Storm Taylor
2017-02-17 10:56:17 -08:00
parent dce2c780f7
commit 259e1515c9

View File

@@ -59,7 +59,6 @@ class Void extends React.Component {
*/ */
onClick = (event) => { onClick = (event) => {
event.preventDefault()
this.debug('onClick', { event }) this.debug('onClick', { event })
const { node, editor } = this.props const { node, editor } = this.props