... | in editor_bullet_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_bullet_button">
<n.put_in_head.>
<script type="text/javascript">
Nabble.bullet = function() {
var textarea = Nabble.get(textareaID);
var s = this.getSelection(textarea);
if( s != "" || (s="") != null ) {
this.setSelection( textarea, "• " + s);
}
textarea.focus();
};
</script>
</n.put_in_head.>
<td class="nowrap">
<button type="button" onclick="Nabble.bullet()" class="toolbar bold" style="height:1.65em" title="[t]Bullet[/t]">
•
</button>
<n.tooltip use_title="true"/>
</td>
</macro>
|
Free forum by Nabble | Edit this page |