Create a BBCODE and name it "
justify"
Templates to edit: editor_toolbar_on
look for:
Code:
<vb:if condition="$stylevar['textdirection'] == 'ltr'">
there you will have:
Code:
<img src="{vb:stylevar imgdir_editor}/justifyleft.png" class="imagebutton" id="{vb:raw editorid}_cmd_justifyleft" width="20" height="20" alt="{vb:rawphrase align_left}" />
<img src="{vb:stylevar imgdir_editor}/justifycenter.png" class="imagebutton" id="{vb:raw editorid}_cmd_justifycenter" width="20" height="20" alt="{vb:rawphrase align_center}" />
<img src="{vb:stylevar imgdir_editor}/justifyright.png" class="imagebutton" id="{vb:raw editorid}_cmd_justifyright" width="20" height="20" alt="{vb:rawphrase align_right}" />
just add this behind:
Code:
<img src="{vb:stylevar imgdir_editor}/justify.png" class="imagebutton" id="{vb:raw editorid}_cmd_wrap0_justify" width="20" height="20" alt="Wrap [JUSTIFY] tags around selected text" />
repeat step for "else" part of the same "if" condition
just note that name of BBCODE and id of an image are same id="{vb:raw editorid}_cmd_wrap0_
justify