editor_italic_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_italic_button".
... in text_editor.naml
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<macro name="editor_italic_button">
    <n.put_in_head.>
        <script type="text/javascript">
            Nabble.italics = function() {
                var textarea = Nabble.get(textareaID);
                var s = this.getSelection(textarea);
                if( s != "" || (s=prompt("Enter text to make italics:","")) != null ) {
                    this.setSelection( textarea, "<i>" + s + "</i>" );
                }
                textarea.focus();
            };
        </script>
    </n.put_in_head.>
    <td class="nowrap">
        <button type="button" onclick="Nabble.italics()" class="toolbar" style="font-style:italic;height:1.65em" title="[t]Italic[/t]">
            <img src="/images/italic.png"/>
        </button>
        <n.tooltip use_title="true"/>
    </td>
</macro>