Browse Source

only show table button with the bullets menu

root 10 years ago
parent
commit
51ec7a9bf8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      pod/pod/templates/pod.mak

+ 3 - 3
pod/pod/templates/pod.mak View File

@@ -120,12 +120,12 @@
120 120
           <a class="btn" data-edit="strikethrough" title="Strikethrough"><i class="fa fa-strikethrough"></i></a>
121 121
           <a class="btn" data-edit="underline" title="Underline (Ctrl/Cmd+U)"><i class="fa fa-underline"></i></a>
122 122
         </div>
123
+      % endif
124
+      % if psMenuOptions.find('lists')>=0:
123 125
         <div class="btn-group">
124 126
           <a class="btn" data-edit="insertHTML <table class='pod-table-editor'><tr><td>Val1</td><td>Val2</td></tr></table>" ><i class="fa fa-table"></i></a>
125 127
         </div>
126
-       % endif
127
-      % if psMenuOptions.find('lists')>=0:
128
-        <div class="btn-group">
128
+         <div class="btn-group">
129 129
           <a class="btn" data-edit="insertunorderedlist" title="Bullet list"><i class="fa fa-list-ul"></i></a>
130 130
           <a class="btn" data-edit="insertorderedlist" title="Number list"><i class="fa fa-list-ol"></i></a>
131 131
           <a class="btn" data-edit="outdent" title="Reduce indent (Shift+Tab)"><i class="fa fa-outdent"></i></a>