instructure-react / react-tinymce

React TinyMCE component
181 stars 110 forks source link

Input resets to initial position when using commands without selecting text #63

Open stormcleric opened 7 years ago

stormcleric commented 7 years ago

Hi there,

The problem I'm facing is activating/deactivating bold/italic and other commands withouyt selecting text.

When doing so, strange things happen:

stormcleric commented 7 years ago

I've seen that the problem arises when setState is called inside the callback for text update event.