Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onMouseDown for Custom Block Buttons #11

Open
bjeld opened this issue Jul 26, 2017 · 0 comments
Open

onMouseDown for Custom Block Buttons #11

bjeld opened this issue Jul 26, 2017 · 0 comments

Comments

@bjeld
Copy link

bjeld commented Jul 26, 2017

Is onMouseDown missing in props for in Block Button such as ULButton?
Clicking those button removes focus from the Editor.

I can quickfix it by using:
a onClick={props.toggleBlockType} onMouseDown={event => event.preventDefault()} >
but it would be much nicer with props.onMouseDown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant