Register client input before removing rich text formatting in TextBox

Currently if you have a TextBox with rich text enabled, when you focus on the text box and start editing it will remove the formatting and show the tags so they can be edited. The issue is the rich text formatting gets removed before the cursor position gets set, so when you click on the text box your cursor doesn’t end up being where you expect it to

I clicked after “nee” and before “ded”, but the cursor started to the left because of the tags

The behavior can be seen in this plugin

4 Likes