📄 post_bbinsert.htm
字号:
<script type="text/javascript">var allowswitcheditor = parseInt('$allowswitcheditor');</script>
<script type="text/javascript" src="include/ajax.js"></script>
<!--{if $bbinsert}-->
<script type="text/javascript">
var Editor = new Array();
var lang = new Array();
lang["enter_tag_option"] = "{lang post_discuzcode_tagoption}";
lang["enter_list_item"] = "{lang post_discuzcode_listitem}";
lang["enter_link_url"] = "{lang post_discuzcode_linkurl}";
lang["enter_image_url"] = "{lang post_discuzcode_imageurl}";
lang["enter_email_link"] = "{lang post_discuzcode_emaillink}";
lang['enter_table_rows'] = "{lang post_discuzcode_tablerows}";
lang['enter_table_columns'] = "{lang post_discuzcode_tablecolumns}";
var custombbcodes = new Array();
<!--{if $forum['allowbbcode'] && $allowcusbbcode}-->
<!--{loop $_DCACHE['bbcodes_display'] $tag $bbcode}-->
custombbcodes["$tag"] = "$bbcode[example]";
<!--{/loop}-->
<!--{/if}-->
var fontoptions = new Array({lang post_discuzcode_fontoptions});
var altbg1 = '{ALTBG1}';
var altbg2 = 'background: {ALTBG2};font: {FONTSIZE} {FONT};';
var tableborder = 'background: {INNERBORDERCOLOR};border: {BORDERWIDTH}px solid {BORDERCOLOR};';
</script>
<script type="text/javascript" src="include/editor.js"></script>
<tr>
<td id="{$editorid}_controls" class="editor_controlbar" colspan="2">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_removeformat"><img src="images/common/bb_removeformat.gif" width="21" height="20" title="{lang post_discuzcode_removeformat}" alt="{lang post_discuzcode_removeformat}" /></div></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_undo"><img src="images/common/bb_undo.gif" width="21" height="20" title="{lang post_discuzcode_undo}" alt="{lang post_discuzcode_undo}" /></div></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_redo"><img src="images/common/bb_redo.gif" width="21" height="20" title="{lang post_discuzcode_redo}" alt="{lang post_discuzcode_redo}" /></div></td>
<td><img src="images/common/bb_separator.gif" width="6" height="20" alt="" /></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_bold"><img src="images/common/bb_bold.gif" width="21" height="20" title="{lang post_discuzcode_bold}" alt="{lang post_discuzcode_bold}" /></div></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_italic"><img src="images/common/bb_italic.gif" width="21" height="20" title="{lang post_discuzcode_italic}" alt="{lang post_discuzcode_italic}" /></div></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_underline"><img src="images/common/bb_underline.gif" width="21" height="20" title="{lang post_discuzcode_underline}" alt="{lang post_discuzcode_underline}" /></div></td>
<td><img src="images/common/bb_separator.gif" width="6" height="20" alt="" /></td>
<td><div class="editor_imagebutton" id="{$editorid}_popup_fontname" title="{lang post_discuzcode_fontname}">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="editor_ofeedback"><div id="{$editorid}_font_out" style="width:91px"> </div></td>
<td class="editor_opickbutton"><img src="images/common/bb_menupop.gif" width="11" height="16" alt="" /></td>
</tr>
</table>
</div></td>
<td><div class="editor_imagebutton" id="{$editorid}_popup_fontsize" title="{lang post_discuzcode_fontsize}">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="editor_ofeedback"><div id="{$editorid}_size_out" style="width:25px"> </div></td>
<td class="editor_opickbutton"><img src="images/common/bb_menupop.gif" width="11" height="16" alt="" /></td>
</tr>
</table>
</div></td>
<td><div class="editor_imagebutton" id="{$editorid}_popup_forecolor" title="{lang post_discuzcode_forecolor}">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td id="{$editorid}_color_out"><img src="images/common/bb_color.gif" width="21" height="16" alt="" /><br><img src="images/common/bb_clear.gif" id="{$editorid}_color_bar" alt="" style="background-color:black" width="21" height="4" /></td>
<td class="editor_apickbutton"><img src="images/common/bb_menupop.gif" width="11" height="16" alt="" /></td>
</tr>
</table>
</div></td>
<td><img src="images/common/bb_separator.gif" width="6" height="20" alt="" /></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_justifyleft"><img src="images/common/bb_left.gif" width="21" height="20" title="{lang post_discuzcode_left}" alt="{lang post_discuzcode_left}" /></div></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_justifycenter"><img src="images/common/bb_center.gif" width="21" height="20" title="{lang post_discuzcode_center}" alt="{lang post_discuzcode_center}" /></div></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_justifyright"><img src="images/common/bb_right.gif" width="21" height="20" title="{lang post_discuzcode_right}" alt="{lang post_discuzcode_right}" /></div></td>
<td><img src="images/common/bb_separator.gif" width="6" height="20" alt="" /></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_insertorderedlist"><img src="images/common/bb_orderedlist.gif" width="21" height="20" title="{lang post_discuzcode_orderedlist}" alt="{lang post_discuzcode_orderedlist}" /></div></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_insertunorderedlist"><img src="images/common/bb_unorderedlist.gif" width="21" height="20" title="{lang post_discuzcode_unorderedlist}" alt="{lang post_discuzcode_unorderedlist}" /></div></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_outdent"><img src="images/common/bb_outdent.gif" width="21" height="20" title="{lang post_discuzcode_outdent}" alt="{lang post_discuzcode_outdent}" /></div></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_indent"><img src="images/common/bb_indent.gif" width="21" height="20" title="{lang post_discuzcode_indent}" alt="{lang post_discuzcode_indent}" /></div></td>
<td><img src="images/common/bb_separator.gif" width="6" height="20" alt="" /></td>
<td>
<div class="editor_imagebutton" id="{$editorid}_cmd_resize_0_100"><img src="images/common/bb_contract.gif" width="21" height="9" title="{lang post_discuzcode_contract}" alt="{lang post_discuzcode_contract}" /></div>
<div class="editor_imagebutton" id="{$editorid}_cmd_resize_1_100"><img src="images/common/bb_expand.gif" width="21" height="9" title="{lang post_discuzcode_expand}" alt="{lang post_discuzcode_expand}" /></div>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_createlink"><img src="images/common/bb_url.gif" width="21" height="20" title="{lang post_discuzcode_url}" alt="{lang post_discuzcode_url}" /></div></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_unlink"><img src="images/common/bb_unlink.gif" width="21" height="20" title="{lang post_discuzcode_unlink}" alt="{lang post_discuzcode_unlink}" /></div></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_email"><img src="images/common/bb_email.gif" width="21" height="20" title="{lang post_discuzcode_email}" alt="{lang post_discuzcode_email}" /></div></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_insertimage"><img src="images/common/bb_image.gif" width="21" height="20" title="{lang post_discuzcode_image}" alt="{lang post_discuzcode_image}" /></div></td>
<td><img src="images/common/bb_separator.gif" width="6" height="20" alt="" /></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="images/common/bb_quote.gif" width="21" height="20" title="{lang post_discuzcode_quote}" alt="{lang post_discuzcode_quote}" /></div></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_wrap0_code"><img src="images/common/bb_code.gif" width="21" height="20" title="{lang post_discuzcode_code}" alt="{lang post_discuzcode_code}" /></div></td>
<td><div class="editor_imagebutton" id="{$editorid}_cmd_table"><img src="images/common/bb_table.gif" width="21" height="20" title="{lang post_discuzcode_table}" alt="{lang post_discuzcode_table}" /></div></td>
<td><img src="images/common/bb_separator.gif" width="6" height="20" alt="" /></td>
<!--{if $forum['allowbbcode'] && $allowcusbbcode}-->
<!--{loop $_DCACHE['bbcodes_display'] $tag $bbcode}-->
<td><div class="editor_imagebutton" id="{$editorid}_cmd_custom{$bbcode[params]}_$tag"><img src="images/common/$bbcode[icon]" width="21" height="20" title="$bbcode[explanation]" alt="$tag" /></div></td>
<!--{/loop}-->
<!--{/if}-->
</tr>
</table>
</td>
</tr>
<!--{/if}-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -