Consider the following HTML snippet:
<div class="wp-editor-tabs"><button type="button" id="bbp_topic_content-tmce" class="wp-switch-editor switch-tmce" data-wp-editor-id="bbp_topic_content">Visual</button>
<button type="button" id="bbp_topic_content-html" class="wp-switch-editor switch-html" data-wp-editor-id="bbp_topic_content">Text</button>
</div>
View the fiddle here: Fiddle
Here is an image of how they appear:
https://i.sstatic.net/Wpkmu.png
Is it feasible to have a visual indicator when one button is clicked, such as a thicker border, and then have that change when the other button is clicked? Can this be achieved using CSS?
Moreover, upon page load, is it possible for one of the buttons to already appear as active? These buttons are used in a bbPress support forum to toggle between two editors.