Some rearrangements

This commit is contained in:
Michael Vogel 2016-04-17 14:10:43 +02:00 committed by Roland Haeder
parent 5370b3f76d
commit 45fc8a2447
No known key found for this signature in database
GPG Key ID: B72F8185C6C7BD78

View File

@ -286,7 +286,7 @@ function string2bb(element) {
$.fn.bbco_autocomplete = function(type) { $.fn.bbco_autocomplete = function(type) {
if(type=='bbcode') { if(type=='bbcode') {
var open_close_elements = ['abstract','bold', 'italic', 'underline', 'overline', 'strike', 'quote', 'code', 'spoiler', 'map', 'nobb', 'noparse', 'pre', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'img', 'url', 'video', 'audio', 'youtube', 'vimeo', 'list', 'ul', 'ol', 'li', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size']; var open_close_elements = ['bold', 'italic', 'underline', 'overline', 'strike', 'quote', 'code', 'spoiler', 'map', 'img', 'url', 'audio', 'video', 'youtube', 'vimeo', 'list', 'ul', 'ol', 'li', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'nobb', 'noparse', 'pre', 'abstract'];
var open_elements = ['*', 'hr']; var open_elements = ['*', 'hr'];
var elements = open_close_elements.concat(open_elements); var elements = open_close_elements.concat(open_elements);