diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-12-21 09:27:40 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-12-21 09:41:37 +0100 |
commit | cfae618c604d1d6b59ad6f91236536cee603f83e (patch) | |
tree | 4b4d9caa25d565422d202ae54de82cb738c52355 | |
parent | 7766db40f55cb4ae6a470c6c3513d37e1fe00845 (diff) | |
download | volse-hubzilla-cfae618c604d1d6b59ad6f91236536cee603f83e.tar.gz volse-hubzilla-cfae618c604d1d6b59ad6f91236536cee603f83e.tar.bz2 volse-hubzilla-cfae618c604d1d6b59ad6f91236536cee603f83e.zip |
add url and headings to bbco_autocomplete()
-rw-r--r-- | view/js/autocomplete.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index 08cf97173..01def9900 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -289,7 +289,7 @@ function string2bb(element) { $.fn.bbco_autocomplete = function(type) { if(type=='bbcode') { - var open_close_elements = ['bold', 'italic', 'underline', 'overline', 'strike', 'superscript', 'subscript', 'quote', 'code', 'open', 'spoiler', 'map', 'nobb', 'list', 'checklist', 'ul', 'ol', 'dl', 'li', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size', 'zrl', 'zmg', 'rpost', 'qr', 'observer', 'observer.language','embed', 'highlight']; + var open_close_elements = ['bold', 'italic', 'underline', 'overline', 'strike', 'superscript', 'subscript', 'quote', 'code', 'open', 'spoiler', 'map', 'nobb', 'list', 'checklist', 'ul', 'ol', 'dl', 'li', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size', 'zrl', 'zmg', 'rpost', 'qr', 'observer', 'observer.language','embed', 'highlight', 'url', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']; var open_elements = ['observer.baseurl', 'observer.address', 'observer.photo', 'observer.name', 'observer.webname', 'observer.url', '*', 'hr', ]; var elements = open_close_elements.concat(open_elements); |