After browsing numerous topics on Stackoverflow, I was able to develop my own compact rich text editor.
However, one issue I encountered is that when the mouse cursor hovers over already bold or styled text, it's difficult for me to identify the styling. What I'm hoping for is a solution where if the cursor is placed on bold text, the bold symbol automatically highlights (perhaps using javascript or jquery). Many rich text editors already have this functionality, and I'm curious about the concept behind it.
Any assistance on this matter would be greatly appreciated.