Add bold, italic formatting options when text selected


I’m building an app using Ionic, and Angular.

I implemented a contenteditable div in my application expecting that when you select text that the bold, italic, and strike options appear natively… however, it doesn’t seem to.

The desired effect I’d want:

enter image description here

How do you get the “Bold”, “Italic” options when you select text? If it’s not possible, do you know how you can hide the native bar so that I could create my own version? Any advice would be great.

Thank you.