mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-11 01:33:58 +02:00
remove the preventDefault call on void nodes
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user