diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-10-30 13:43:47 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-10-30 13:43:47 +0100 |
commit | 6174aa01e0e5fc72b0a5c843ff4a75709e9038f9 (patch) | |
tree | 5081fce5fea315e81139f0310eceb53186bb9d1d /view/js/autocomplete.js | |
parent | 9279840860ae573702923471fc9a188c6b605dc5 (diff) | |
download | volse-hubzilla-6174aa01e0e5fc72b0a5c843ff4a75709e9038f9.tar.gz volse-hubzilla-6174aa01e0e5fc72b0a5c843ff4a75709e9038f9.tar.bz2 volse-hubzilla-6174aa01e0e5fc72b0a5c843ff4a75709e9038f9.zip |
add embed bbcode to the autocomplete list
Diffstat (limited to 'view/js/autocomplete.js')
-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 571b5a5b1..aa47a6e19 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -269,7 +269,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']; + 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', 'embed']; var open_elements = ['observer.baseurl', 'observer.address', 'observer.photo', 'observer.name', 'observer.webname', 'observer.url', '*', 'hr', ]; var elements = open_close_elements.concat(open_elements); |