Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

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

  • 422422 Developer MVP

    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 Developer 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.