From: Michael Vogel Date: Sun, 17 Apr 2016 09:54:49 +0000 (+0200) Subject: More elements for the autocompletion X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1af274877d2fb5cf9d3d37d7e7f547e5ca2712f3;p=friendica.git More elements for the autocompletion --- diff --git a/js/autocomplete.js b/js/autocomplete.js index dfe0bb3209..add29ad7e5 100644 --- a/js/autocomplete.js +++ b/js/autocomplete.js @@ -281,7 +281,7 @@ function string2bb(element) { $.fn.bbco_autocomplete = function(type) { if(type=='bbcode') { - var open_close_elements = ['bold', 'italic', 'underline', 'overline', 'strike', 'quote', 'code', 'spoiler', 'map', 'nobb', 'list', 'ul', 'ol', 'li', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size']; + 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_elements = ['*', 'hr']; var elements = open_close_elements.concat(open_elements);