Added the GLSegmentedControl for Rich/Source buttons

Merged Shamvi05 requested to merge shamvi050801/gitlab:gl-segmented-control-rich-source into master

What does this MR do and why?

Replaced the GLButtons of Rich Text /Source with GL Segmented Control as required for the issue #356436 (closed)

Screenshots or screen recordings


MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.