WysiBB settings
For comfortable work with the editor WysiBB have many options.
- onlyBBmode
- Editor mode only «BBcode», without visualization (WYSIWYG). Default: false
- themeName
- Name of the editor theme. Default: "default"
- lang
- Lang editor. To enable it, first load the language file to the page. Default: "en"
- tabInsert
- Insert a tab character. Default: "true"
- hotkeys
- Support hot keys. Default: "true"
- showHotkeys
- Show hotkey on hover tooltip. Default: "true"
- autoresize
- Automatic change of height of the editor. Default: "true"
- resize_maxheight
- Maximum height of editor. Default: "800"
- resize_maxheight
- Maximum height in the automated elevation editor. Default: "800"
- buttons
- Enabled BBcodes. Read more here
Default: "bold,italic,underline,strike,sup,sub,|,img,video,link,|,bullist,numlist,|,fontcolor,fontsize,fontfamily,|, justifyleft, justifycenter,justifyright,|, quote,code,table,removeFormat" - smileList
- Included emoticon. Example:
[ {title:CURLANG.sm1, img: '<img src="{themePrefix}{themeName}/img/smiles/sm1.png" class="sm">', bbcode:":)"}, {title:CURLANG.sm8 ,img: '<img src="{themePrefix}{themeName}/img/smiles/sm8.png" class="sm">', bbcode:":("}, {title:CURLANG.sm1, img: '<img src="{themePrefix}{themeName}/img/smiles/sm2.png" class="sm">', bbcode:":D"}, {title:CURLANG.sm3, img: '<img src="{themePrefix}{themeName}/img/smiles/sm3.png" class="sm">', bbcode:";)"}, {title:CURLANG.sm4, img: '<img src="{themePrefix}{themeName}/img/smiles/sm4.png" class="sm">', bbcode:":up:"}, {title:CURLANG.sm5, img: '<img src="{themePrefix}{themeName}/img/smiles/sm5.png" class="sm">', bbcode:":down:"}, {title:CURLANG.sm6, img: '<img src="{themePrefix}{themeName}/img/smiles/sm6.png" class="sm">', bbcode:":shock:"}, {title:CURLANG.sm7, img: '<img src="{themePrefix}{themeName}/img/smiles/sm7.png" class="sm">', bbcode:":angry:"}, {title:CURLANG.sm9, img: '<img src="{themePrefix}{themeName}/img/smiles/sm9.png" class="sm">', bbcode:":sick:"} ]
- direction
- Text output mode. Parameter must be changed, those who have the text is written from right to left by default: ltr
- traceTextarea
- Follow the changes in the original textarea. When this option is WysiBB monitors changes textarea and if a textarea changes were made from the outside, these data will be displayed in the editor window. Often, this option is required on the forums for the correct operation buttons "Quote", etc. Default: false