Steps to reproduce:
Write any text.
Use "bold" bb-code for any part (two words, for example).
Try colorize only part from bolded text.
What should be: Selected part colorized correctly.
What happens: All bold text is colorized.
Demonstration:
Firefox 84.0.1 (Windows 10 build 17763.1637 x64)