1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Move strike-through back to original position

Discussion in 'XenForo Questions and Support' started by Matthew Hawley, Feb 2, 2014.

  1. Matthew Hawley

    Matthew Hawley Well-Known Member

    How would I move the strike-through back to its original position in 1.2?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I need to install 1.3 still, but in 1.2 the relative button positions in the editor are defined here:

    Admin CP -> Appearance -> Templates -> editor_ui.css

    Code:
    <xen:set var="$redactorButtons" value="{xen:array
       'redactor_btn_html=76',
       'redactor_btn_switchmode=19',
       'redactor_btn_removeformat=69',
       'redactor_btn_draft=70',
       'redactor_btn_bold=1',
       'redactor_btn_italic=2',
       'redactor_btn_underline=6',
       'redactor_btn_deleted=3',
       'redactor_btn_fontcolor=17',
       'redactor_btn_fontsize=92',
       'redactor_btn_fontfamily=91',
       'redactor_btn_smilies=75',
       'redactor_btn_alignment=46',
       'redactor_btn_alignleft=46',
       'redactor_btn_aligncenter=45',
       'redactor_btn_alignright=48',
       'redactor_btn_justify=44',
       'redactor_btn_unorderedlist=53',
       'redactor_btn_orderedlist=55',
       'redactor_btn_outdent=43',
       'redactor_btn_indent=41',
       'redactor_btn_image=39',
       'redactor_btn_table=78',
       'redactor_btn_link=50',
       'redactor_btn_createlink=50',
       'redactor_btn_unlink=51',
       'redactor_btn_horizontalrule=37',
       'redactor_btn_code=76',
       'redactor_btn_quote=9',
       'redactor_btn_media=90',
       'redactor_btn_undo=88',
       'redactor_btn_redo=86'
    }" />
    
    redactor_btn_deleted=3 is for the strike button.
     
  3. Mike

    Mike XenForo Developer Staff Member

    That's really the CSS. The JS defines the button positions.
     

Share This Page