hu_editor/js/buttons.js

(开头部分) 7KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/*
*######################################
* eWebEditor v5.5 - Advanced online web based WYSIWYG HTML editor.
* Copyright (c) 2003-2008 eWebSoft.com
*
* For further information go to http://www.ewebsoft.com/
* This copyright notice MUST stay intact for use.
*######################################
*/


// image, event, class, type
var Buttons = {
	"TBSep"			: ["", "", "TBSep", 2],
	"TBHandle"		: ["", "", "TBHandle", 2],
	"Space"			: ["", "", "TBGen", 2],

	"EditMenu"		: [1, "showToolMenu('edit')", "Btn", 0],
	"UnDo"			: [2, "goHistory(-1)", "Btn", 0],
	"ReDo"			: [3, "goHistory(1)", "Btn", 0],
	"Cut"			: [4, "format('cut')", "Btn", 0],
	"Copy"			: [5, "format('copy')", "Btn", 0],
	"Paste"			: [6, "format('paste')", "Btn", 0],
	"PasteText"		: [7, "PasteText()", "Btn", 0],
	"PasteWord"		: [8, "PasteWord()", "Btn", 0],	
	"Delete"		: [9, "format('delete')", "Btn", 0],
	"RemoveFormat"	: [10, "format('RemoveFormat')", "Btn", 0],
	"SelectAll"		: [11, "format('SelectAll')", "Btn", 0],
	"UnSelect"		: [12, "format('Unselect')", "Btn", 0],
	"FindReplace"	: [13, "findReplace()", "Btn", 0],	
	"SpellCheck"	: [14, "spellCheck()", "Btn", 0],

	"FontMenu"		: [15, "showToolMenu('font')", "Btn", 0],
	"Bold"			: [16, "format('bold')", "Btn", 0],
	"Italic"		: [17, "format('italic')", "Btn", 0],
	"UnderLine"		: [18, "format('underline')", "Btn", 0],	
	"StrikeThrough"	: [19, "format('StrikeThrough')", "Btn", 0],
	"SuperScript"	: [20, "format('superscript')", "Btn", 0],
	"SubScript"		: [21, "format('subscript')", "Btn", 0],
	"UpperCase"		: [22, "formatText('uppercase')", "Btn", 0],
	"LowerCase"		: [23, "formatText('lowercase')", "Btn", 0],
	"ForeColor"		: [24, "showDialog('selcolor.htm?action=forecolor', true)", "Btn", 0],
	"BackColor"		: [25, "showDialog('selcolor.htm?action=backcolor', true)", "Btn", 0],
	"Big"			: [26, "insert('big')", "Btn", 0],
	"Small"			: [27, "insert('small')", "Btn", 0],

	"ParagraphMenu"	: [28, "showToolMenu('paragraph')", "Btn", 0],
	"JustifyLeft"	: [29, "format('justifyleft')", "Btn", 0],
	"JustifyCenter"	: [30, "format('justifycenter')", "Btn", 0],
	"JustifyRight"	: [31, "format('justifyright')", "Btn", 0],
	"JustifyFull"	: [32, "format('JustifyFull')", "Btn", 0],
	"OrderedList"	: [33, "format('insertorderedlist')", "Btn", 0],
	"UnOrderedList"	: [34, "format('insertunorderedlist')", "Btn", 0],
	"Indent"		: [35, "format('indent')", "Btn", 0],
	"Outdent"		: [36, "format('outdent')", "Btn", 0],
	"BR"			: [37, "insert('br')", "Btn", 0],
	"Paragraph"		: [38, "format('InsertParagraph')", "Btn", 0],
	"ParagraphAttr"	: [39, "paragraphAttr()", "Btn", 0],

	"ComponentMenu"	: [40, "showToolMenu('component')", "Btn", 0],
后面还有 98 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。