diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-04-07 11:34:38 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-04-07 11:34:38 +0200 |
commit | e419b2c18c246eb79c3261ba4255761724efd477 (patch) | |
tree | 08253bfdaf8c83c7180a9e552f9f9792b215e66b /view/js | |
parent | 58324473a98db0d9f792c733c157daed5f1c5130 (diff) | |
download | volse-hubzilla-e419b2c18c246eb79c3261ba4255761724efd477.tar.gz volse-hubzilla-e419b2c18c246eb79c3261ba4255761724efd477.tar.bz2 volse-hubzilla-e419b2c18c246eb79c3261ba4255761724efd477.zip |
some more autocompletion for bbcode tables - leave it open if we wanna use th or td though
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/autocomplete.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index 8eb46d83d..91b779316 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -278,6 +278,9 @@ function listNewLineAutocomplete(id) { if(element === 'list' || element === 'ol' || element === 'ul') { return ['\[' + element + '\]' + '\n\[*\] ', '\n\[/' + element + '\]']; } + else if(element === 'table') { + return ['\[' + element + '\]' + '\n\[tr\]', '\[/tr\]\n\[/' + element + '\]']; + } else { return ['\[' + element + '\]', '\[/' + element + '\]']; } |