editor_subheaders_button

   Usages of this macro
... in text_editor.naml
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
<macro name="editor_subheaders_button">
    <n.put_in_head
Binary
Namespace: HtmlNamespace
Parameters: in_head
.>
        <script type="text/javascript">
            Nabble.headersDropdown = function() {
                Nabble.closeWindows();
                $('#headers-dropdown').show();
            };
        </script>
    </n.put_in_head.>
 
    <td class="has-dropdown">
        <div id="headers-dropdown" class="editor-dropdown medium-border-color light-bg-color drop-shadow" style="padding:.5em;width:25em;margin-left:-15em">
            <h2><t>Adding Sub-Headers</t></h2>
            <t>Use tags like <t.example1.bold
Macro
Parameters: text
 text="&lt;h2&gt;...&lt;/h2&gt;"/> or <t.example2.bold
Macro
Parameters: text
 text="&lt;h3&gt;...&lt;/h3&gt;"/> to create sub-headers.</t>
            <div style="margin:.5em 0 1em;">
                <t>Insert</t>
                <button type="button" class="toolbar" onclick="Nabble.insert('h2')"><t>H2</t></button>
                <button type="button" class="toolbar" onclick="Nabble.insert('h3')"><t>H3</t></button>
                <button type="button" class="toolbar" onclick="Nabble.insert('h4')"><t>H4</t></button>
                <button type="button" class="toolbar" onclick="Nabble.insert('h5')"><t>H5</t></button>
                <button type="button" class="toolbar" onclick="Nabble.insert('h6')"><t>H6</t></button>
            </div>
        </div>
        <button type="button" class="toolbar" onclick="Nabble.headersDropdown()">
            <t>H2</t><img src="/images/more.png" width="10" height="10"/>
        </button>
    </td>
</macro>