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
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 withprops.onMouseDown