📄 config.js
字号:
/**********************************************************************
Version: FreeRichTextEditor.com Version 1.00.
License: http://creativecommons.org/licenses/by/2.5/
Description: Configuration File.
Author: Copyright (C) 2006 Steven Ewing
**********************************************************************/
// Width of the rich text editor.
rteWidth = "100%";
// Name of the IFRAME (content editor).
rteName = "freeRTE";
// Name of the hidden form field.
rteFormName = "freeRTE_content";
// Height of the rich text editor.
rteHeight = "300px";
// Path to the images folder.
rteImagePath = "../images/";
// Path to insert form popup.
rteHTMLPathInsertForm = "../html/insert_form.html";
// Path to insert checkbox popup.
rteHTMLPathInsertCheckbox = "../html/insert_checkbox.html";
// Path to insert radio button popup.
rteHTMLPathInsertRadiobutton = "../html/insert_radiobutton.html";
// Path to insert text area popup.
rteHTMLPathInsertTextArea = "../html/insert_textarea.html";
// Path to insert submit button popup.
rteHTMLPathInsertSubmit = "../html/insert_submit.html";
// Path to insert image submit button popup.
rteHTMLPathInsertImageSubmit = "../html/insert_image_submit.html";
// Path to reset form button popup.
rteHTMLPathInsertReset = "../html/insert_reset.html";
// Path to insert hidden form field popup.
rteHTMLPathInsertHidden = "../html/insert_hidden.html";
// Path to insert password field popup.
rteHTMLPathInsertPassword = "../html/insert_password.html";
// Path to insert text field popup.
rteHTMLPathInsertText = "../html/insert_text.html";
// Path to insert table popup.
rteHTMLPathInsertTable = "../html/insert_table.html";
// Path to edit table properties popup.
rteHTMLPathEditTable = "../html/edit_table.html";
// Path to insert link popup.
rteHTMLPathInsertLink = "../html/insert_link.html";
// Path to edit link popup.
rteHTMLPathEditLink = "../html/edit_link.html";
// Path to insert image popup.
rteHTMLPathInsertImage = "../html/insert_image.html";
// Format Menu (H1, H2, H3 etc etc).
rteFormat = true;
// Font Face Menu (Arial, Verdana etc etc).
rteFontFace = true;
// Font Size Menu (1, 2, etc etc).
rteFontSize = true;
// Font Color Menu.
rteFontColor = true;
// Bold Text Button.
rteBold = true;
// Italicize Text Button.
rteItalic = true;
// Underline Text Button.
rteUnderline = true;
// Strikethrough Text Button.
rteStrikeThrough = true;
// Left Justify Button.
rteLeftAlign = true;
// Center Justify Button.
rteCenterAlign = true;
// Right Justify Button.
rteRightAlign = true;
// Full Justify Button.
rteFullAlign = true;
// Insert Horizontal Rule Button.
rteHorizontalRule = true;
// Superscript Text Button.
rteSuperscript = true;
// Subscript Text Button.
rteSubscript = true;
// Insert Hyperlink Button.
rteLink = true;
// Remove Hyperlink Button.
rteUnlink = true;
// Insert Image Button.
rteImages = true;
// Remove Formatting Button.
rteRemoveFormat = true;
// Table Formatting Buttons.
rteTables = true;
// Insert an ordered list Button.
rteOrderedList = true;
// Insert an unordered list Button.
rteUnorderedList = true;
// Indent Button.
rteIndent = true;
// Outdent Button.
rteOutdent = true;
// Undo Button.
rteUndo = true;
// Redo Button.
rteRedo = true;
// Cut, Copy & Paste Buttons.
rteCutCopyPaste = true;
// Insert form button.
rteInsertForm = true;
// Insert checkbox button.
rteInsertCheckbox = true;
// Insert radio button.
rteInsertRadio = true;
// Insert textarea.
rteInsertTextArea = true;
// Insert submit button.
rteInsertSubmit = true;
// Insert image submit button.
rteInsertImageSubmit = true;
// Insert reset button.
rteInsertReset = true;
// Insert hidden field.
rteInsertHidden = true;
// Insert password field.
rteInsertPassword = true;
// Insert text field.
rteInsertTextField = true;
// Print Rich Text Area Content.
rtePrint = true;
// Select All of Rich Text Area Content.
rteSelectAll = true;
// Spell Checker.
rteSpellCheck = true;
// Show Preview Button.
rtePreviewMode = true;
// Show Code Edit Button.
rteCodeMode = true;
// Show Design Mode Button.
rteDesignMode = true;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -