aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-10-30 13:43:47 +0100
committerMario Vavti <mario@mariovavti.com>2016-10-30 13:43:47 +0100
commit6174aa01e0e5fc72b0a5c843ff4a75709e9038f9 (patch)
tree5081fce5fea315e81139f0310eceb53186bb9d1d /view
parent9279840860ae573702923471fc9a188c6b605dc5 (diff)
downloadvolse-hubzilla-6174aa01e0e5fc72b0a5c843ff4a75709e9038f9.tar.gz
volse-hubzilla-6174aa01e0e5fc72b0a5c843ff4a75709e9038f9.tar.bz2
volse-hubzilla-6174aa01e0e5fc72b0a5c843ff4a75709e9038f9.zip
add embed bbcode to the autocomplete list
Diffstat (limited to 'view')
-rw-r--r--view/js/autocomplete.js2
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);