aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-22 14:04:09 +0200
committerMario Vavti <mario@mariovavti.com>2018-10-22 14:04:09 +0200
commit26e20f99997b061f36c5698035a0b2a7747b4b1a (patch)
treeaee3b0a5444d8d010754a16f34f8161714103c1a /view
parent71195895ba98f2af86b3739f2992473a587aa099 (diff)
downloadvolse-hubzilla-26e20f99997b061f36c5698035a0b2a7747b4b1a.tar.gz
volse-hubzilla-26e20f99997b061f36c5698035a0b2a7747b4b1a.tar.bz2
volse-hubzilla-26e20f99997b061f36c5698035a0b2a7747b4b1a.zip
add summary to bbcode autocomplete list
Diffstat (limited to 'view')
-rw-r--r--view/js/autocomplete.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js
index 54eb03e13..034427fe7 100644
--- a/view/js/autocomplete.js
+++ b/view/js/autocomplete.js
@@ -358,8 +358,8 @@ function string2bb(element) {
return;
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', 'url', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
- var open_elements = ['observer.baseurl', 'observer.address', 'observer.photo', 'observer.name', 'observer.webname', 'observer.url', '*', 'hr', ];
+ var open_close_elements = ['bold', 'italic', 'underline', 'overline', 'strike', 'superscript', 'subscript', 'quote', 'code', 'open', 'spoiler', 'summary', '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);
}