?? editoroverlay.xul
字號:
<command id="cmd_cite" state="false" oncommand="doStyleUICommand('cmd_cite')"/> <command id="cmd_abbr" state="false" oncommand="doStyleUICommand('cmd_abbr')"/> <command id="cmd_acronym" state="false" oncommand="doStyleUICommand('cmd_acronym')"/> <command id="cmd_code" state="false" oncommand="doStyleUICommand('cmd_code')"/> <command id="cmd_samp" state="false" oncommand="doStyleUICommand('cmd_samp')"/> <command id="cmd_var" state="false" oncommand="doStyleUICommand('cmd_var')"/> <command id="cmd_ul" state="false" oncommand="doStyleUICommand('cmd_ul')"/> <command id="cmd_ol" state="false" oncommand="doStyleUICommand('cmd_ol')"/> <command id="cmd_indent" oncommand="goDoCommand('cmd_indent')"/> <command id="cmd_outdent" oncommand="goDoCommand('cmd_outdent')"/> <!-- the state attribute gets filled with the paragraph format before the command is exectued --> <command id="cmd_paragraphState" state="" oncommand="doStatefulCommand('cmd_paragraphState', event.target.value)"/> <command id="cmd_fontFace" state="" oncommand="doStatefulCommand('cmd_fontFace', event.target.value)"/> <!-- No "oncommand", use EditorSelectColor() to bring up color dialog --> <command id="cmd_fontColor" state=""/> <command id="cmd_backgroundColor" state=""/> <command id="cmd_highlight" state="transparent" oncommand="EditorSelectColor('Highlight', event);"/> <command id="cmd_fontSize" oncommand="goDoCommand('cmd_fontSize')"/> <command id="cmd_align" state=""/> <command id="cmd_absPos" state="" oncommand="goDoCommand('cmd_absPos')"/> <command id="cmd_increaseZIndex" state="" oncommand="goDoCommand('cmd_increaseZIndex')"/> <command id="cmd_decreaseZIndex" state="" oncommand="goDoCommand('cmd_decreaseZIndex')"/> <command id="cmd_advancedProperties" oncommand="goDoCommand('cmd_advancedProperties')"/> <command id="cmd_increaseFont" oncommand="goDoCommand('cmd_increaseFont')"/> <command id="cmd_decreaseFont" oncommand="goDoCommand('cmd_decreaseFont')"/> <command id="cmd_removeStyles" oncommand="goDoCommand('cmd_removeStyles')"/> <command id="cmd_removeLinks" oncommand="goDoCommand('cmd_removeLinks')"/> <command id="cmd_removeNamedAnchors" oncommand="goDoCommand('cmd_removeNamedAnchors')"/> <command id="cmd_updateStructToolbar" oncommand="goDoCommand('cmd_updateStructToolbar')"/> </commandset> <!-- commands updated only when the menu gets created --> <commandset id="composerListMenuItems" commandupdater="true" events="create, mode_switch" oncommandupdate="goUpdateComposerMenuItems(this)"> <!-- List menu --> <command id="cmd_dt" oncommand="doStyleUICommand('cmd_dt')"/> <command id="cmd_dd" oncommand="doStyleUICommand('cmd_dd')"/> <command id="cmd_removeList" oncommand="goDoCommand('cmd_removeList')"/> <!-- cmd_ul and cmd_ol are shared with toolbar and are in composerStyleMenuItems commandset --> </commandset> <commandset id="composerTableMenuItems" commandupdater="true" events="create, mode_switch" oncommandupdate="goUpdateTableMenuItems(this)"> <!-- Table menu --> <command id="cmd_SelectTable" oncommand="goDoCommand('cmd_SelectTable')"/> <command id="cmd_SelectRow" oncommand="goDoCommand('cmd_SelectRow')"/> <command id="cmd_SelectColumn" oncommand="goDoCommand('cmd_SelectColumn')"/> <command id="cmd_SelectCell" oncommand="goDoCommand('cmd_SelectCell')"/> <command id="cmd_SelectAllCells" oncommand="goDoCommand('cmd_SelectAllCells')"/> <command id="cmd_InsertTable" oncommand="goDoCommand('cmd_InsertTable')"/> <command id="cmd_InsertRowAbove" oncommand="goDoCommand('cmd_InsertRowAbove')"/> <command id="cmd_InsertRowBelow" oncommand="goDoCommand('cmd_InsertRowBelow')"/> <command id="cmd_InsertColumnBefore" oncommand="goDoCommand('cmd_InsertColumnBefore')"/> <command id="cmd_InsertColumnAfter" oncommand="goDoCommand('cmd_InsertColumnAfter')"/> <command id="cmd_InsertCellBefore" oncommand="goDoCommand('cmd_InsertCellBefore')"/> <command id="cmd_InsertCellAfter" oncommand="goDoCommand('cmd_InsertCellAfter')"/> <command id="cmd_DeleteTable" oncommand="goDoCommand('cmd_DeleteTable')"/> <command id="cmd_DeleteRow" oncommand="goDoCommand('cmd_DeleteRow')"/> <command id="cmd_DeleteColumn" oncommand="goDoCommand('cmd_DeleteColumn')"/> <command id="cmd_DeleteCell" oncommand="goDoCommand('cmd_DeleteCell')"/> <command id="cmd_DeleteCellContents" oncommand="goDoCommand('cmd_DeleteCellContents')"/> <command id="cmd_NormalizeTable" oncommand="goDoCommand('cmd_NormalizeTable')"/> <command id="cmd_JoinTableCells" oncommand="goDoCommand('cmd_JoinTableCells')"/> <command id="cmd_SplitTableCell" oncommand="goDoCommand('cmd_SplitTableCell')"/> <command id="cmd_ConvertToTable" oncommand="goDoCommand('cmd_ConvertToTable')"/> <command id="cmd_TableOrCellColor" oncommand="goDoCommand('cmd_TableOrCellColor')"/> <command id="cmd_editTable" oncommand="goDoCommand('cmd_editTable')"/> </commandset> <broadcasterset id="broadcasterset"> <!-- Broadcasters/commands with no other home --> <!-- view menu --> <command id="cmd_newNavigator"/> <command id="cmd_newEditor"/> <command id="cmd_newEditorTemplate"/> <command id="cmd_newEditorDraft"/> <command id="cmd_viewCompToolbar" oncommand="goToggleToolbar('EditToolbar','cmd_viewCompToolbar');" checked="true"/> <command id="cmd_viewFormatToolbar" oncommand="goToggleToolbar('FormatToolbar','cmd_viewFormatToolbar');" checked="true"/> <command id="cmd_viewEditModeToolbar" oncommand="goToggleToolbar('EditModeToolbar','cmd_viewEditModeToolbar');" checked="true"/> <command id="cmd_viewtaskbar" oncommand="goToggleToolbar('status-bar','cmd_viewtaskbar');" checked="true"/> <!-- Obsolete; these will go away --> <command id="Editor:Font:Size" fontsize=""/> </broadcasterset> <!-- Insert menu for PlainText editor --> <menu id="insertMenuPlainText" label="&insertMenu.label;" accesskey="&insertmenu.accesskey;"> <menupopup> <menuitem accesskey="&insertchars.accesskey;" observes="cmd_insertChars" /> </menupopup> </menu> <!-- Insert menu --> <menu id="insertMenu" label="&insertMenu.label;" accesskey="&insertmenu.accesskey;"> <menupopup id="insertMenuPopup"> <menuitem id="insertImage" accesskey="&insertimage.accesskey;" observes="cmd_image" label="&insertImageCmd.label;"/> <menuitem id="insertTable" accesskey="&inserttable.accesskey;" observes="cmd_InsertTable" label="&insertTableCmd.label;"/> <menuitem id="insertLink" accesskey="&insertlink.accesskey;" observes="cmd_link" label="&insertLinkCmd.label;" key="insertlinkkb"/> <menuitem id="insertAnchor" accesskey="&insertanchor.accesskey;" observes="cmd_anchor" label="&insertAnchorCmd.label;"/> <menuitem id="insertHline" accesskey="&inserthline.accesskey;" observes="cmd_hline" label="&insertHLineCmd.label;"/> <menuitem id="insertHTMLSource" accesskey="&insertHTMLCmd.accesskey;" observes="cmd_insertHTMLWithDialog" key="inserthtmlkb"/> <menuitem accesskey="&insertchars.accesskey;" observes="cmd_insertChars" id="insertChars"/> <menu id="insertTOC" label="&tocMenu.label;" accesskey="&tocMenu.accesskey;"> <menupopup onpopupshowing="InitTOCMenu()"> <menuitem id="insertTOCMenuitem" label="&insertTOC.label;" accesskey="&insertTOC.accesskey;" oncommand="UpdateTOC()"/> <menuitem id="updateTOCMenuitem" label="&updateTOC.label;" accesskey="&updateTOC.accesskey;" oncommand="UpdateTOC()"/> <menuitem id="removeTOCMenuitem" label="&removeTOC.label;" accesskey="&removeTOC.accesskey;" oncommand="RemoveTOC()"/> </menupopup> </menu> <menuseparator id="insertMenuSeparator"/> <menuitem id="insertBreakAll" accesskey="&insertbreakall.accesskey;" observes="cmd_insertBreakAll" label="&insertBreakAllCmd.label;"/> </menupopup> </menu> <!-- Format Menu --> <menupopup id="formatMenuPopup" onpopupshowing="EditorInitFormatMenu()"> <!-- Font face submenu --> <menu id="fontFaceMenu" label="&fontfaceMenu.label;" accesskey="&formatfontmenu.accesskey;" position="1"> <menupopup oncommand="if (event.target.localName == 'menuitem') doStatefulCommand('cmd_fontFace', event.target.getAttribute('value'));" onpopupshowing="initFontFaceMenu(this);"> <menuitem label="&fontVarWidth.label;" accesskey="&fontvarwidth.accesskey;" value="" type="radio" name="1" observes="cmd_renderedHTMLEnabler"/> <menuitem label="&fontFixedWidth.label;" accesskey="&fontfixedwidth.accesskey;" value="tt" type="radio" name="1" observes="cmd_renderedHTMLEnabler"/> <menuseparator/> <menuitem label="&fontHelveticaFont.label;" accesskey="&fonthelvetica.accesskey;" value="Helvetica, Arial, sans-serif" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/> <menuitem label="&fontTimes.label;" accesskey="&fonttimes.accesskey;" value="Times New Roman, Times, serif" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/> <menuitem label="&fontCourier.label;" accesskey="&fontcourier.accesskey;" value="Courier New, Courier, monospace" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/> <menuseparator/> <!-- Local font face items added here by initLocalFontFaceMenu() --> </menupopup> </menu> <!-- Font size submenu --> <menu id="fontSizeMenu" label="&fontsizeMenu.label;" accesskey="&formatsizemenu.accesskey;" position="2"> <menupopup onpopupshowing="initFontSizeMenu(this)"> <menuitem label="&decreaseFontSize.label;" accesskey="&decreasefontsize.accesskey;" observes="cmd_decreaseFont" type="radio" name="1" key="decreasefontsizekb"/> <menuitem label="&increaseFontSize.label;" accesskey="&increasefontsize.accesskey;" observes="cmd_increaseFont" type="radio" name="1" key="increasefontsizekb"/> <menuseparator/><!-- Not supported in current font size implementation <menuitem label="&size-xx-smallCmd.label;" accesskey="&size-xx-small.accesskey;" oncommand="EditorSetFontSize('xx-small')" type="radio" name="2" />--> <menuitem label="&size-x-smallCmd.label;" accesskey="&size-x-small.accesskey;" oncommand="EditorSetFontSize('x-small')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/> <menuitem label="&size-smallCmd.label;" accesskey="&size-small.accesskey;" oncommand="EditorSetFontSize('small')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/> <menuitem label="&size-mediumCmd.label;" accesskey="&size-medium.accesskey;" oncommand="EditorSetFontSize('medium')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/> <menuitem label="&size-largeCmd.label;" accesskey="&size-large.accesskey;" oncommand="EditorSetFontSize('large')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/> <menuitem label="&size-x-largeCmd.label;" accesskey="&size-x-large.accesskey;" oncommand="EditorSetFontSize('x-large')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/> <menuitem label="&size-xx-largeCmd.label;" accesskey="&size-xx-large.accesskey;" oncommand="EditorSetFontSize('xx-large')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/> </menupopup> </menu> <!-- Font style submenu --> <menu id="fontStyleMenu" label="&fontStyleMenu.label;" accesskey="&formatstylemenu.accesskey;" position="3"> <menupopup onpopupshowing="initFontStyleMenu(this)"> <menuitem label="&styleBoldCmd.label;" accesskey="&stylebold.accesskey;" observes="cmd_bold" type="checkbox" key="boldkb"/> <menuitem label="&styleItalicCmd.label;" accesskey="&styleitalic.accesskey;" observes="cmd_italic" type="checkbox" key="italickb" /> <menuitem label="&styleUnderlineCmd.label;" accesskey="&styleunderline.accesskey;" observes="cmd_underline" type="checkbox" key="underlinekb"/> <menuitem label="&styleStrikeThruCmd.label;" accesskey="&stylestrikethru.accesskey;" observes="cmd_strikethrough" type="checkbox"/> <menuitem label="&styleSuperscriptCmd.label;" accesskey="&stylesuperscript.accesskey;" observes="cmd_superscript" type="checkbox"/> <menuitem label="&styleSubscriptCmd.label;" accesskey="&stylesubscript.accesskey;" observes="cmd_subscript" type="checkbox"/> <menuitem label="&fontFixedWidth.label;" accesskey="&fontfixedwidth.accesskey;" observes="cmd_tt" type="checkbox" key="fixedwidthkb"/> <menuitem label="&styleNonbreakingCmd.label;" accesskey="&stylenonbreaking.accesskey;" observes="cmd_nobreak" type="checkbox"/> <menuseparator/> <menuitem label="&styleEm.label;" accesskey="&styleEm.accesskey;" observes="cmd_em" type="checkbox"/> <menuitem label="&styleStrong.label;" accesskey="&styleStrong.accesskey;" observes="cmd_strong" type="checkbox"/> <menuitem label="&styleCite.label;" accesskey="&styleCite.accesskey;" observes="cmd_cite" type="checkbox"/> <menuitem label="&styleAbbr.label;" accesskey="&styleAbbr.accesskey;" observes="cmd_abbr" type="checkbox"/> <menuitem label="&styleAcronym.label;" accesskey="&styleAcronym.accesskey;" observes="cmd_acronym" type="checkbox"/> <menuitem label="&styleCode.label;" accesskey="&styleCode.accesskey;" observes="cmd_code" type="checkbox"/>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -