DraftJS click on Button, but keeping the focus on the Editor
I want to create a custom toolbar for mit DraftJS Editor. There I want to have several buttons which perform actions (like making the selected Text bold) on the editor.
My problem is that as soon as the user clicks the button, the editor looses its focus and no actions can be performed on the selected text.
What is the solution for this?