Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.

Simplify Button Bar to Look Like This

Is it possible to remove all but the image icon? It would look maybe something like this image:

image

2.jpg 25.2K

Comments

  • yes you need to open the button bar plugin, and associated files. There is a php file, with an array of the button bar options. Remove the ones you dont want. You shouldnt have to modify anything else

    There was an error rendering this rich post.

  • 422422 MVP
    edited February 2013

    Change in buttonbar.php

    < div class="ButtonBar">
       < div>< span>bold</ span></ div>
       < div>< span>italic</ span></ div>
       < div>< span>underline</ span></ div>
       < div>< span>strike</ span></ div>
       < div>< span>code</ span></ div>
       < div>< span>image</ span></ div>
       < div>< span>url</ span></ div>
       < div>< span>quote</ span></ div>
       < div>< span>spoiler</ span></ div>
    </ div>
    

    to

    < div class="ButtonBar">
       < div>< span>image</ span></ div>
    </ div>
    

    Spaces added ( for vanilla validation ) remove the spaces in above code from span and div tags

    There was an error rendering this rich post.

  • Worked perfectly. Can't believe something can be that simple. Thank you much @422!

Sign In or Register to comment.