editor_bolditalic_button

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "editor_bolditalic_button".
... in editor_bolditalic_button.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<macro name="editor_bolditalic_button">
    <n.put_in_head.>
        <script type="text/javascript">
            Nabble.bolditalic = function() {
                var textarea = Nabble.get(textareaID);
                var s = this.getSelection(textarea);
                if( s != "" || (s=prompt("Enter text to make both bold and italic:","")) != null ) {
                    this.setSelection( textarea, "<b><i>" + s + "</i></b>" );
                }
                textarea.focus();
            };
        </script>
    </n.put_in_head.>
    <td class="nowrap">
        <button type="button" onclick="Nabble.bolditalic()" class="toolbar bold" style="height:1.65em" title="[t]BoldItalic[/t]">
            <b>B</b>/<i>I</i>
        </button>
        <n.tooltip use_title="true"/>
    </td>
</macro>
Feedback, Links, Privacy, Rules, Support, About