steveathon / bootstrap-wysiwyg

Tiny bootstrap-compatible WYSIWYG rich text editor
MIT License
661 stars 1.71k forks source link

activeToolbarClass only applied to first button. #58

Closed andrews05 closed 8 years ago

andrews05 commented 8 years ago

As can be seen on the demo page, when using the bold, italics etc only the bold button will ever be highlighted when active.

codewithtyler commented 8 years ago

Thanks for creating this issue @andrews05. I noticed this happening the other night when I was testing some things but I thought it was just something on my end.

Would you like to tackle this issue or should I add it to my list of things to do when I get time?

andrews05 commented 8 years ago

Not sure if I'll be able to be much help, I'm not familiar with the code. All I can work out is its caused by the underscoreThrottle function.

codewithtyler commented 8 years ago

That's fine. If it's an issue with underscoreThrottle I'll definitely need to take a look at it soon. I remember there being a report somewhere about that causing another issue as well so it maybe something that we'll need to look into either fixing or replacing it with a custom solution.

andrews05 commented 8 years ago

Great, thanks for all your work.

codewithtyler commented 8 years ago

I think I may have a solution to this problem worked up. I've just got to do some additional testing to make sure I didn't screw anything else up.