code
string
repo_name
string
path
string
language
string
license
string
size
int64
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.editor} class, which is the base * for other classes representing DOM objects. */ /** * Represents a DOM obj...
zxl-test
web-test/WebRoot/ckeditor/_source/core/dom/domobject.js
JavaScript
asf20
8,120
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.dom.node} class which is the base * class for classes that represent DOM nodes. */ /** * Base class for clas...
zxl-test
web-test/WebRoot/ckeditor/_source/core/dom/node.js
JavaScript
asf20
18,698
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @class DocumentFragment is a "lightweight" or "minimal" Document object. It is * commonly used to extract a portion of a document's tree or to create a new ...
zxl-test
web-test/WebRoot/ckeditor/_source/core/dom/documentfragment.js
JavaScript
asf20
1,372
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.dom.text} class, which represents * a DOM text node. */ /** * Represents a DOM text node. * @constructor ...
zxl-test
web-test/WebRoot/ckeditor/_source/core/dom/text.js
JavaScript
asf20
4,119
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * Creates a CKEDITOR.dom.range instance that can be used inside a specific * DOM Document. * @class Represents a delimited piece of content in a DOM Document....
zxl-test
web-test/WebRoot/ckeditor/_source/core/dom/range.js
JavaScript
asf20
64,551
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.dom.document} class, which * represents a DOM document. */ /** * Represents a DOM window. * @constructor ...
zxl-test
web-test/WebRoot/ckeditor/_source/core/dom/window.js
JavaScript
asf20
2,567
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @class */ CKEDITOR.dom.nodeList = function( nativeList ) { this.$ = nativeList; }; CKEDITOR.dom.nodeList.prototype = { count : function() { re...
zxl-test
web-test/WebRoot/ckeditor/_source/core/dom/nodelist.js
JavaScript
asf20
481
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.dom.document} class, which * represents a DOM document. */ /** * Represents a DOM document. * @constructor...
zxl-test
web-test/WebRoot/ckeditor/_source/core/dom/document.js
JavaScript
asf20
6,323
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { // This function is to be called under a "walker" instance scope. function iterate( rtl, breakOnFalse ) { // Return null if we have reached the ...
zxl-test
web-test/WebRoot/ckeditor/_source/core/dom/walker.js
JavaScript
asf20
13,586
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.dom.element} class, which * represents a DOM element. */ /** * Represents a DOM element. * @constructor ...
zxl-test
web-test/WebRoot/ckeditor/_source/core/dom/element.js
JavaScript
asf20
50,383
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { /** * Represents a list os CKEDITOR.dom.range objects, which can be easily * iterated sequentially. * @constructor * @param {CKEDITOR.dom.r...
zxl-test
web-test/WebRoot/ckeditor/_source/core/dom/rangelist.js
JavaScript
asf20
6,554
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { // Elements that may be considered the "Block boundary" in an element path. var pathBlockElements = { address:1,blockquote:1,dl:1,h1:1,h2:1,h3:1,h4:1...
zxl-test
web-test/WebRoot/ckeditor/_source/core/dom/elementpath.js
JavaScript
asf20
3,026
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.dom.event} class, which * represents the a native DOM event object. */ /** * Represents a native DOM event o...
zxl-test
web-test/WebRoot/ckeditor/_source/core/dom/event.js
JavaScript
asf20
3,766
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.resourceManager} class, which is * the base for resource managers, like plugins and themes. */ /** * Base c...
zxl-test
web-test/WebRoot/ckeditor/_source/core/resourcemanager.js
JavaScript
asf20
6,832
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.editor} class, which represents an * editor instance. */ (function() { // The counter for automatic instanc...
zxl-test
web-test/WebRoot/ckeditor/_source/core/editor.js
JavaScript
asf20
34,308
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.event} class, which serves as the * base for classes and objects that require event handling features. */ if (...
zxl-test
web-test/WebRoot/ckeditor/_source/core/event.js
JavaScript
asf20
11,337
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the "virtual" {@link CKEDITOR.dataProcessor} class, which * defines the basic structure of data processor objects to be * set to {@l...
zxl-test
web-test/WebRoot/ckeditor/_source/core/dataprocessor.js
JavaScript
asf20
3,009
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @name CKEDITOR.theme * @class */ CKEDITOR.themes.add( 'default', (function() { var hiddenSkins = {}; function checkSharedSpace( editor, spaceName ...
zxl-test
web-test/WebRoot/ckeditor/_source/themes/default/theme.js
JavaScript
asf20
15,021
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <script type="text/javascript" language="javascript" src="./js/AnyChart.js"></script> <title>Set data from JSON</title> </head> <body> <div id="container...
zxl-test
web-test/WebRoot/anychart-json.html
HTML
asf20
1,010
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% Locale locale = request.getLocale(); Calendar calendar = Calendar.getInstance(locale); int hour = calendar.get(Calendar.HOUR_OF_DAY); int minute = calendar.get(Calendar.MINUTE); String greeting = ""; if(hour <= 6){ greeting = "凌晨...
zxl-test
web-test/WebRoot/greeting.jsp
Java Server Pages
asf20
1,448
<%@ page language="java" import="java.util.*,com.zxl.util.*,org.jfree.chart.ChartFactory,org.jfree.chart.JFreeChart,org.jfree.chart.plot.PlotOrientation,org.jfree.chart.servlet.ServletUtilities,org.jfree.data.category.DefaultCategoryDataset,org.jfree.chart.title.TextTitle,java.awt.Font,org.jfree.chart.plot.CategoryPlot...
zxl-test
web-test/WebRoot/jfreechart.jsp
Java Server Pages
asf20
3,267
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ taglib uri="oscache" prefix="cache" %> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <% String content = request.getParameter("content...
zxl-test
web-test/WebRoot/index.jsp
Java Server Pages
asf20
1,826
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <base...
zxl-test
web-test/WebRoot/uetest.jsp
Java Server Pages
asf20
1,234
<%@ page language="java" import="java.util.*,com.zxl.util.*" pageEncoding="UTF-8"%> <% DBTools dbt = new DBTools(); List datalist = dbt.GetTotalData(); %> <anychart> <charts> <chart plot_type="CategorizedVertical"> <data> <series name="Sales" type="Bar"> <% for(int i = 0; i < datalist.size()...
zxl-test
web-test/WebRoot/anychart1.jsp
Java Server Pages
asf20
1,099
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>MyHtml.html</title> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="this is my page"> <meta http-equiv="content-type" content="text/html; charset=UTF-...
zxl-test
web-test/WebRoot/identity.html
HTML
asf20
826
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>AnyChart Sample</title> <script type="text/javascript" language="javascript" src="./js/AnyChart.js"></script> </head> <body> <script type="text/ja...
zxl-test
web-test/WebRoot/anychart.html
HTML
asf20
586
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>flexpaper.html</title> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="this is my page"> <meta http-equiv="content-type" content="text/html; charset=U...
zxl-test
web-test/WebRoot/flexpaper.html
HTML
asf20
2,257
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>AnyChart Sample</title> <script type="text/javascript" language="javascript" src="./js/AnyChart.js"></script> </head> <body> <script type="text/ja...
zxl-test
web-test/WebRoot/anychart2.html
HTML
asf20
587
window.$FlexPaper = window["$FlexPaper"] = function(){ if (window['flexpaper']) return window['flexpaper']; else window['flexpaper'] = window.FlexPaperViewer_Instance.getApi(); return window['flexpaper']; }; /** * * FlexPaper constructor (name of swf, name of placeholder, config) * */ window.FlexPaperViewer...
zxl-test
web-test/WebRoot/js/flexpaper_flash.js
JavaScript
asf20
10,540
// ----------------------------------------------------------------------------------- // // Lightbox v2.05 // by Lokesh Dhakar - http://www.lokeshdhakar.com // Last Modification: 3/18/11 // // For more information, visit: // http://lokeshdhakar.com/projects/lightbox2/ // // Licensed under the Creative Commons Attribut...
zxl-test
web-test/WebRoot/js/lightbox.js
JavaScript
asf20
18,512
/** * @name AnyChart * @projectDescription AnyChart JavaScript Integration Library * * @version 2.4 * */ var com = {}; com.anychart = {}; /** * Browser class * @static * @class Browser * Brower information */ var Browser = function(){}; /** * Is browser Internet Explorer? * @stati...
zxl-test
web-test/WebRoot/js/AnyChart.js
JavaScript
asf20
25,618
window.$FlexPaper = window["$FlexPaper"] = function(){ if (window['flexpaper']) return window['flexpaper']; else window['flexpaper'] = window.FlexPaperViewer_Instance.getApi(); return window['flexpaper']; }; /** * * FlexPaper constructor (name of swf, name of placeholder, config) * */ window.FlexPaperViewer...
zxl-test
web-test/WebRoot/js/flexpaper_flash_debug.js
JavaScript
asf20
11,519
// script.aculo.us scriptaculous.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010 // Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"),...
zxl-test
web-test/WebRoot/js/scriptaculous.js
JavaScript
asf20
2,931
// script.aculo.us builder.js v1.9.0, Thu Dec 23 16:54:48 -0500 2010 // Copyright (c) 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) // // script.aculo.us is freely distributable under the terms of an MIT-style license. // For details, see the script.aculo.us web site: http://script.aculo.us/ va...
zxl-test
web-test/WebRoot/js/builder.js
JavaScript
asf20
4,744
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>lightbox.html</title> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="this is my page"> <meta http-equiv="content-type" content="text/html; charset=UT...
zxl-test
web-test/WebRoot/lightbox.html
HTML
asf20
1,557
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <% String id = request.getParameter("id"); String type = request.getParameter("type"); %> ...
zxl-test
web-test/WebRoot/urlrewrite.jsp
Java Server Pages
asf20
985
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="Author" CONTENT=""> <META NAME="Keywords" CONTENT=""> <META NAME="Description" CONTENT=""> </HEAD> <script src="js/jquery.js" type="...
zxl-test
web-test/WebRoot/filter.html
HTML
asf20
2,254
<%@ page contentType="text/xml; charset=UTF-8" isELIgnored ="false" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %> <sql:setDataSource driver="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost/sfdh?useUnicode=true&characterEnco...
zxl-test
web-test/WebRoot/anychart2.jsp
Java Server Pages
asf20
1,560
#lightbox{ position: absolute; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;} #lightbox img{ width: auto; height: auto;} #lightbox a img{ border: none; } #outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; } #imageContainer{ padding: ...
zxl-test
web-test/WebRoot/css/lightbox.css
CSS
asf20
1,648
///import core ///commands 当输入内容超过编辑器高度时,编辑器自动增高 /** * @description 自动伸展 * @author zhanyi */ (function() { var domUtils = baidu.editor.dom.domUtils; baidu.editor.plugins['autoheight'] = function() { var editor = this; //提供开关,就算加载也可以关闭 editor.autoHeightEnabled = this.opt...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/autoheight/autoheight.js
JavaScript
asf20
2,480
///import core ///import commands\removeformat.js ///commands 格式刷 /** * 格式刷,只格式inline的 * @function * @name baidu.editor.execCommand * @param {String} cmdName formatmatch执行格式刷 */ baidu.editor.plugins['formatmatch'] = function(){ var me = this, domUtils = baidu.editor.dom.domUtils, ...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/formatmatch/formatmatch.js
JavaScript
asf20
4,378
/* * 处理特殊键的兼容性问题 */ (function() { var domUtils = baidu.editor.dom.domUtils, browser = baidu.editor.browser, dtd = baidu.editor.dom.dtd, utils = baidu.editor.utils, flag = 0, keys = domUtils.keys, trans = { 'B' : 'strong', 'I' : ...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/keystrokes/keystrokes.js
JavaScript
asf20
20,172
///import core ///commands 右键菜单 /** * 右键菜单 * @function * @name baidu.editor.plugins.contextmenu * @author zhanyi */ (function () { var domUtils = baidu.editor.dom.domUtils; baidu.editor.plugins['contextmenu'] = function () { var me = this, menu, items = me.opt...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/contextmenu/contextmenu.js
JavaScript
asf20
4,374
///import core ///import commands/inserthtml.js ///commands 视频 (function (){ baidu.editor.plugins['video'] = function (){ var editor = this; var fakedMap = {}; var fakedPairs = []; var lastFakedId = 0; function fake(url, width, height,style){ var fakedId...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/video/video.js
JavaScript
asf20
4,787
/** * Created by JetBrains WebStorm. * User: taoqili * Date: 11-11-8 * Time: 下午3:38 * To change this template use File | Settings | File Templates. */ baidu.editor.plugins["checkimage"] = function(){ var checkedImgs=[]; baidu.editor.commands['checkimage'] = { execCommand : function( ...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/checkimage/checkimage.js
JavaScript
asf20
878
///import core ///import plugins/undo/undo.js ///commands 设置回车标签p或br /** * @description 处理回车 * @author zhanyi */ (function() { var browser = baidu.editor.browser, domUtils = baidu.editor.dom.domUtils, hTag; baidu.editor.plugins['enterkey'] = function() { var me = this, ...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/enterkey/enterkey.js
JavaScript
asf20
7,473
///import core ///commands 有序列表,无序列表 /** * 有序列表 * @function * @name baidu.editor.execCommand * @param {String} cmdName insertorderlist插入有序列表 * @param {String} style 值为:decimal,lower-alpha,lower-roman,upper-alpha,upper-roman * @author zhanyi */ /** * 无序链接 * @function * @n...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/list/list.js
JavaScript
asf20
20,809
///import core ///commands 悬浮工具栏 /* * modified by chengchao01 * * 注意: 引入此功能后,在IE6下会将body的背景图片覆盖掉! */ (function(){ var browser = baidu.editor.browser, domUtils = baidu.editor.dom.domUtils, uiUtils, LteIE6 = browser.ie && browser.version <= 6; baidu.editor.plugins['autofloat']...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/autofloat/autofloat.js
JavaScript
asf20
5,498
///import core ///commands 快捷键 //配置快捷键 baidu.editor.plugins['shortcutkeys'] = function(){ var editor = this, shortcutkeys = baidu.editor.utils.extend({ "ctrl+66" : "Bold" //^B ,"ctrl+90" : "Undo" //undo ,"ctrl+89" : "Redo" //redo ,"ctrl+73" : "Italic" //^I ...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/shortcutkeys/shortcutkeys.js
JavaScript
asf20
1,424
///import core ///commands 修复chrome下图片不能点击的问题 //修复chrome下图片不能点击的问题 //todo 可以改大小 baidu.editor.plugins['fiximgclick'] = function() { var me = this, browser = baidu.editor.browser; if ( browser.webkit ) { me.addListener( 'click', function( type, e ) { if ( e.target.tagName == 'IMG' ) { ...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/fiximgclick/fiximgclick.js
JavaScript
asf20
539
///import core ///commands 选区路径 /** * 选区路径 * @function * @name baidu.editor.execCommand * @param {String} cmdName elementpath选区路径 */ baidu.editor.plugins['elementpath'] = function(){ var domUtils = baidu.editor.dom.domUtils, currentLevel, tagNames, dtd = baidu.edi...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/elementpath/elementpath.js
JavaScript
asf20
2,907
///import core ///commands 添加分页功能 /** * @description 添加分页功能 * @author zhanyi */ (function() { var editor = baidu.editor, domUtils = editor.dom.domUtils, notBreakTags = ['td']; baidu.editor.plugins['pagebreak'] = function() { var me = this; //重写了Editor.hasConten...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/pagebreak/pagebreak.js
JavaScript
asf20
3,279
///import core ///import commands/inserthtml.js ///import plugins/undo/undo.js ///import plugins/serialize/serialize.js ///commands 粘贴 /* ** @description 粘贴 * @author zhanyi */ (function() { var domUtils = baidu.editor.dom.domUtils, browser = baidu.editor.browser; function getClipboardData( callback )...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/paste/paste.js
JavaScript
asf20
8,774
baidu.editor.plugins['serialize'] = function () { var dtd = baidu.editor.dom.dtd, utils = baidu.editor.utils, domUtils = baidu.editor.dom.domUtils, browser = baidu.editor.browser, ie = browser.ie, version = browser.version; var me = this, EMPTY_TAG...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/serialize/serialize.js
JavaScript
asf20
46,644
///import core ///commands 为非ie浏览器自动添加a标签 /** * @description 为非ie浏览器自动添加a标签 * @author zhanyi */ (function() { var editor = baidu.editor, browser = editor.browser, domUtils = editor.dom.domUtils; baidu.editor.plugins['autolink'] = function() { var cont = 0; ...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/autolink/autolink.js
JavaScript
asf20
3,318
///import core ///import commands/inserthtml.js ///commands 插入代码 baidu.editor.plugins['highlight'] = function() { var me = this,domUtils = baidu.editor.dom.domUtils,utils = baidu.editor.utils,browser = baidu.editor.browser; me.commands['highlightcode'] = { execCommand: function (cmdName, code, syn...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/highlight/highlight.js
JavaScript
asf20
6,018
///import core ///commands 加粗,斜体,上标,下标 /** * b u i等基础功能实现 * @function * @name baidu.editor.execCommands * @param {String} cmdName bold加粗。italic斜体。subscript上标。superscript下标。 */ baidu.editor.plugins['basestyle'] = function(){ var basestyles = { 'bold':['strong','b'], ...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/basestyle/basestyle.js
JavaScript
asf20
4,809
///import core ///commands 撤销和重做 /** * @description 回退 * @author zhanyi */ (function() { var domUtils = baidu.editor.dom.domUtils, fillchar = new RegExp(baidu.editor.dom.domUtils.fillChar + '|<\/hr>','gi'),// ie会产生多余的</hr> browser = baidu.editor.browser; baidu.editor.plugins['undo...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/undo/undo.js
JavaScript
asf20
8,507
///import core ///import plugins/serialize/serialize.js ///import plugins/undo/undo.js ///commands 查看源码 (function (){ var browser = baidu.editor.browser, domUtils = baidu.editor.dom.domUtils, dtd = baidu.editor.dom.dtd; function SourceFormater(config){ config = config || {}; ...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/source/source.js
JavaScript
asf20
13,518
///import core ///commands 表格 /** * Created by . * User: taoqili * Date: 11-5-5 * Time: 下午2:06 * To change this template use File | Settings | File Templates. */ (function() { /** * table操作插件 */ baidu.editor.plugins['table'] = function() { var editor = baidu.editor, ...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/table/table.js
JavaScript
asf20
60,389
///import core ///commands 查找替换 /** * @description 查找替换 * @author zhanyi */ baidu.editor.plugins['searchreplace'] = function(){ var currentRange, first; this.addListener('reset',function(){ currentRange = null; first = null; }); baidu.editor.commands['sear...
zxl-test
web-test/WebRoot/ueditor/_src/plugins/searchreplace/searchreplace.js
JavaScript
asf20
5,482
///import core ///commands 插入内容 ///commands 插入框架 /** * @description 插入内容 * @name baidu.editor.execCommand * @param {String} cmdName inserthtml插入内容的命令 * @param {String} html 要插入的内容 * @author zhanyi */ (function(){ var domUtils = baidu.editor.dom.domUtils, dtd =...
zxl-test
web-test/WebRoot/ueditor/_src/commands/inserthtml.js
JavaScript
asf20
4,807
(function() { baidu.editor.commands['insertframe'] = { execCommand : function(){ }, queryCommandState : function(){ return this.highlight ? -1 :0; } }; })();
zxl-test
web-test/WebRoot/ueditor/_src/commands/iframe.js
JavaScript
asf20
208
///import core ///commands 格式 /** * 段落样式 * @function * @name baidu.editor.execCommand * @param {String} cmdName paragraph插入段落执行命令 * @param {String} style 标签值为:'p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' * @param {String} attrs 标签的属性 * @author zhanyi */ (functio...
zxl-test
web-test/WebRoot/ueditor/_src/commands/paragraph.js
JavaScript
asf20
8,114
///import core ///commands 段落格式,居左,居右,居中,两端对齐 /** * @description 居左右中 * @name baidu.editor.execCommand * @param {String} cmdName justify执行对齐方式的命令 * @param {String} align 对齐方式:left居左,right居右,center居中,justify两端对齐 * @author zhanyi */ (function(){ var domUtils = baidu.editor.do...
zxl-test
web-test/WebRoot/ueditor/_src/commands/justify.js
JavaScript
asf20
4,722
///import core ///import commands\inserthtml.js ///commands 分割线 /** * 分割线 * @function * @name baidu.editor.execCommand * @param {String} cmdName horizontal插入分割线 */ (function (){ var domUtils = baidu.editor.dom.domUtils; baidu.editor.commands['horizontal'] = { execCommand : functi...
zxl-test
web-test/WebRoot/ueditor/_src/commands/horizontal.js
JavaScript
asf20
1,927
///import core ///commands 删除 /** * 删除 * @function * @name baidu.editor.execCommand * @param {String} cmdName delete删除 */ (function (){ var domUtils = baidu.editor.dom.domUtils, browser = baidu.editor.browser; baidu.editor.commands['delete'] = { execCommand : function (){...
zxl-test
web-test/WebRoot/ueditor/_src/commands/delete.js
JavaScript
asf20
3,295
///import core ///commands 清除格式 /** * @description 清除格式 * @name baidu.editor.execCommand * @param {String} cmdName removeformat清除格式命令 * @param {String} tags 以逗号隔开的标签。如:span,a * @param {String} style 样式 * @param {String} attrs 属性 * @param {...
zxl-test
web-test/WebRoot/ueditor/_src/commands/removeformat.js
JavaScript
asf20
6,950
(function() { baidu.editor.commands['spechars'] = { execCommand : function(){ }, queryCommandState : function(){ return this.highlight ? -1 :0; } }; })();
zxl-test
web-test/WebRoot/ueditor/_src/commands/spechars.js
JavaScript
asf20
215
///import core ///import commands\paragraph.js ///commands 行间距 /** * @description 设置行内间距 * @name baidu.editor.execCommand * @param {String} cmdName lineheight设置行内间距 * @param {String} value 值 * @author zhuwenxuan */ (function(){ var domUtils = baidu.editor.dom.domUtils; ...
zxl-test
web-test/WebRoot/ueditor/_src/commands/lineheight.js
JavaScript
asf20
1,151
///import core ///import commands\removeformat.js ///commands 字体颜色,背景色,字号,字体,下划线,删除线 /** * @description 字体 * @name baidu.editor.execCommand * @param {String} cmdName 执行的功能名称 * @param {String} value 传入的值 */ (function() { var domUtils = baidu.editor.dom.domUtils, fonts = ...
zxl-test
web-test/WebRoot/ueditor/_src/commands/font.js
JavaScript
asf20
7,893
///import core ///commands 锚点 /** * 锚点 * @function * @name baidu.editor.execCommands * @param {String} cmdName cmdName="anchor"插入锚点 */ (function (){ var domUtils = baidu.editor.dom.domUtils; baidu.editor.commands['anchor'] = { execCommand : function (cmd, name){ va...
zxl-test
web-test/WebRoot/ueditor/_src/commands/anchor.js
JavaScript
asf20
1,437
///import core ///commands 日期,时间 /** * 插入日期 * @function * @name baidu.editor.execCommand * @param {String} cmdName date插入日期 * @author zhuwenxuan */ /** * 插入时间 * @function * @name baidu.editor.execCommand * @param {String} cmdName time插入时间 * @author zhuwenxuan */ baidu.editor.co...
zxl-test
web-test/WebRoot/ueditor/_src/commands/time.js
JavaScript
asf20
1,227
///import core ///import commands\paragraph.js ///commands 首行缩进 /** * 首行缩进 * @function * @name baidu.editor.execCommand * @param {String} cmdName outdent取消缩进,indent缩进 */ (function (){ var domUtils = baidu.editor.dom.domUtils; baidu.editor.commands['indent'] = { execCommand : fun...
zxl-test
web-test/WebRoot/ueditor/_src/commands/indent.js
JavaScript
asf20
952
///import core ///commands 引用 /** * * 引用模块实现 * @function * @name baidu.editor.execCommand * @param {String} cmdName blockquote引用 */ (function() { var domUtils = baidu.editor.dom.domUtils, dtd = baidu.editor.dom.dtd, getObj = function(editor){ var startNode =...
zxl-test
web-test/WebRoot/ueditor/_src/commands/blockquote.js
JavaScript
asf20
6,204
///import core ///commands 输入的方向 /** * 输入的方向 * @function * @name baidu.editor.execCommand * @param {String} cmdName directionality执行函数的参数 * @param {String} forward ltr从左向右输入,rtl从右向左输入 */ (function() { var domUtils = baidu.editor.dom.domUtils, block = domUtils.isBlockElm , ...
zxl-test
web-test/WebRoot/ueditor/_src/commands/directionality.js
JavaScript
asf20
4,768
///import core ///commands 打印 /** * @description 打印 * @name baidu.editor.execCommand * @param {String} cmdName print打印编辑器内容 * @author zhanyi */ (function() { baidu.editor.commands['print'] = { execCommand : function(){ this.window.print(); }, notNeedUndo...
zxl-test
web-test/WebRoot/ueditor/_src/commands/print.js
JavaScript
asf20
476
///import core ///commands 清空文档 /** * * 清空文档 * @function * @name baidu.editor.execCommand * @param {String} cmdName cleardoc清空文档 */ (function(){ function setRange(range,node){ range.setStart(node,0).setCursor(); } baidu.editor.commands['cleardoc'] = { execCommand ...
zxl-test
web-test/WebRoot/ueditor/_src/commands/cleardoc.js
JavaScript
asf20
1,028
///import core ///commands 全选 /** * 选中所有 * @function * @name baidu.editor.execCommand * @param {String} cmdName selectall选中编辑器里的所有内容 * @author zhanyi */ (function() { var browser = baidu.editor.browser; baidu.editor.commands['selectall'] = { execCommand : function(){ ...
zxl-test
web-test/WebRoot/ueditor/_src/commands/selectall.js
JavaScript
asf20
529
///import core ///commands 预览 /** * 预览 * @function * @name baidu.editor.execCommand * @param {String} cmdName preview预览编辑器内容 */ baidu.editor.commands['preview'] = { execCommand : function(){ var me = this, w = window.open('', '_blank', ""), d = w....
zxl-test
web-test/WebRoot/ueditor/_src/commands/preview.js
JavaScript
asf20
1,468
/** * Created by JetBrains WebStorm. * User: taoqili * Date: 11-9-7 * Time: 下午8:18 * To change this template use File | Settings | File Templates. */ baidu.editor.commands["wordcount"]={ queryCommandValue:function(cmd,onlyCount){ var length,contentText,reg; if(onlyCount){ ...
zxl-test
web-test/WebRoot/ueditor/_src/commands/wordcount.js
JavaScript
asf20
1,134
///import core ///import commands\paragraph.js ///commands 行间距 /** * @description 设置行距 * @name baidu.editor.execCommand * @param {String} cmdName rowspacing设置行间距 * @param {String} value 值,以px为单位 * @author zhanyi */ (function(){ var domUtils = baidu.editor.dom.domUtils...
zxl-test
web-test/WebRoot/ueditor/_src/commands/rowspacing.js
JavaScript
asf20
1,167
/** * Created by . * User: zhanyi * for image */ (function (){ var domUtils = baidu.editor.dom.domUtils, utils = baidu.editor.utils, defaultValue = { left : 1, right : 1, center : 1 }, dtd = baidu.editor.dom.dtd; baidu.editor.commands['im...
zxl-test
web-test/WebRoot/ueditor/_src/commands/image.js
JavaScript
asf20
8,612
///import core ///commands 超链接,取消链接 /** * 超链接 * @function * @name baidu.editor.execCommand * @param {String} cmdName link插入超链接 * @param {Object} options url地址,title标题,target是否打开新页 * @author zhanyi */ /** * 取消链接 * @function * @name baidu.editor.execCommand * @param {String} ...
zxl-test
web-test/WebRoot/ueditor/_src/commands/link.js
JavaScript
asf20
6,317
(function() { baidu.editor.commands['gmap'] = baidu.editor.commands['map'] = { execCommand : function(){ }, queryCommandState : function(){ return this.highlight ? -1 :0; } }; })();
zxl-test
web-test/WebRoot/ueditor/_src/commands/map.js
JavaScript
asf20
237
(function() { baidu.editor.commands['emotion'] = { execCommand : function(){ }, queryCommandState : function(){ return this.highlight ? -1 :0; } }; })();
zxl-test
web-test/WebRoot/ueditor/_src/commands/emotion.js
JavaScript
asf20
204
///import editor.js ///import core/utils.js ///import core/EventBase.js ///import core/browser.js ///import core/dom/dom.js ///import core/dom/domUtils.js ///import core/dom/Selection.js ///import core/dom/dtd.js (function () { baidu.editor.Editor = Editor; var editor = baidu.editor, utils ...
zxl-test
web-test/WebRoot/ueditor/_src/core/Editor.js
JavaScript
asf20
23,074
///import editor.js ///import core/utils.js /** * @class baidu.editor.utils 工具类 */ (function() { baidu.editor.utils = {}; var noop = new Function(); var utils = baidu.editor.utils = /**@lends baidu.editor.utils.prototype*/ { /** * 以obj为原型创建实例 * @public * @function...
zxl-test
web-test/WebRoot/ueditor/_src/core/utils.js
JavaScript
asf20
8,533
///import editor.js ///import core/utils.js (function () { baidu.editor.EventBase = EventBase; var utils = baidu.editor.utils; /** * 事件基础类 * @public * @class * @name baidu.editor.EventBase */ function EventBase() { } EventBase.prototype = /**@lends b...
zxl-test
web-test/WebRoot/ueditor/_src/core/EventBase.js
JavaScript
asf20
2,527
///import editor.js /** * @class baidu.editor.browser 判断浏览器 */ baidu.editor.browser = function(){ var agent = navigator.userAgent.toLowerCase(), opera = window.opera, browser = { /** * 检测浏览器是否为IE * @name baidu.editor.browser.ie * @property 检测浏...
zxl-test
web-test/WebRoot/ueditor/_src/core/browser.js
JavaScript
asf20
6,951
///import editor.js ///import core/browser.js ///import core/dom/dom.js ///import core/dom/dtd.js ///import core/dom/domUtils.js ///import core/dom/Range.js /** * @class baidu.editor.dom.Selection Selection类 */ baidu.editor.dom.Selection = baidu.editor.dom.Selection || {}; (function () { baidu.edito...
zxl-test
web-test/WebRoot/ueditor/_src/core/dom/Selection.js
JavaScript
asf20
11,444
///import editor.js ///import core/dom/dom.js /** * dtd html语义化的体现类 * @constructor * @namespace dtd */ baidu.editor.dom.dtd = (function() { function _( s ) { for (var k in s) { s[k.toUpperCase()] = s[k]; } return s; } function X( t ) { var a = a...
zxl-test
web-test/WebRoot/ueditor/_src/core/dom/dtd.js
JavaScript
asf20
5,881
///import editor.js //注册命名空间 /** * @class baidu.editor.dom */ baidu.editor.dom = baidu.editor.dom || {};
zxl-test
web-test/WebRoot/ueditor/_src/core/dom/dom.js
JavaScript
asf20
123
///import editor.js ///import core/utils.js ///import core/browser.js ///import core/dom/dom.js ///import core/dom/dtd.js ///import core/dom/domUtils.js /** * @class baidu.editor.dom.Range Range类 */ baidu.editor.dom.Range = baidu.editor.dom.Range || {}; /** * @description Range类实现 * @author zhanyi ...
zxl-test
web-test/WebRoot/ueditor/_src/core/dom/Range.js
JavaScript
asf20
40,992
///import editor.js ///import core/utils.js ///import core/browser.js ///import core/dom/dom.js ///import core/dom/dtd.js /** * @class baidu.editor.dom.domUtils dom工具类 */ baidu.editor.dom.domUtils = baidu.editor.dom.domUtils || {}; (function() { var editor = baidu.editor, browser = editor.br...
zxl-test
web-test/WebRoot/ueditor/_src/core/dom/domUtils.js
JavaScript
asf20
51,871
UEDITOR_CONFIG = window.UEDITOR_CONFIG || {}; var baidu = baidu || {}; /** * @namespace baidu.editor */ baidu.editor = baidu.editor || {}; /** * @class baidu.editor.commands */ baidu.editor.commands = {}; /** * @class baidu.editor.plugins */ baidu.editor.plugins = {}; baidu.editor.version = "1...
zxl-test
web-test/WebRoot/ueditor/_src/editor.js
JavaScript
asf20
334
///import core ///import uicore (function (){ var utils = baidu.editor.utils, domUtils = baidu.editor.dom.domUtils, UIBase = baidu.editor.ui.UIBase, uiUtils = baidu.editor.ui.uiUtils; var Mask = baidu.editor.ui.Mask = function (options){ this.initOptions(options); ...
zxl-test
web-test/WebRoot/ueditor/_src/ui/mask.js
JavaScript
asf20
1,520
///import core ///import uicore ///import ui/menu.js ///import ui/splitbutton.js (function (){ // todo: menu和item提成通用list var utils = baidu.editor.utils, uiUtils = baidu.editor.ui.uiUtils, Menu = baidu.editor.ui.Menu, SplitButton = baidu.editor.ui.SplitButton, Combox = ...
zxl-test
web-test/WebRoot/ueditor/_src/ui/combox.js
JavaScript
asf20
3,083
///import core ///import uicore (function (){ var utils = baidu.editor.utils, uiUtils = baidu.editor.ui.uiUtils, UIBase = baidu.editor.ui.UIBase; var TablePicker = baidu.editor.ui.TablePicker = function (options){ this.initOptions(options); this.initTablePicker(); ...
zxl-test
web-test/WebRoot/ueditor/_src/ui/tablepicker.js
JavaScript
asf20
3,473
///import core ///import uicore ///import ui/popup.js ///import ui/tablepicker.js ///import ui/splitbutton.js (function (){ var utils = baidu.editor.utils, Popup = baidu.editor.ui.Popup, TablePicker = baidu.editor.ui.TablePicker, SplitButton = baidu.editor.ui.SplitButton, T...
zxl-test
web-test/WebRoot/ueditor/_src/ui/tablebutton.js
JavaScript
asf20
1,297