aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js')
-rw-r--r--view/js/autocomplete.js3
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 + '\]'];
}