New jQuery to view Post Icons in Editor

I was reformatting the "advanced" WYSIWYG editor with bootstrap css and while there made the post icons to be invisible by default; so if you click on the text below the editor:

Post Icons - Click to view the full list of message icons to add to your post:

The full list of post icons will appear:

Added a bit of simple, almost trivial, jQuery code while there to accomplish this:

<script>
jQuery(document).ready(function(){
 jQuery(".neo-postbiticons").hide();
   jQuery("#neo-postbiticon-legend").click(function(){
     jQuery(".neo-postbiticons").toggle();
   });
});
</script>
1 Like