├── static ├── .gitkeep └── ueditor │ ├── themes │ ├── iframe.css │ └── default │ │ ├── images │ │ ├── lock.gif │ │ ├── word.gif │ │ ├── anchor.gif │ │ ├── arrow.png │ │ ├── charts.png │ │ ├── icons.gif │ │ ├── icons.png │ │ ├── loading.gif │ │ ├── scale.png │ │ ├── spacer.gif │ │ ├── upload.png │ │ ├── arrow_up.png │ │ ├── button-bg.gif │ │ ├── cursor_h.gif │ │ ├── cursor_h.png │ │ ├── cursor_v.gif │ │ ├── cursor_v.png │ │ ├── filescan.png │ │ ├── icons-all.gif │ │ ├── loaderror.png │ │ ├── pagebreak.gif │ │ ├── sortable.png │ │ ├── videologo.gif │ │ ├── wordpaste.png │ │ ├── arrow_down.png │ │ ├── cancelbutton.gif │ │ ├── highlighted.gif │ │ ├── sparator_v.png │ │ ├── toolbar_bg.png │ │ ├── unhighlighted.gif │ │ ├── dialog-title-bg.png │ │ ├── neweditor-tab-bg.png │ │ ├── table-cell-align.png │ │ └── tangram-colorpicker.png │ │ └── css │ │ ├── colorbutton.css │ │ ├── shortcutmenu.css │ │ ├── separtor.css │ │ ├── toolbar.css │ │ ├── autotypesetpicker.css │ │ ├── multiMenu.css │ │ ├── contextmenu.css │ │ ├── menu.css │ │ ├── tablepicker.css │ │ ├── paragraphpicker.css │ │ ├── button.css │ │ ├── ueditor.css │ │ ├── cellalignpicker.css │ │ ├── message.css │ │ └── combox.css │ ├── _test │ ├── tools │ │ ├── data │ │ │ ├── test.html │ │ │ ├── test.JPG │ │ │ ├── frame.html │ │ │ ├── testReady.html │ │ │ └── frame.php │ │ ├── lib │ │ │ ├── jshunter_1.2.0.1 │ │ │ │ └── jshunter_dev │ │ │ │ │ └── jshunter │ │ │ │ │ ├── conf │ │ │ │ │ ├── custcheck.conf │ │ │ │ │ ├── omitfiles.conf │ │ │ │ │ └── ignore.list │ │ │ │ │ ├── core │ │ │ │ │ ├── customcheck │ │ │ │ │ │ └── cust.sh │ │ │ │ │ ├── jshint │ │ │ │ │ │ └── js.jar │ │ │ │ │ └── tpl │ │ │ │ │ │ └── htmlpart.html │ │ │ │ │ └── version │ │ │ ├── js.jar │ │ │ ├── npPlugintest.dll │ │ │ ├── ant_tangram_ext.jar │ │ │ ├── jslint4java-2.0.2.jar │ │ │ └── jslint4java-ant-1.4.2.jar │ │ ├── coverage │ │ │ ├── cov.bat │ │ │ └── jscoverage.exe │ │ └── br │ │ │ ├── runC.php │ │ │ ├── css │ │ │ ├── bg_button_a.gif │ │ │ └── bg_button_span.gif │ │ │ ├── js │ │ │ ├── UserAction manual.rar │ │ │ └── ext_qunit.js │ │ │ ├── coverage │ │ │ ├── jscoverage-throbber.gif │ │ │ └── jscoverage-highlight.css │ │ │ ├── read.php │ │ │ ├── lib │ │ │ ├── StafResult.php │ │ │ └── Staf.php │ │ │ ├── batchrun.sh │ │ │ ├── geneHistory.php │ │ │ ├── txt │ │ │ └── test1_2.txt │ │ │ ├── filehelper.php │ │ │ ├── run.php │ │ │ └── log.php │ ├── index.php │ ├── 关键字.txt │ ├── testDesign │ │ ├── offical site.xmind │ │ ├── VersionUpdate │ │ │ ├── readme.txt │ │ │ ├── test list for 1.3.0.xmind │ │ │ ├── test list for 1.3.6.xmind │ │ │ ├── test list for 1.4.0.xmind │ │ │ └── test list for 1.4.3.xmind │ │ ├── Manual regression cases.xmind │ │ └── 8eaccbef76094b364e2cfddaa1cc7cd98d109d49.jpg │ ├── coverage │ │ ├── jscoverage-throbber.gif │ │ └── jscoverage-highlight.css │ ├── ui │ │ ├── css │ │ │ └── DEFAULT.css │ │ ├── mask.js │ │ ├── uibase.js │ │ ├── uiutils.js │ │ ├── editorui.js │ │ ├── separator.js │ │ └── stateful.js │ ├── plugins │ │ ├── autoupload.js │ │ ├── scrawl.js │ │ ├── print.js │ │ ├── serverparam.js │ │ ├── insertparagraph.js │ │ ├── auto.js │ │ ├── template.js │ │ ├── iframe.js │ │ ├── autoheight.js │ │ ├── music.js │ │ ├── snapscreen.js │ │ ├── wordcount.js │ │ └── copy.js │ └── core │ │ ├── plugin.js │ │ ├── ajax.php │ │ └── localstorage.js │ ├── 20181107144530.png │ ├── jsp │ ├── lib │ │ ├── json.jar │ │ ├── ueditor-1.1.1.jar │ │ ├── commons-io-2.4.jar │ │ ├── commons-codec-1.9.jar │ │ └── commons-fileupload-1.3.1.jar │ ├── src │ │ └── com │ │ │ └── baidu │ │ │ └── ueditor │ │ │ ├── define │ │ │ ├── ActionState.java │ │ │ ├── State.java │ │ │ ├── MIMEType.java │ │ │ ├── FileType.java │ │ │ └── ActionMap.java │ │ │ ├── Encoder.java │ │ │ └── upload │ │ │ ├── Uploader.java │ │ │ └── Base64Uploader.java │ └── controller.jsp │ ├── _src │ ├── ui │ │ ├── ui.js │ │ ├── breakline.js │ │ ├── separator.js │ │ ├── tablebutton.js │ │ ├── menubutton.js │ │ ├── multiMenu.js │ │ └── toolbar.js │ ├── plugins │ │ ├── scrawl.js │ │ ├── print.js │ │ ├── iframe.js │ │ ├── indent.js │ │ ├── preview.js │ │ ├── cleardoc.js │ │ ├── autosubmit.js │ │ ├── wordcount.js │ │ ├── selectall.js │ │ ├── insertparagraph.js │ │ ├── rowspacing.js │ │ ├── elementpath.js │ │ ├── lineheight.js │ │ ├── template.js │ │ ├── time.js │ │ └── convertcase.js │ ├── editor.js │ ├── adapter │ │ └── autosave.js │ ├── core │ │ ├── keymap.js │ │ └── Editor.defaultoptions.js │ └── api.js │ ├── lang │ ├── en │ │ └── images │ │ │ ├── copy.png │ │ │ ├── button.png │ │ │ ├── music.png │ │ │ ├── upload.png │ │ │ ├── addimage.png │ │ │ ├── background.png │ │ │ ├── localimage.png │ │ │ ├── deletedisable.png │ │ │ ├── deleteenable.png │ │ │ ├── listbackground.png │ │ │ ├── rotateleftenable.png │ │ │ ├── alldeletebtnupskin.png │ │ │ ├── rotateleftdisable.png │ │ │ ├── rotaterightdisable.png │ │ │ ├── rotaterightenable.png │ │ │ └── alldeletebtnhoverskin.png │ └── zh-cn │ │ └── images │ │ ├── copy.png │ │ ├── music.png │ │ ├── upload.png │ │ └── localimage.png │ ├── dialogs │ ├── emotion │ │ └── images │ │ │ ├── 0.gif │ │ │ ├── bface.gif │ │ │ ├── cface.gif │ │ │ ├── fface.gif │ │ │ ├── tface.gif │ │ │ ├── wface.gif │ │ │ ├── yface.gif │ │ │ ├── jxface2.gif │ │ │ └── neweditor-tab-bg.png │ ├── image │ │ └── images │ │ │ ├── bg.png │ │ │ ├── icons.gif │ │ │ ├── icons.png │ │ │ ├── image.png │ │ │ ├── progress.png │ │ │ ├── success.gif │ │ │ ├── success.png │ │ │ └── alignicon.jpg │ ├── table │ │ ├── dragicon.png │ │ ├── edittip.html │ │ ├── edittable.css │ │ └── edittd.html │ ├── video │ │ └── images │ │ │ ├── bg.png │ │ │ ├── icons.gif │ │ │ ├── icons.png │ │ │ ├── image.png │ │ │ ├── progress.png │ │ │ ├── success.gif │ │ │ ├── success.png │ │ │ ├── file-icons.gif │ │ │ ├── file-icons.png │ │ │ ├── left_focus.jpg │ │ │ ├── none_focus.jpg │ │ │ ├── center_focus.jpg │ │ │ └── right_focus.jpg │ ├── scrawl │ │ └── images │ │ │ ├── redo.png │ │ │ ├── size.png │ │ │ ├── undo.png │ │ │ ├── addimg.png │ │ │ ├── brush.png │ │ │ ├── delimg.png │ │ │ ├── delimgH.png │ │ │ ├── empty.png │ │ │ ├── emptyH.png │ │ │ ├── eraser.png │ │ │ ├── redoH.png │ │ │ ├── scale.png │ │ │ ├── scaleH.png │ │ │ └── undoH.png │ ├── template │ │ ├── images │ │ │ ├── bg.gif │ │ │ ├── pre0.png │ │ │ ├── pre1.png │ │ │ ├── pre2.png │ │ │ ├── pre3.png │ │ │ └── pre4.png │ │ ├── template.html │ │ ├── template.css │ │ └── template.js │ ├── attachment │ │ ├── images │ │ │ ├── bg.png │ │ │ ├── icons.gif │ │ │ ├── icons.png │ │ │ ├── image.png │ │ │ ├── progress.png │ │ │ ├── success.gif │ │ │ ├── success.png │ │ │ ├── alignicon.gif │ │ │ ├── alignicon.png │ │ │ ├── file-icons.gif │ │ │ └── file-icons.png │ │ └── fileTypeImages │ │ │ ├── icon_mv.gif │ │ │ ├── icon_chm.gif │ │ │ ├── icon_doc.gif │ │ │ ├── icon_exe.gif │ │ │ ├── icon_jpg.gif │ │ │ ├── icon_mp3.gif │ │ │ ├── icon_pdf.gif │ │ │ ├── icon_ppt.gif │ │ │ ├── icon_psd.gif │ │ │ ├── icon_rar.gif │ │ │ ├── icon_txt.gif │ │ │ ├── icon_xls.gif │ │ │ └── icon_default.png │ ├── background │ │ └── images │ │ │ ├── bg.png │ │ │ └── success.png │ ├── charts │ │ ├── images │ │ │ ├── charts0.png │ │ │ ├── charts1.png │ │ │ ├── charts2.png │ │ │ ├── charts3.png │ │ │ ├── charts4.png │ │ │ └── charts5.png │ │ └── chart.config.js │ ├── wordimage │ │ ├── imageUploader.swf │ │ └── fClipboard_ueditor.swf │ ├── help │ │ ├── help.css │ │ └── help.js │ ├── spechars │ │ └── spechars.html │ ├── music │ │ ├── music.html │ │ └── music.css │ ├── preview │ │ └── preview.html │ └── anchor │ │ └── anchor.html │ ├── third-party │ ├── video-js │ │ ├── font │ │ │ ├── vjs.eot │ │ │ ├── vjs.ttf │ │ │ └── vjs.woff │ │ └── video-js.swf │ ├── webuploader │ │ ├── Uploader.swf │ │ └── webuploader.css │ ├── zeroclipboard │ │ └── ZeroClipboard.swf │ ├── snapscreen │ │ └── UEditorSnapscreen.exe │ └── highcharts │ │ └── modules │ │ ├── heatmap.js │ │ ├── heatmap.src.js │ │ └── no-data-to-display.js │ ├── asp │ ├── action_config.asp │ ├── config_loader.asp │ ├── action_crawler.asp │ ├── action_upload.asp │ └── controller.asp │ ├── .editorconfig │ ├── net │ ├── App_Code │ │ ├── ConfigHandler.cs │ │ ├── NotSupportedHandler.cs │ │ ├── Config.cs │ │ └── Handler.cs │ └── Web.config │ ├── _examples │ ├── server │ │ ├── getContent.asp │ │ ├── getContent.php │ │ ├── getContent.jsp │ │ └── getContent.ashx │ ├── customizeDialogPage.html │ ├── renderInTable.html │ ├── textareaDemo.html │ ├── simpleDemo.html │ ├── addCustomizeButton.js │ ├── highlightDemo.html │ ├── multiDemo.html │ ├── setWidthHeightDemo.html │ ├── customizeToolbarUIDemo.html │ ├── addCustomizeDialog.js │ ├── jqueryCompleteDemo.html │ ├── submitFormDemo.html │ └── customPluginDemo.html │ ├── _parse │ ├── background.js │ ├── video.js │ └── insertcode.js │ ├── package.json │ ├── LICENSE │ └── php │ ├── action_crawler.php │ └── controller.php ├── src ├── assets │ └── logo.png ├── page │ └── user.vue ├── css │ └── index.css ├── main.js ├── App.vue ├── router │ └── index.js └── components │ ├── bar-heng.vue │ └── echarts │ └── index.vue ├── config ├── prod.env.js └── dev.env.js ├── .editorconfig ├── .gitignore ├── .babelrc ├── .postcssrc.js └── index.html /static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/ueditor/themes/iframe.css: -------------------------------------------------------------------------------- 1 | /*可以在这里添加你自己的css*/ 2 | -------------------------------------------------------------------------------- /static/ueditor/_test/tools/data/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/src/assets/logo.png -------------------------------------------------------------------------------- /config/prod.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = { 3 | NODE_ENV: '"production"' 4 | } 5 | -------------------------------------------------------------------------------- /static/ueditor/_test/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/ueditor/_test/tools/lib/jshunter_1.2.0.1/jshunter_dev/jshunter/conf/custcheck.conf: -------------------------------------------------------------------------------- 1 | [command] 2 | -------------------------------------------------------------------------------- /static/ueditor/_test/关键字.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/关键字.txt -------------------------------------------------------------------------------- /static/ueditor/20181107144530.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/20181107144530.png -------------------------------------------------------------------------------- /static/ueditor/_test/tools/coverage/cov.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | jscoverage.exe --encoding=UTF-8 ../../../_src ../../coverage -------------------------------------------------------------------------------- /static/ueditor/jsp/lib/json.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/jsp/lib/json.jar -------------------------------------------------------------------------------- /static/ueditor/_src/ui/ui.js: -------------------------------------------------------------------------------- 1 | var baidu = baidu || {}; 2 | baidu.editor = baidu.editor || {}; 3 | UE.ui = baidu.editor.ui = {}; -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/runC.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/tools/br/runC.php -------------------------------------------------------------------------------- /static/ueditor/_test/tools/lib/js.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/tools/lib/js.jar -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/copy.png -------------------------------------------------------------------------------- /static/ueditor/_test/tools/data/test.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/tools/data/test.JPG -------------------------------------------------------------------------------- /static/ueditor/jsp/lib/ueditor-1.1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/jsp/lib/ueditor-1.1.1.jar -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/button.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/music.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/upload.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/emotion/images/0.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/image/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/image/images/bg.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/table/dragicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/table/dragicon.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/video/images/bg.png -------------------------------------------------------------------------------- /static/ueditor/jsp/lib/commons-io-2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/jsp/lib/commons-io-2.4.jar -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/addimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/addimage.png -------------------------------------------------------------------------------- /static/ueditor/lang/zh-cn/images/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/zh-cn/images/copy.png -------------------------------------------------------------------------------- /static/ueditor/lang/zh-cn/images/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/zh-cn/images/music.png -------------------------------------------------------------------------------- /static/ueditor/lang/zh-cn/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/zh-cn/images/upload.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/image/images/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/image/images/icons.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/image/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/image/images/icons.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/image/images/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/image/images/image.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/scrawl/images/redo.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/size.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/scrawl/images/size.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/scrawl/images/undo.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/images/bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/template/images/bg.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/video/images/icons.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/video/images/icons.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/video/images/image.png -------------------------------------------------------------------------------- /static/ueditor/jsp/lib/commons-codec-1.9.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/jsp/lib/commons-codec-1.9.jar -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/background.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/localimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/localimage.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/lock.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/lock.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/word.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/word.gif -------------------------------------------------------------------------------- /static/ueditor/_test/tools/lib/npPlugintest.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/tools/lib/npPlugintest.dll -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/images/bg.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/background/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/background/images/bg.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/charts/images/charts0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/charts/images/charts0.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/charts/images/charts1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/charts/images/charts1.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/charts/images/charts2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/charts/images/charts2.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/charts/images/charts3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/charts/images/charts3.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/charts/images/charts4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/charts/images/charts4.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/charts/images/charts5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/charts/images/charts5.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/bface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/emotion/images/bface.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/cface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/emotion/images/cface.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/fface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/emotion/images/fface.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/tface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/emotion/images/tface.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/wface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/emotion/images/wface.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/yface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/emotion/images/yface.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/image/images/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/image/images/progress.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/image/images/success.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/image/images/success.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/image/images/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/image/images/success.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/addimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/scrawl/images/addimg.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/brush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/scrawl/images/brush.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/delimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/scrawl/images/delimg.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/delimgH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/scrawl/images/delimgH.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/scrawl/images/empty.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/emptyH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/scrawl/images/emptyH.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/eraser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/scrawl/images/eraser.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/redoH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/scrawl/images/redoH.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/scrawl/images/scale.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/scaleH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/scrawl/images/scaleH.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/undoH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/scrawl/images/undoH.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/images/pre0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/template/images/pre0.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/images/pre1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/template/images/pre1.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/images/pre2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/template/images/pre2.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/images/pre3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/template/images/pre3.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/images/pre4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/template/images/pre4.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/video/images/progress.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/success.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/video/images/success.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/video/images/success.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/deletedisable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/deletedisable.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/deleteenable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/deleteenable.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/listbackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/listbackground.png -------------------------------------------------------------------------------- /static/ueditor/lang/zh-cn/images/localimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/zh-cn/images/localimage.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/anchor.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/arrow.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/charts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/charts.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/icons.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/icons.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/loading.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/scale.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/spacer.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/upload.png -------------------------------------------------------------------------------- /static/ueditor/third-party/video-js/font/vjs.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/third-party/video-js/font/vjs.eot -------------------------------------------------------------------------------- /static/ueditor/third-party/video-js/font/vjs.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/third-party/video-js/font/vjs.ttf -------------------------------------------------------------------------------- /static/ueditor/third-party/video-js/video-js.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/third-party/video-js/video-js.swf -------------------------------------------------------------------------------- /static/ueditor/_test/testDesign/offical site.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/testDesign/offical site.xmind -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/css/bg_button_a.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/tools/br/css/bg_button_a.gif -------------------------------------------------------------------------------- /static/ueditor/_test/tools/coverage/jscoverage.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/tools/coverage/jscoverage.exe -------------------------------------------------------------------------------- /static/ueditor/_test/tools/lib/ant_tangram_ext.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/tools/lib/ant_tangram_ext.jar -------------------------------------------------------------------------------- /static/ueditor/_test/tools/lib/jshunter_1.2.0.1/jshunter_dev/jshunter/core/customcheck/cust.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo $1'***222***444***555***666' 4 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/images/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/images/icons.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/images/icons.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/images/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/images/image.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/jxface2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/emotion/images/jxface2.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/image/images/alignicon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/image/images/alignicon.jpg -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/file-icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/video/images/file-icons.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/file-icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/video/images/file-icons.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/left_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/video/images/left_focus.jpg -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/none_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/video/images/none_focus.jpg -------------------------------------------------------------------------------- /static/ueditor/dialogs/wordimage/imageUploader.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/wordimage/imageUploader.swf -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/rotateleftenable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/rotateleftenable.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/arrow_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/arrow_up.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/button-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/button-bg.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/cursor_h.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/cursor_h.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/cursor_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/cursor_h.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/cursor_v.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/cursor_v.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/cursor_v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/cursor_v.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/filescan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/filescan.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/icons-all.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/icons-all.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/loaderror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/loaderror.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/pagebreak.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/sortable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/sortable.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/videologo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/videologo.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/wordpaste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/wordpaste.png -------------------------------------------------------------------------------- /static/ueditor/third-party/video-js/font/vjs.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/third-party/video-js/font/vjs.woff -------------------------------------------------------------------------------- /static/ueditor/_test/coverage/jscoverage-throbber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/coverage/jscoverage-throbber.gif -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/css/bg_button_span.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/tools/br/css/bg_button_span.gif -------------------------------------------------------------------------------- /static/ueditor/_test/tools/lib/jslint4java-2.0.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/tools/lib/jslint4java-2.0.2.jar -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/images/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/images/progress.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/images/success.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/images/success.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/images/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/images/success.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/background/images/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/background/images/success.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/center_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/video/images/center_focus.jpg -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/right_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/video/images/right_focus.jpg -------------------------------------------------------------------------------- /static/ueditor/jsp/lib/commons-fileupload-1.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/jsp/lib/commons-fileupload-1.3.1.jar -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/alldeletebtnupskin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/alldeletebtnupskin.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/rotateleftdisable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/rotateleftdisable.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/rotaterightdisable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/rotaterightdisable.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/rotaterightenable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/rotaterightenable.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/arrow_down.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/cancelbutton.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/cancelbutton.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/highlighted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/highlighted.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/sparator_v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/sparator_v.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/toolbar_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/toolbar_bg.png -------------------------------------------------------------------------------- /static/ueditor/third-party/webuploader/Uploader.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/third-party/webuploader/Uploader.swf -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/js/UserAction manual.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/tools/br/js/UserAction manual.rar -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/images/alignicon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/images/alignicon.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/images/alignicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/images/alignicon.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/images/file-icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/images/file-icons.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/images/file-icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/images/file-icons.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/wordimage/fClipboard_ueditor.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/wordimage/fClipboard_ueditor.swf -------------------------------------------------------------------------------- /static/ueditor/jsp/src/com/baidu/ueditor/define/ActionState.java: -------------------------------------------------------------------------------- 1 | package com.baidu.ueditor.define; 2 | 3 | public enum ActionState { 4 | UNKNOW_ERROR 5 | } 6 | -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/alldeletebtnhoverskin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/lang/en/images/alldeletebtnhoverskin.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/unhighlighted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/unhighlighted.gif -------------------------------------------------------------------------------- /static/ueditor/_test/testDesign/VersionUpdate/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/testDesign/VersionUpdate/readme.txt -------------------------------------------------------------------------------- /static/ueditor/_test/tools/lib/jslint4java-ant-1.4.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/tools/lib/jslint4java-ant-1.4.2.jar -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/neweditor-tab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/emotion/images/neweditor-tab-bg.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/dialog-title-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/dialog-title-bg.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/neweditor-tab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/neweditor-tab-bg.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/table-cell-align.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/table-cell-align.png -------------------------------------------------------------------------------- /static/ueditor/third-party/zeroclipboard/ZeroClipboard.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/third-party/zeroclipboard/ZeroClipboard.swf -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/tangram-colorpicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/themes/default/images/tangram-colorpicker.png -------------------------------------------------------------------------------- /static/ueditor/third-party/snapscreen/UEditorSnapscreen.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/third-party/snapscreen/UEditorSnapscreen.exe -------------------------------------------------------------------------------- /static/ueditor/_test/testDesign/Manual regression cases.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/testDesign/Manual regression cases.xmind -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/coverage/jscoverage-throbber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/tools/br/coverage/jscoverage-throbber.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/dialogs/attachment/fileTypeImages/icon_default.png -------------------------------------------------------------------------------- /static/ueditor/_test/testDesign/VersionUpdate/test list for 1.3.0.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/testDesign/VersionUpdate/test list for 1.3.0.xmind -------------------------------------------------------------------------------- /static/ueditor/_test/testDesign/VersionUpdate/test list for 1.3.6.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/testDesign/VersionUpdate/test list for 1.3.6.xmind -------------------------------------------------------------------------------- /static/ueditor/_test/testDesign/VersionUpdate/test list for 1.4.0.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/testDesign/VersionUpdate/test list for 1.4.0.xmind -------------------------------------------------------------------------------- /static/ueditor/_test/testDesign/VersionUpdate/test list for 1.4.3.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/testDesign/VersionUpdate/test list for 1.4.3.xmind -------------------------------------------------------------------------------- /config/dev.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const merge = require('webpack-merge') 3 | const prodEnv = require('./prod.env') 4 | 5 | module.exports = merge(prodEnv, { 6 | NODE_ENV: '"development"' 7 | }) 8 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /static/ueditor/_test/testDesign/8eaccbef76094b364e2cfddaa1cc7cd98d109d49.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/testDesign/8eaccbef76094b364e2cfddaa1cc7cd98d109d49.jpg -------------------------------------------------------------------------------- /static/ueditor/_test/tools/lib/jshunter_1.2.0.1/jshunter_dev/jshunter/version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/tools/lib/jshunter_1.2.0.1/jshunter_dev/jshunter/version -------------------------------------------------------------------------------- /static/ueditor/_test/tools/lib/jshunter_1.2.0.1/jshunter_dev/jshunter/core/jshint/js.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javanf/testadmin/HEAD/static/ueditor/_test/tools/lib/jshunter_1.2.0.1/jshunter_dev/jshunter/core/jshint/js.jar -------------------------------------------------------------------------------- /static/ueditor/asp/action_config.asp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <% 5 | Set json = new ASPJson 6 | Set json.data = config 7 | 8 | json.PrintJson() 9 | %> -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | /dist/ 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Editor directories and files 9 | .idea 10 | .vscode 11 | *.suo 12 | *.ntvs* 13 | *.njsproj 14 | *.sln 15 | -------------------------------------------------------------------------------- /static/ueditor/_test/ui/css/DEFAULT.css: -------------------------------------------------------------------------------- 1 | /* common layer */ 2 | .cssloaded { 3 | width: 20px; 4 | } 5 | /* for IE6 fixed */ 6 | body { 7 | background: url('about:blank') fixed; 8 | } 9 | 10 | .edui-editor { 11 | width: 843px; 12 | } 13 | -------------------------------------------------------------------------------- /static/ueditor/themes/default/css/colorbutton.css: -------------------------------------------------------------------------------- 1 | /*颜色按钮 */ 2 | .edui-default .edui-toolbar .edui-colorbutton .edui-colorlump { 3 | position: absolute; 4 | overflow: hidden; 5 | bottom: 1px; 6 | left: 1px; 7 | width: 18px; 8 | height: 4px; 9 | } -------------------------------------------------------------------------------- /static/ueditor/_test/tools/data/frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 10 | -------------------------------------------------------------------------------- /static/ueditor/themes/default/css/shortcutmenu.css: -------------------------------------------------------------------------------- 1 | /*弹出菜单*/ 2 | .edui-default .edui-shortcutmenu { 3 | padding: 2px; 4 | width: 190px; 5 | height: 50px; 6 | background-color: #fff; 7 | border: 1px solid #ccc; 8 | border-radius: 5px; 9 | } 10 | -------------------------------------------------------------------------------- /static/ueditor/_test/tools/lib/jshunter_1.2.0.1/jshunter_dev/jshunter/conf/omitfiles.conf: -------------------------------------------------------------------------------- 1 | #[config format]:REGULAR:true|false,true means set filtering enabeld and false means not 2 | #notice:REGULAR will be set in the command "find /top/dir -name REGULAR" 3 | [omitfils] 4 | *data*:true 5 | -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["env", { 4 | "modules": false, 5 | "targets": { 6 | "browsers": ["> 1%", "last 2 versions", "not ie <= 8"] 7 | } 8 | }], 9 | "stage-2" 10 | ], 11 | "plugins": ["transform-vue-jsx", "transform-runtime"] 12 | } 13 | -------------------------------------------------------------------------------- /static/ueditor/themes/default/css/separtor.css: -------------------------------------------------------------------------------- 1 | /*分隔线*/ 2 | .edui-default .edui-toolbar .edui-separator { 3 | width: 2px; 4 | height: 20px; 5 | margin: 2px 4px 2px 3px; 6 | background: url(../images/icons.png) -181px 0; 7 | background: url(../images/icons.gif) -181px 0 \9; 8 | } 9 | -------------------------------------------------------------------------------- /.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | "plugins": { 5 | "postcss-import": {}, 6 | "postcss-url": {}, 7 | // to edit target browsers: use "browserslist" field in package.json 8 | "autoprefixer": {} 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /static/ueditor/_test/ui/mask.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by JetBrains PhpStorm. 3 | * User: dongyancen 4 | * Date: 12-4-12 5 | * Time: 下午4:45 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | module( 'ui.mask' ); 9 | test( '', function() { 10 | equal('','',''); 11 | } ); -------------------------------------------------------------------------------- /static/ueditor/_test/ui/uibase.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by JetBrains PhpStorm. 3 | * User: dongyancen 4 | * Date: 12-4-12 5 | * Time: 下午4:46 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | module( 'ui.uibase' ); 9 | test( '', function() { 10 | equal('','',''); 11 | } ); -------------------------------------------------------------------------------- /static/ueditor/_test/ui/uiutils.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by JetBrains PhpStorm. 3 | * User: dongyancen 4 | * Date: 12-4-12 5 | * Time: 下午4:46 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | module( 'ui.uiutils' ); 9 | test( '', function() { 10 | equal('','',''); 11 | } ); -------------------------------------------------------------------------------- /static/ueditor/_test/ui/editorui.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by JetBrains PhpStorm. 3 | * User: dongyancen 4 | * Date: 12-4-12 5 | * Time: 下午4:45 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | module( 'ui.editorui' ); 9 | test( '', function() { 10 | equal('','',''); 11 | } ); -------------------------------------------------------------------------------- /static/ueditor/_test/ui/separator.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by JetBrains PhpStorm. 3 | * User: dongyancen 4 | * Date: 12-4-12 5 | * Time: 下午4:46 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | module( 'ui.separator' ); 9 | test( '', function() { 10 | equal('','',''); 11 | } ); -------------------------------------------------------------------------------- /static/ueditor/_test/ui/stateful.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by JetBrains PhpStorm. 3 | * User: dongyancen 4 | * Date: 12-4-12 5 | * Time: 下午4:46 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | module( 'ui.stateful' ); 9 | test( '', function() { 10 | equal('','',''); 11 | } ); -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/scrawl.js: -------------------------------------------------------------------------------- 1 | ///import core 2 | ///commands 涂鸦 3 | ///commandsName Scrawl 4 | ///commandsTitle 涂鸦 5 | ///commandsDialog dialogs\scrawl 6 | UE.commands['scrawl'] = { 7 | queryCommandState : function(){ 8 | return ( browser.ie && browser.version <= 8 ) ? -1 :0; 9 | } 10 | }; 11 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | testadmin 7 | 8 | 9 |
10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/read.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/ueditor/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | # Unix-style newlines with a newline ending every file 4 | [*] 5 | end_of_line = lf 6 | insert_final_newline = true 7 | charset = utf-8 8 | 9 | [*.{html,js,css,scss,xml}] 10 | indent_style = space 11 | indent_size = 4 12 | trim_trailing_whitespace = true 13 | 14 | [*.yml] 15 | indent_style = space 16 | indent_size = 2 -------------------------------------------------------------------------------- /static/ueditor/_test/plugins/autoupload.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by JetBrains PhpStorm. 3 | * User: Jinqn 4 | * Date: 13-10-29 5 | * Time: 下午5:14 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | module('plugins.autoupload'); 9 | 10 | test('拖放图片上传',function(){ 11 | equal('',''); 12 | }); 13 | 14 | test('粘贴QQ截图',function(){ 15 | equal('',''); 16 | }); 17 | -------------------------------------------------------------------------------- /static/ueditor/_test/tools/data/testReady.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /static/ueditor/_src/editor.js: -------------------------------------------------------------------------------- 1 | UEDITOR_CONFIG = window.UEDITOR_CONFIG || {}; 2 | 3 | var baidu = window.baidu || {}; 4 | 5 | window.baidu = baidu; 6 | 7 | window.UE = baidu.editor = window.UE || {}; 8 | 9 | UE.plugins = {}; 10 | 11 | UE.commands = {}; 12 | 13 | UE.instants = {}; 14 | 15 | UE.I18N = {}; 16 | 17 | UE._customizeUI = {}; 18 | 19 | UE.version = "1.4.3"; 20 | 21 | var dom = UE.dom = {}; -------------------------------------------------------------------------------- /src/page/user.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 16 | 17 | 20 | -------------------------------------------------------------------------------- /static/ueditor/jsp/src/com/baidu/ueditor/define/State.java: -------------------------------------------------------------------------------- 1 | package com.baidu.ueditor.define; 2 | 3 | /** 4 | * 处理状态接口 5 | * @author hancong03@baidu.com 6 | * 7 | */ 8 | public interface State { 9 | 10 | public boolean isSuccess (); 11 | 12 | public void putInfo( String name, String val ); 13 | 14 | public void putInfo ( String name, long val ); 15 | 16 | public String toJSONString (); 17 | 18 | } 19 | -------------------------------------------------------------------------------- /static/ueditor/net/App_Code/ConfigHandler.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | 6 | /// 7 | /// Config 的摘要说明 8 | /// 9 | public class ConfigHandler : Handler 10 | { 11 | public ConfigHandler(HttpContext context) : base(context) { } 12 | 13 | public override void Process() 14 | { 15 | WriteJson(Config.Items); 16 | } 17 | } -------------------------------------------------------------------------------- /static/ueditor/dialogs/help/help.css: -------------------------------------------------------------------------------- 1 | .wrapper{width: 370px;margin: 10px auto;zoom: 1;} 2 | .tabbody{height: 360px;} 3 | .tabbody .panel{width:100%;height: 360px;position: absolute;background: #fff;} 4 | .tabbody .panel h1{font-size:26px;margin: 5px 0 0 5px;} 5 | .tabbody .panel p{font-size:12px;margin: 5px 0 0 5px;} 6 | .tabbody table{width:90%;line-height: 20px;margin: 5px 0 0 5px;;} 7 | .tabbody table thead{font-weight: bold;line-height: 25px;} -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/print.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 打印 3 | * @file 4 | * @since 1.2.6.1 5 | */ 6 | 7 | /** 8 | * 打印 9 | * @command print 10 | * @method execCommand 11 | * @param { String } cmd 命令字符串 12 | * @example 13 | * ```javascript 14 | * editor.execCommand( 'print' ); 15 | * ``` 16 | */ 17 | UE.commands['print'] = { 18 | execCommand : function(){ 19 | this.window.print(); 20 | }, 21 | notNeedUndo : 1 22 | }; 23 | 24 | -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/lib/StafResult.php: -------------------------------------------------------------------------------- 1 | rc = $rc; 9 | $this->info = $info; 10 | } 11 | 12 | public function __toString() 13 | { 14 | return "return code : ".$rc.", return info : ".$info."\n"; 15 | } 16 | 17 | public static function parse($result){ 18 | return new StafResult(0, $result); 19 | } 20 | }?> -------------------------------------------------------------------------------- /static/ueditor/jsp/controller.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | import="com.baidu.ueditor.ActionEnter" 3 | pageEncoding="UTF-8"%> 4 | <%@ page trimDirectiveWhitespaces="true" %> 5 | <% 6 | 7 | request.setCharacterEncoding( "utf-8" ); 8 | response.setHeader("Content-Type" , "text/html"); 9 | 10 | String rootPath = application.getRealPath( "/" ); 11 | 12 | out.write( new ActionEnter( request, rootPath ).exec() ); 13 | 14 | %> -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/iframe.js: -------------------------------------------------------------------------------- 1 | ///import core 2 | ///import plugins\inserthtml.js 3 | ///commands 插入框架 4 | ///commandsName InsertFrame 5 | ///commandsTitle 插入Iframe 6 | ///commandsDialog dialogs\insertframe 7 | 8 | UE.plugins['insertframe'] = function() { 9 | var me =this; 10 | function deleteIframe(){ 11 | me._iframe && delete me._iframe; 12 | } 13 | 14 | me.addListener("selectionchange",function(){ 15 | deleteIframe(); 16 | }); 17 | 18 | }; 19 | 20 | -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/batchrun.sh: -------------------------------------------------------------------------------- 1 | /home/work/.bash_profile 2 | cd /home/work/repos/Tangram-base 3 | /home/work/soft/git-1.7.3.5/bin-wrappers/git pull 4 | sh release/output.sh 5 | rm -rf test/tools/br/report 6 | wget -q -O /tmp/tmp.php http://10.32.34.115:8000/Tangram-base/test/tools/br/runall.php?clearreport=true&cov=true 7 | sleep 3m 8 | rm -rf test/tools/br/report 9 | wget -q -O /tmp/tmp.php http://10.32.34.115:8000/Tangram-base/test/tools/br/runall.php?release=true&clearreport=true 10 | cd - -------------------------------------------------------------------------------- /static/ueditor/_examples/server/getContent.asp: -------------------------------------------------------------------------------- 1 | <% @LANGUAGE="VBSCRIPT" CODEPAGE="65001" %> 2 | 3 | 4 | 10 | <% 11 | Dim content 12 | content = Request.Form("myEditor") 13 | Response.Write("第1个编辑器的值") 14 | Response.Write("
" + content + "
") 15 | %> -------------------------------------------------------------------------------- /static/ueditor/_test/plugins/scrawl.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created with JetBrains PhpStorm. 3 | * User: luqiong 4 | * Date: 12-11-13 5 | * Time: 下午2:13 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | 9 | module( 'plugins.scrawl' ); 10 | test( '检查高亮', function() { 11 | var editor = te.obj[0]; 12 | editor.focus(); 13 | equal( editor.queryCommandState( 'scrawl' ), ( browser.ie && browser.version <= 8 ) ? -1:0, 'check scrawl state' ); 14 | } ); 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /static/ueditor/net/Web.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /static/ueditor/_test/plugins/print.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by JetBrains PhpStorm. 3 | * User: dongyancen 4 | * Date: 12-9-28 5 | * Time: 下午1:34 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | module('plugins.print'); 9 | 10 | test('print',function(){ 11 | // var editor = te.obj[0]; 12 | // var html = '

for print

'; 13 | // editor.setContent(html); 14 | // editor.execCommand('print'); 15 | // equal(editor.body.innerHTML,html,'打印不会对页面代码产生影响'); 16 | equal('',''); 17 | }); 18 | -------------------------------------------------------------------------------- /src/css/index.css: -------------------------------------------------------------------------------- 1 | .layout{ 2 | width: 100%; 3 | } 4 | .el-menu-top{ 5 | height: 60px; 6 | } 7 | .el-container{ 8 | position: absolute; 9 | width: 100%; 10 | top: 0px ; 11 | left: 0 ; 12 | bottom: 0; 13 | } 14 | .el-header{ 15 | padding: 0; 16 | z-index: 1000; 17 | } 18 | .el-aside, .el-main{ 19 | margin-top: 60px; 20 | } 21 | .el-menu-vertical-left{ 22 | width: 210px; 23 | background: #545c64; 24 | height: 100%; 25 | float: left; 26 | } 27 | .el-menu.el-menu--horizontal{ 28 | border-bottom: none; 29 | } -------------------------------------------------------------------------------- /static/ueditor/_parse/background.js: -------------------------------------------------------------------------------- 1 | UE.parse.register('background', function (utils) { 2 | var me = this, 3 | root = me.root, 4 | p = root.getElementsByTagName('p'), 5 | styles; 6 | 7 | for (var i = 0,ci; ci = p[i++];) { 8 | styles = ci.getAttribute('data-background'); 9 | if (styles){ 10 | ci.parentNode.removeChild(ci); 11 | } 12 | } 13 | 14 | //追加默认的表格样式 15 | styles && utils.cssRule('ueditor_background', me.selector + '{' + styles + '}', document); 16 | }); -------------------------------------------------------------------------------- /static/ueditor/themes/default/css/toolbar.css: -------------------------------------------------------------------------------- 1 | /* 工具栏 */ 2 | .edui-default .edui-toolbar { 3 | cursor: default; 4 | -webkit-user-select: none; 5 | -moz-user-select: none; 6 | padding: 1px; 7 | overflow: hidden; /*全屏下单独一行不占位*/ 8 | zoom: 1; 9 | width:auto; 10 | height:auto; 11 | } 12 | 13 | .edui-default .edui-toolbar .edui-button, 14 | .edui-default .edui-toolbar .edui-splitbutton, 15 | .edui-default .edui-toolbar .edui-menubutton, 16 | .edui-default .edui-toolbar .edui-combox { 17 | margin: 1px; 18 | } -------------------------------------------------------------------------------- /static/ueditor/jsp/src/com/baidu/ueditor/Encoder.java: -------------------------------------------------------------------------------- 1 | package com.baidu.ueditor; 2 | 3 | public class Encoder { 4 | 5 | public static String toUnicode ( String input ) { 6 | 7 | StringBuilder builder = new StringBuilder(); 8 | char[] chars = input.toCharArray(); 9 | 10 | for ( char ch : chars ) { 11 | 12 | if ( ch < 256 ) { 13 | builder.append( ch ); 14 | } else { 15 | builder.append( "\\u" + Integer.toHexString( ch& 0xffff ) ); 16 | } 17 | 18 | } 19 | 20 | return builder.toString(); 21 | 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /static/ueditor/net/App_Code/NotSupportedHandler.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | 6 | /// 7 | /// NotSupportedHandler 的摘要说明 8 | /// 9 | public class NotSupportedHandler : Handler 10 | { 11 | public NotSupportedHandler(HttpContext context) 12 | : base(context) 13 | { 14 | } 15 | 16 | public override void Process() 17 | { 18 | WriteJson(new 19 | { 20 | state = "action 参数为空或者 action 不被支持。" 21 | }); 22 | } 23 | } -------------------------------------------------------------------------------- /static/ueditor/_src/adapter/autosave.js: -------------------------------------------------------------------------------- 1 | UE.registerUI('autosave', function(editor) { 2 | var timer = null,uid = null; 3 | editor.on('afterautosave',function(){ 4 | clearTimeout(timer); 5 | 6 | timer = setTimeout(function(){ 7 | if(uid){ 8 | editor.trigger('hidemessage',uid); 9 | } 10 | uid = editor.trigger('showmessage',{ 11 | content : editor.getLang('autosave.success'), 12 | timeout : 2000 13 | }); 14 | 15 | },2000) 16 | }) 17 | 18 | }); 19 | -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/geneHistory.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/ueditor/third-party/highcharts/modules/heatmap.js: -------------------------------------------------------------------------------- 1 | (function(b){var k=b.seriesTypes,l=b.each;k.heatmap=b.extendClass(k.map,{colorKey:"z",useMapGeometry:!1,pointArrayMap:["y","z"],translate:function(){var c=this,b=c.options,i=Number.MAX_VALUE,j=Number.MIN_VALUE;c.generatePoints();l(c.data,function(a){var e=a.x,f=a.y,d=a.z,g=(b.colsize||1)/2,h=(b.rowsize||1)/2;a.path=["M",e-g,f-h,"L",e+g,f-h,"L",e+g,f+h,"L",e-g,f+h,"Z"];a.shapeType="path";a.shapeArgs={d:c.translatePath(a.path)};typeof d==="number"&&(d>j?j=d:d h(App) 21 | }); 22 | 23 | -------------------------------------------------------------------------------- /static/ueditor/_test/tools/data/frame.php: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | "; 10 | else 11 | print ""; 12 | ?> 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /static/ueditor/_test/tools/lib/jshunter_1.2.0.1/jshunter_dev/jshunter/conf/ignore.list: -------------------------------------------------------------------------------- 1 | #there 3 level:ignore warning error 2 | [level] 3 | Unsafe character=ignore 4 | Mixed spaces and tabs=warning 5 | Too many var statements=ignore 6 | Unclosed string=ignore 7 | Missing semicolon=error 8 | Unexpected dangling=ignore 9 | to compare with=ignore 10 | is not defined=ignore 11 | Unexpected dangling=ignore 12 | A constructor name should start with an uppercase letter=warning 13 | Expected an assignment or function call and instead saw an expression=warning 14 | Mixed spaces and tabs=ignore 15 | -------------------------------------------------------------------------------- /static/ueditor/jsp/src/com/baidu/ueditor/define/MIMEType.java: -------------------------------------------------------------------------------- 1 | package com.baidu.ueditor.define; 2 | 3 | import java.util.HashMap; 4 | import java.util.Map; 5 | 6 | public class MIMEType { 7 | 8 | public static final Map types = new HashMap(){{ 9 | put( "image/gif", ".gif" ); 10 | put( "image/jpeg", ".jpg" ); 11 | put( "image/jpg", ".jpg" ); 12 | put( "image/png", ".png" ); 13 | put( "image/bmp", ".bmp" ); 14 | }}; 15 | 16 | public static String getSuffix ( String mime ) { 17 | return MIMEType.types.get( mime ); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /static/ueditor/_examples/server/getContent.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | ".htmlspecialchars_decode($content).""; 20 | -------------------------------------------------------------------------------- /static/ueditor/themes/default/css/autotypesetpicker.css: -------------------------------------------------------------------------------- 1 | /*自动排版弹出菜单*/ 2 | .edui-default .edui-autotypesetpicker .edui-autotypesetpicker-body { 3 | font-size: 12px; 4 | margin-bottom: 3px; 5 | clear: both; 6 | } 7 | 8 | .edui-default .edui-autotypesetpicker-body table { 9 | border-collapse: separate; 10 | border-spacing: 2px; 11 | } 12 | 13 | .edui-default .edui-autotypesetpicker-body td { 14 | font-size: 12px; 15 | word-wrap:break-word; 16 | } 17 | 18 | .edui-default .edui-autotypesetpicker-body td input { 19 | margin: 3px 3px 3px 4px; 20 | *margin: 1px 0 0 0; 21 | } -------------------------------------------------------------------------------- /static/ueditor/_src/ui/breakline.js: -------------------------------------------------------------------------------- 1 | (function (){ 2 | var utils = baidu.editor.utils, 3 | UIBase = baidu.editor.ui.UIBase, 4 | Breakline = baidu.editor.ui.Breakline = function (options){ 5 | this.initOptions(options); 6 | this.initSeparator(); 7 | }; 8 | Breakline.prototype = { 9 | uiName: 'Breakline', 10 | initSeparator: function (){ 11 | this.initUIBase(); 12 | }, 13 | getHtmlTpl: function (){ 14 | return '
'; 15 | } 16 | }; 17 | utils.inherits(Breakline, UIBase); 18 | 19 | })(); 20 | -------------------------------------------------------------------------------- /static/ueditor/_src/ui/separator.js: -------------------------------------------------------------------------------- 1 | (function (){ 2 | var utils = baidu.editor.utils, 3 | UIBase = baidu.editor.ui.UIBase, 4 | Separator = baidu.editor.ui.Separator = function (options){ 5 | this.initOptions(options); 6 | this.initSeparator(); 7 | }; 8 | Separator.prototype = { 9 | uiName: 'separator', 10 | initSeparator: function (){ 11 | this.initUIBase(); 12 | }, 13 | getHtmlTpl: function (){ 14 | return '
'; 15 | } 16 | }; 17 | utils.inherits(Separator, UIBase); 18 | 19 | })(); 20 | -------------------------------------------------------------------------------- /static/ueditor/asp/config_loader.asp: -------------------------------------------------------------------------------- 1 | <% 2 | Set json = new ASPJson 3 | Set fso = Server.CreateObject("Scripting.FileSystemObject") 4 | 5 | Set stream = Server.CreateObject("ADODB.Stream") 6 | 7 | stream.Open() 8 | stream.Charset = "UTF-8" 9 | stream.LoadFromFile Server.MapPath( "config.json" ) 10 | 11 | content = stream.ReadText() 12 | 13 | Set commentPattern = new RegExp 14 | commentPattern.Multiline = true 15 | commentPattern.Pattern = "/\*[\s\S]+?\*/" 16 | commentPattern.Global = true 17 | content = commentPattern.Replace(content, "") 18 | json.loadJSON( content ) 19 | 20 | Set config = json.data 21 | %> -------------------------------------------------------------------------------- /static/ueditor/_test/tools/lib/jshunter_1.2.0.1/jshunter_dev/jshunter/core/tpl/htmlpart.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
{$title}
4 |
5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | [---to be replaced 2---] 14 | 15 |
-------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 14 | 15 | 38 | -------------------------------------------------------------------------------- /static/ueditor/_examples/server/getContent.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> 2 | 3 | 4 | 9 | <% 10 | request.setCharacterEncoding("utf-8"); 11 | response.setCharacterEncoding("utf-8"); 12 | String content = request.getParameter("myEditor"); 13 | 14 | 15 | 16 | response.getWriter().print("第1个编辑器的值"); 17 | response.getWriter().print("
"+content+"
"); 18 | 19 | %> -------------------------------------------------------------------------------- /static/ueditor/third-party/webuploader/webuploader.css: -------------------------------------------------------------------------------- 1 | .webuploader-container { 2 | position: relative; 3 | } 4 | .webuploader-element-invisible { 5 | position: absolute !important; 6 | clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 7 | clip: rect(1px,1px,1px,1px); 8 | } 9 | .webuploader-pick { 10 | position: relative; 11 | display: inline-block; 12 | cursor: pointer; 13 | background: #00b7ee; 14 | padding: 10px 15px; 15 | color: #fff; 16 | text-align: center; 17 | border-radius: 3px; 18 | overflow: hidden; 19 | } 20 | .webuploader-pick-hover { 21 | background: #00a2d4; 22 | } 23 | 24 | .webuploader-pick-disable { 25 | opacity: 0.6; 26 | pointer-events:none; 27 | } 28 | 29 | -------------------------------------------------------------------------------- /static/ueditor/_test/plugins/serverparam.js: -------------------------------------------------------------------------------- 1 | module( 'plugins.serverparam' ); 2 | 3 | test( '检查是否能正常设置参数', function () { 4 | var editor = te.obj[0]; 5 | 6 | editor.execCommand('serverparam', {"a": 1, "b": 2}); 7 | same( editor.queryCommandValue('serverparam'), {"a": 1, "b": 2}, '传入对象设置参数'); 8 | 9 | editor.execCommand('serverparam', "c", 3); 10 | same( editor.queryCommandValue('serverparam'), {"a": 1, "b": 2, "c": 3}, '传入键和值设置参数'); 11 | 12 | editor.execCommand('serverparam', "c"); 13 | same( editor.queryCommandValue('serverparam'), {"a": 1, "b": 2}, '传入键删除参数'); 14 | 15 | editor.execCommand('serverparam'); 16 | same( editor.queryCommandValue('serverparam'), {}, '不传参数,清空参数表'); 17 | } ); -------------------------------------------------------------------------------- /static/ueditor/_test/plugins/insertparagraph.js: -------------------------------------------------------------------------------- 1 | module( 'plugins.insertparagraph' ); 2 | 3 | test( '插入空行', function() { 4 | var editor = te.obj[0]; 5 | var range = te.obj[1]; 6 | var body = editor.body; 7 | editor.setContent( 'hello' ); 8 | range.setStart( body.firstChild, 0 ).collapse( 1 ).select(); 9 | editor.execCommand( 'insertparagraph', true ); 10 | var br = ua.browser.ie?'':'
' 11 | equal( ua.getChildHTML( body ), '

'+br+'

hello

', '插入空行' ); 12 | range.setStart( body.firstChild.nextSibling, 0 ).collapse( 1 ).select(); 13 | editor.execCommand( 'insertparagraph', false ); 14 | equal( ua.getChildHTML( body ), '

'+br+'

hello

'+br+'

', '' ); 15 | } ); -------------------------------------------------------------------------------- /static/ueditor/_src/core/keymap.js: -------------------------------------------------------------------------------- 1 | var keymap = UE.keymap = { 2 | 'Backspace' : 8, 3 | 'Tab' : 9, 4 | 'Enter' : 13, 5 | 6 | 'Shift':16, 7 | 'Control':17, 8 | 'Alt':18, 9 | 'CapsLock':20, 10 | 11 | 'Esc':27, 12 | 13 | 'Spacebar':32, 14 | 15 | 'PageUp':33, 16 | 'PageDown':34, 17 | 'End':35, 18 | 'Home':36, 19 | 20 | 'Left':37, 21 | 'Up':38, 22 | 'Right':39, 23 | 'Down':40, 24 | 25 | 'Insert':45, 26 | 27 | 'Del':46, 28 | 29 | 'NumLock':144, 30 | 31 | 'Cmd':91, 32 | 33 | '=':187, 34 | '-':189, 35 | 36 | "b":66, 37 | 'i':73, 38 | //回退 39 | 'z':90, 40 | 'y':89, 41 | //粘贴 42 | 'v' : 86, 43 | 'x' : 88, 44 | 45 | 's' : 83, 46 | 47 | 'n' : 78 48 | }; -------------------------------------------------------------------------------- /static/ueditor/jsp/src/com/baidu/ueditor/define/FileType.java: -------------------------------------------------------------------------------- 1 | package com.baidu.ueditor.define; 2 | 3 | import java.util.HashMap; 4 | import java.util.Map; 5 | 6 | public class FileType { 7 | 8 | public static final String JPG = "JPG"; 9 | 10 | private static final Map types = new HashMap(){{ 11 | 12 | put( FileType.JPG, ".jpg" ); 13 | 14 | }}; 15 | 16 | public static String getSuffix ( String key ) { 17 | return FileType.types.get( key ); 18 | } 19 | 20 | /** 21 | * 根据给定的文件名,获取其后缀信息 22 | * @param filename 23 | * @return 24 | */ 25 | public static String getSuffixByFilename ( String filename ) { 26 | 27 | return filename.substring( filename.lastIndexOf( "." ) ).toLowerCase(); 28 | 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /static/ueditor/themes/default/css/multiMenu.css: -------------------------------------------------------------------------------- 1 | /*表情按钮及弹出菜单*/ 2 | /*去除了表情的下拉箭头*/ 3 | .edui-default .edui-for-emotion .edui-icon { 4 | background-position: -60px -20px; 5 | } 6 | .edui-default .edui-for-emotion .edui-popup-content iframe 7 | { 8 | width: 514px; 9 | height: 380px; 10 | overflow: hidden; 11 | } 12 | .edui-default .edui-for-emotion .edui-popup-content 13 | { 14 | position: relative; 15 | z-index: 555 16 | } 17 | 18 | .edui-default .edui-for-emotion .edui-splitborder { 19 | display: none 20 | } 21 | 22 | .edui-default .edui-for-emotion .edui-splitbutton-body .edui-arrow 23 | { 24 | width: 0 25 | } 26 | .edui-default .edui-toolbar .edui-for-emotion .edui-state-active .edui-splitborder 27 | { 28 | border-left: 1px solid transparent; 29 | } -------------------------------------------------------------------------------- /static/ueditor/themes/default/css/contextmenu.css: -------------------------------------------------------------------------------- 1 | /*contextmenu*/ 2 | .edui-default .edui-hassubmenu .edui-arrow { 3 | height: 20px; 4 | width: 20px; 5 | float: right; 6 | background: url("../images/icons-all.gif") no-repeat 10px -233px; 7 | } 8 | 9 | .edui-default .edui-menu-body .edui-menuitem { 10 | padding: 1px; 11 | } 12 | 13 | .edui-default .edui-menuseparator { 14 | margin: 2px 0; 15 | height: 1px; 16 | overflow: hidden; 17 | } 18 | 19 | .edui-default .edui-menuseparator-inner { 20 | border-bottom: 1px solid #e2e3e3; 21 | margin-left: 29px; 22 | margin-right: 1px; 23 | } 24 | 25 | .edui-default .edui-menu-body .edui-state-hover { 26 | padding: 0 !important; 27 | background-color: #fff5d4; 28 | border: 1px solid #dcac6c; 29 | } -------------------------------------------------------------------------------- /static/ueditor/_examples/customizeDialogPage.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |

测试页面

11 |
12 | 13 | 14 | 15 | 24 | 25 | -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/indent.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 首行缩进 3 | * @file 4 | * @since 1.2.6.1 5 | */ 6 | 7 | /** 8 | * 缩进 9 | * @command indent 10 | * @method execCommand 11 | * @param { String } cmd 命令字符串 12 | * @example 13 | * ```javascript 14 | * editor.execCommand( 'indent' ); 15 | * ``` 16 | */ 17 | UE.commands['indent'] = { 18 | execCommand : function() { 19 | var me = this,value = me.queryCommandState("indent") ? "0em" : (me.options.indentValue || '2em'); 20 | me.execCommand('Paragraph','p',{style:'text-indent:'+ value}); 21 | }, 22 | queryCommandState : function() { 23 | var pN = domUtils.filterNodeList(this.selection.getStartElementPath(),'p h1 h2 h3 h4 h5 h6'); 24 | return pN && pN.style.textIndent && parseInt(pN.style.textIndent) ? 1 : 0; 25 | } 26 | 27 | }; 28 | -------------------------------------------------------------------------------- /static/ueditor/_test/core/plugin.js: -------------------------------------------------------------------------------- 1 | module( 'core.plugin' ); 2 | 3 | test( 'register', function() { 4 | UE.plugin.register('test',function(){ 5 | this.testplugin = true; 6 | }); 7 | $('
').appendTo(document.body); 8 | var editor = UE.getEditor('ue'); 9 | stop(); 10 | editor.ready(function () { 11 | ok(this.testplugin); 12 | editor.destroy(); 13 | $('#ue').remove() 14 | start(); 15 | }); 16 | }); 17 | test( 'load', function() { 18 | UE.plugin.register('test',function(){ 19 | this.testplugin = true; 20 | }); 21 | $('
').appendTo(document.body); 22 | var editor = UE.getEditor('ue',{ 23 | test:false 24 | }); 25 | stop(); 26 | editor.ready(function () { 27 | // ok(!this.testplugin); todo 28 | start(); 29 | }); 30 | }); -------------------------------------------------------------------------------- /static/ueditor/_test/plugins/auto.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by JetBrains PhpStorm. 3 | * User: lisisi01 4 | * Date: 12-11-8 5 | * Time: 下午3:37 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | module( 'plugins.autosubmit' ); 9 | 10 | //这个插件是针对非ie的,单测用例同样只针对非ie,仍需手动测试检验ie与非ie下效果是否一致 11 | test( '输入超链接后回车', function() { 12 | var form = document.body.appendChild( document.createElement( 'form' ) ); 13 | var editor = new baidu.editor.Editor({'initialContent':'

欢迎使用ueditor

','autoFloatEnabled':false}); 14 | editor.render(form); 15 | // form.body.appendChild(editor); 16 | editor.focus(); 17 | var range = new baidu.editor.dom.Range( editor.document ); 18 | range.setStart(editor.body.firstChild.firstChild,1).collapse(true).select(); 19 | editor.execCommand('autosubmit'); 20 | equal(editor.textarea.value,'

欢迎使用ueditor

',''); 21 | } ); -------------------------------------------------------------------------------- /static/ueditor/jsp/src/com/baidu/ueditor/upload/Uploader.java: -------------------------------------------------------------------------------- 1 | package com.baidu.ueditor.upload; 2 | 3 | import com.baidu.ueditor.define.State; 4 | import java.util.Map; 5 | import javax.servlet.http.HttpServletRequest; 6 | 7 | public class Uploader { 8 | private HttpServletRequest request = null; 9 | private Map conf = null; 10 | 11 | public Uploader(HttpServletRequest request, Map conf) { 12 | this.request = request; 13 | this.conf = conf; 14 | } 15 | 16 | public final State doExec() { 17 | String filedName = (String) this.conf.get("fieldName"); 18 | State state = null; 19 | 20 | if ("true".equals(this.conf.get("isBase64"))) { 21 | state = Base64Uploader.save(this.request.getParameter(filedName), 22 | this.conf); 23 | } else { 24 | state = BinaryUploader.save(this.request, this.conf); 25 | } 26 | 27 | return state; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /static/ueditor/_src/api.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 该文件定义了API文档所使用到的本地函数的说明 3 | * @file 4 | * @module Native 5 | */ 6 | 7 | /** 8 | * 辅助接口说明 9 | * @module Native 10 | * @unfile 11 | */ 12 | 13 | /** 14 | * 原生String对象, 字符串 15 | * @class String 16 | */ 17 | 18 | /** 19 | * 原生Function对象, 函数 20 | * @class Function 21 | */ 22 | 23 | /** 24 | * 原生Object对象, 普通对象 25 | * @remind 如果某一方法的参数类型为Object时, 表示该参数应该接受一个key-value集合 26 | * @class Object 27 | */ 28 | 29 | /** 30 | * 原生Boolean对象, 布尔值 31 | * @class Boolean 32 | */ 33 | 34 | /** 35 | * 原生Number对象, 数值 36 | * @class Number 37 | */ 38 | 39 | /** 40 | * 原生NULL对象, 空 41 | * @class NULL 42 | */ 43 | 44 | /** 45 | * 原生Array对象, 数组 46 | * @class Array 47 | */ 48 | 49 | /** 50 | * 浏览器Node, dom节点 51 | * @class Node 52 | */ 53 | 54 | /** 55 | * 浏览器Element, dom元素 56 | * @class Element 57 | */ 58 | 59 | /** 60 | * UEditor模拟dom节点对象 61 | * @class uNode 62 | */ -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/preview.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 预览 3 | * @file 4 | * @since 1.2.6.1 5 | */ 6 | 7 | /** 8 | * 预览 9 | * @command preview 10 | * @method execCommand 11 | * @param { String } cmd 命令字符串 12 | * @example 13 | * ```javascript 14 | * editor.execCommand( 'preview' ); 15 | * ``` 16 | */ 17 | UE.commands['preview'] = { 18 | execCommand : function(){ 19 | var w = window.open('', '_blank', ''), 20 | d = w.document; 21 | d.open(); 22 | d.write('
'+this.getContent(null,null,true)+'
'); 25 | d.close(); 26 | }, 27 | notNeedUndo : 1 28 | }; 29 | -------------------------------------------------------------------------------- /static/ueditor/_examples/renderInTable.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 表格内实例化编辑器实例 8 | 9 | 10 | 11 |
12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
表格标题
标题内容
中国
21 |
22 | 25 | 26 | -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/js/ext_qunit.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 重载QUnit部分接口实现批量执行控制功能 3 | */ 4 | (function() { 5 | if (!QUnit) 6 | return; 7 | var ms = QUnit.moduleStart, d = QUnit.done; 8 | 9 | function _d(args /* failures, total */) { 10 | //默认展开失败用例 11 | $('li.fail ol').toggle(); 12 | if (parent && parent.brtest) { 13 | parent.$(parent.brtest).trigger('done', [ new Date().getTime(), { 14 | failed : args[0], 15 | passed : args[1], 16 | detail:args[2] 17 | }, window._$jscoverage || null ]); 18 | } 19 | } 20 | QUnit.moduleStart = function() { 21 | stop(); 22 | /* 为批量执行等待import.php正确返回 */ 23 | var h = setInterval(function() { 24 | if (window && window['baidu']) { 25 | clearInterval(h); 26 | ms.apply(this, arguments); 27 | start(); 28 | } 29 | }, 20); 30 | }; 31 | QUnit.done = function() { 32 | _d(arguments); 33 | d.apply(this, arguments); 34 | }; 35 | })(); 36 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/spechars/spechars.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 14 | 15 | 16 |
17 |
18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /static/ueditor/_examples/textareaDemo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 17 | 18 |

文本域渲染编辑器

19 | 20 | 21 | 22 |
23 | 24 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/cleardoc.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 清空文档插件 3 | * @file 4 | * @since 1.2.6.1 5 | */ 6 | 7 | /** 8 | * 清空文档 9 | * @command cleardoc 10 | * @method execCommand 11 | * @param { String } cmd 命令字符串 12 | * @example 13 | * ```javascript 14 | * //editor 是编辑器实例 15 | * editor.execCommand('cleardoc'); 16 | * ``` 17 | */ 18 | 19 | UE.commands['cleardoc'] = { 20 | execCommand : function( cmdName) { 21 | var me = this, 22 | enterTag = me.options.enterTag, 23 | range = me.selection.getRange(); 24 | if(enterTag == "br"){ 25 | me.body.innerHTML = "
"; 26 | range.setStart(me.body,0).setCursor(); 27 | }else{ 28 | me.body.innerHTML = "

"+(ie ? "" : "
")+"

"; 29 | range.setStart(me.body.firstChild,0).setCursor(false,true); 30 | } 31 | setTimeout(function(){ 32 | me.fireEvent("clearDoc"); 33 | },0); 34 | 35 | } 36 | }; 37 | 38 | -------------------------------------------------------------------------------- /static/ueditor/asp/action_crawler.asp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <% 5 | 6 | Set up = new Uploader 7 | up.MaxSize = config.Item("catcherMaxSize") 8 | up.AllowType = config.Item("catcherAllowFiles") 9 | up.PathFormat = config.Item("catcherPathFormat") 10 | 11 | urls = Split(Request.Item("source[]"), ", ") 12 | Set list = new ASPJson.Collection 13 | 14 | For i = 0 To UBound(urls) 15 | up.UploadRemote( urls(i) ) 16 | Dim instance 17 | Set instance = new ASPJson.Collection 18 | instance.Add "state", up.State 19 | instance.Add "url", up.FilePath 20 | instance.Add "source", urls(i) 21 | list.Add i, instance 22 | Next 23 | 24 | Set json = new ASPJson 25 | 26 | With json.data 27 | .Add "state", "SUCCESS" 28 | .Add "list", list 29 | End With 30 | 31 | json.PrintJson() 32 | %> -------------------------------------------------------------------------------- /src/router/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Router from 'vue-router' 3 | import HelloWorld from '@/components/HelloWorld' 4 | import Main from '@/page/main' 5 | import Ueditor from '@/components/ueditor' 6 | import Test from '@/page/test' 7 | import Index from '@/page/index' 8 | import Popup from '@/page/popup' 9 | import Table from '@/page/table' 10 | 11 | Vue.use(Router) 12 | 13 | export default new Router({ 14 | routes: [{ 15 | path: '/', 16 | name: 'Index', 17 | component: Index, 18 | children: [{ 19 | path: '/', 20 | name: 'Main', 21 | component: Main 22 | },{ 23 | path: '/hello', 24 | name: 'HelloWorld', 25 | component: HelloWorld 26 | },{ 27 | path: '/test', 28 | name: 'Test', 29 | component: Test 30 | },{ 31 | path: '/popup', 32 | name: 'Popup', 33 | component: Popup 34 | },{ 35 | path: '/table', 36 | name: 'Table', 37 | component: Table 38 | }] 39 | }] 40 | }) 41 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/table/edittip.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 表格删除提示 5 | 6 | 17 | 18 | 19 |
20 |
21 | 22 |
23 |
24 | 25 |
26 |
27 | 32 | 33 | -------------------------------------------------------------------------------- /static/ueditor/_src/core/Editor.defaultoptions.js: -------------------------------------------------------------------------------- 1 | //维护编辑器一下默认的不在插件中的配置项 2 | UE.Editor.defaultOptions = function(editor){ 3 | 4 | var _url = editor.options.UEDITOR_HOME_URL; 5 | return { 6 | isShow: true, 7 | initialContent: '', 8 | initialStyle:'', 9 | autoClearinitialContent: false, 10 | iframeCssUrl: _url + 'themes/iframe.css', 11 | textarea: 'editorValue', 12 | focus: false, 13 | focusInEnd: true, 14 | autoClearEmptyNode: true, 15 | fullscreen: false, 16 | readonly: false, 17 | zIndex: 999, 18 | imagePopup: true, 19 | enterTag: 'p', 20 | customDomain: false, 21 | lang: 'zh-cn', 22 | langPath: _url + 'lang/', 23 | theme: 'default', 24 | themePath: _url + 'themes/', 25 | allHtmlEnabled: false, 26 | scaleEnabled: false, 27 | tableNativeEditInFF: false, 28 | autoSyncData : true, 29 | fileNameFormat: '{time}{rand:6}' 30 | } 31 | }; -------------------------------------------------------------------------------- /static/ueditor/asp/action_upload.asp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <% 5 | uploadTemplateName = Session.Value("ueditor_asp_uploadTemplateName") 6 | 7 | Set up = new Uploader 8 | up.MaxSize = config.Item( uploadTemplateName & "MaxSize" ) 9 | up.FileField = config.Item( uploadTemplateName & "FieldName" ) 10 | up.PathFormat = config.Item( uploadTemplateName & "PathFormat" ) 11 | 12 | If Not IsEmpty( Session.Value("base64Upload") ) Then 13 | up.UploadBase64( Session.Value("base64Upload") ) 14 | Else 15 | up.AllowType = config.Item( uploadTemplateName & "AllowFiles" ) 16 | up.UploadForm() 17 | End If 18 | 19 | Set json = new ASPJson 20 | 21 | With json.data 22 | .Add "url", up.FilePath 23 | .Add "original", up.OriginalFileName 24 | .Add "state", up.State 25 | .Add "title", up.OriginalFileName 26 | End With 27 | 28 | json.PrintJson() 29 | %> -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/autosubmit.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 快捷键提交 3 | * @file 4 | * @since 1.2.6.1 5 | */ 6 | 7 | /** 8 | * 提交表单 9 | * @command autosubmit 10 | * @method execCommand 11 | * @param { String } cmd 命令字符串 12 | * @example 13 | * ```javascript 14 | * editor.execCommand( 'autosubmit' ); 15 | * ``` 16 | */ 17 | 18 | UE.plugin.register('autosubmit',function(){ 19 | return { 20 | shortcutkey:{ 21 | "autosubmit":"ctrl+13" //手动提交 22 | }, 23 | commands:{ 24 | 'autosubmit':{ 25 | execCommand:function () { 26 | var me=this, 27 | form = domUtils.findParentByTagName(me.iframe,"form", false); 28 | if (form){ 29 | if(me.fireEvent("beforesubmit")===false){ 30 | return; 31 | } 32 | me.sync(); 33 | form.submit(); 34 | } 35 | } 36 | } 37 | } 38 | } 39 | }); -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
12 |
13 | 14 |
15 |
16 |
17 |
18 | 19 |
20 |
21 |
22 |
23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/wordcount.js: -------------------------------------------------------------------------------- 1 | ///import core 2 | ///commands 字数统计 3 | ///commandsName WordCount,wordCount 4 | ///commandsTitle 字数统计 5 | /* 6 | * Created by JetBrains WebStorm. 7 | * User: taoqili 8 | * Date: 11-9-7 9 | * Time: 下午8:18 10 | * To change this template use File | Settings | File Templates. 11 | */ 12 | 13 | UE.plugins['wordcount'] = function(){ 14 | var me = this; 15 | me.setOpt('wordCount',true); 16 | me.addListener('contentchange',function(){ 17 | me.fireEvent('wordcount'); 18 | }); 19 | var timer; 20 | me.addListener('ready',function(){ 21 | var me = this; 22 | domUtils.on(me.body,"keyup",function(evt){ 23 | var code = evt.keyCode||evt.which, 24 | //忽略的按键,ctr,alt,shift,方向键 25 | ignores = {"16":1,"18":1,"20":1,"37":1,"38":1,"39":1,"40":1}; 26 | if(code in ignores) return; 27 | clearTimeout(timer); 28 | timer = setTimeout(function(){ 29 | me.fireEvent('wordcount'); 30 | },200) 31 | }) 32 | }); 33 | }; 34 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/music/music.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 插入音乐 6 | 7 | 8 | 9 | 10 |
11 | 15 |
16 | 17 |
18 |
19 |
20 |
21 | 22 | 31 | 32 | -------------------------------------------------------------------------------- /static/ueditor/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ueditor", 3 | "title": "ueditor", 4 | "description": "UEditor富文本web编辑器", 5 | "version": "1.4.3", 6 | "homepage": "http://ueditor.baidu.com/", 7 | "author": { 8 | "name": "f-cube @ FEX", 9 | "url": "http://fex.baidu.com" 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "https://github.com/fex-team/ueditor.git" 14 | }, 15 | "keywords": [ 16 | "ueditor", 17 | "web editor", 18 | "javascript" 19 | ], 20 | "bugs": { 21 | "url": "https://github.com/fex-team/ueditor/issues" 22 | }, 23 | "dependencies": { 24 | "grunt": "~0.4.1", 25 | "grunt-contrib-concat": "~0.3.0", 26 | "grunt-contrib-cssmin": "~0.6.0", 27 | "grunt-closurecompiler": "~0.9.9", 28 | "grunt-contrib-copy": "~0.4.0", 29 | "grunt-transcoding": "~0.1.1", 30 | "grunt-text-replace": "~0.3.9", 31 | "grunt-contrib-clean": "~0.5.0" 32 | }, 33 | "devDependencies": { 34 | "grunt": "~0.4.1" 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/template.css: -------------------------------------------------------------------------------- 1 | .wrap{ padding: 5px;font-size: 14px;} 2 | .left{width:425px;float: left;} 3 | .right{width:160px;border: 1px solid #ccc;float: right;padding: 5px;margin-right: 5px;} 4 | .right .pre{height: 332px;overflow-y: auto;} 5 | .right .preitem{border: white 1px solid;margin: 5px 0;padding: 2px 0;} 6 | .right .preitem:hover{background-color: lemonChiffon;cursor: pointer;border: #ccc 1px solid;} 7 | .right .preitem img{display: block;margin: 0 auto;width:100px;} 8 | .clear{clear: both;} 9 | .top{height:26px;line-height: 26px;padding: 5px;} 10 | .bottom{height:320px;width:100%;margin: 0 auto;} 11 | .transparent{ background: url("images/bg.gif") repeat;} 12 | .bottom table tr td{border:1px dashed #ccc;} 13 | #colorPicker{width: 17px;height: 17px;border: 1px solid #CCC;display: inline-block;border-radius: 3px;box-shadow: 2px 2px 5px #D3D6DA;} 14 | .border_style1{padding:2px;border: 1px solid #ccc;border-radius: 5px;box-shadow:2px 2px 5px #d3d6da;} 15 | p{margin: 5px 0} 16 | table{clear:both;margin-bottom:10px;border-collapse:collapse;word-break:break-all;} 17 | li{clear:both} 18 | ol{padding-left:40px; } -------------------------------------------------------------------------------- /static/ueditor/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013 ueditor 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /static/ueditor/_examples/simpleDemo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |

UEditor简单功能

12 | 13 | 14 | 17 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /static/ueditor/themes/default/css/menu.css: -------------------------------------------------------------------------------- 1 | /* 可选中按钮弹出菜单*/ 2 | .edui-default .edui-menu { 3 | z-index: 3000; 4 | } 5 | 6 | .edui-default .edui-menu .edui-popup-content { 7 | padding: 3px; 8 | } 9 | 10 | .edui-default .edui-menu-body { 11 | _width: 150px; 12 | min-width: 170px; 13 | background: url("../images/sparator_v.png") repeat-y 25px; 14 | } 15 | 16 | .edui-default .edui-menuitem-body { 17 | } 18 | 19 | .edui-default .edui-menuitem { 20 | height: 20px; 21 | cursor: default; 22 | vertical-align: top; 23 | } 24 | 25 | .edui-default .edui-menuitem .edui-icon { 26 | width: 20px !important; 27 | height: 20px !important; 28 | background: url(../images/icons.png) 0 -4000px; 29 | background: url(../images/icons.gif) 0 -4000px\9; 30 | } 31 | 32 | .edui-default .edui-menuitem .edui-label { 33 | font-size: 12px; 34 | line-height: 20px; 35 | height: 20px; 36 | padding-left: 10px; 37 | } 38 | 39 | .edui-default .edui-state-checked .edui-menuitem-body { 40 | background: url("../images/icons-all.gif") no-repeat 6px -205px; 41 | } 42 | 43 | .edui-default .edui-state-disabled .edui-menuitem-label { 44 | color: gray; 45 | } 46 | 47 | -------------------------------------------------------------------------------- /static/ueditor/_test/plugins/template.js: -------------------------------------------------------------------------------- 1 | module( 'plugins.template' ); 2 | 3 | test( '模板', function () { 4 | var editor = te.obj[0]; 5 | var range = te.obj[1]; 6 | editor.setContent( '

hello

' ); 7 | range.setStart(editor.body.firstChild,0).collapse(true).select(); 8 | editor.execCommand('template',{html:'

欢迎使用UEditor!

'}); 9 | ua.manualDeleteFillData(editor.body); 10 | equal(ua.getHTML(editor.body.firstChild),'

欢迎使用ueditor!

'); 11 | if(!(ua.browser.gecko||ua.browser.ie>8)){ 12 | if(ua.browser.webkit){ 13 | ua.click(editor.body.firstChild); 14 | equal(editor.selection.getRange().startContainer.firstChild.length,'12','检查选区'); 15 | ua.keydown(editor.body.firstChild); 16 | equal(editor.selection.getRange().startContainer.firstChild.length,'12','检查选区'); 17 | }else{ 18 | ua.click(editor.body.firstChild); 19 | equal(editor.selection.getRange().startContainer.length,'12','检查选区'); 20 | ua.keydown(editor.body.firstChild); 21 | equal(editor.selection.getRange().startContainer.length,'12','检查选区'); 22 | } 23 | } 24 | } ); -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/selectall.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 全选 3 | * @file 4 | * @since 1.2.6.1 5 | */ 6 | 7 | /** 8 | * 选中所有内容 9 | * @command selectall 10 | * @method execCommand 11 | * @param { String } cmd 命令字符串 12 | * @example 13 | * ```javascript 14 | * editor.execCommand( 'selectall' ); 15 | * ``` 16 | */ 17 | UE.plugins['selectall'] = function(){ 18 | var me = this; 19 | me.commands['selectall'] = { 20 | execCommand : function(){ 21 | //去掉了原生的selectAll,因为会出现报错和当内容为空时,不能出现闭合状态的光标 22 | var me = this,body = me.body, 23 | range = me.selection.getRange(); 24 | range.selectNodeContents(body); 25 | if(domUtils.isEmptyBlock(body)){ 26 | //opera不能自动合并到元素的里边,要手动处理一下 27 | if(browser.opera && body.firstChild && body.firstChild.nodeType == 1){ 28 | range.setStartAtFirst(body.firstChild); 29 | } 30 | range.collapse(true); 31 | } 32 | range.select(true); 33 | }, 34 | notNeedUndo : 1 35 | }; 36 | 37 | 38 | //快捷键 39 | me.addshortcutkey({ 40 | "selectAll" : "ctrl+65" 41 | }); 42 | }; 43 | -------------------------------------------------------------------------------- /static/ueditor/_test/plugins/iframe.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by JetBrains PhpStorm. 3 | * User: dongyancen 4 | * Date: 12-9-17 5 | * Time: 下午2:55 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | module( 'plugins.iframe' ); 9 | test( '检查高亮和清除_iframe', function() { 10 | var sc = document.createElement("script"); 11 | sc.id="sc"; 12 | sc.type = "text/plain"; 13 | document.body.appendChild(sc); 14 | te.obj[2].render('sc'); 15 | 16 | te.obj[2].ready(function(){ 17 | equal( te.obj[2].queryCommandState( 'insertframe' ), 0, 'check insertframe state' ); 18 | var iframe = document.createElement('iframe'); 19 | $(iframe).attr('src','www.baidu.com'); 20 | this._iframe = iframe; 21 | this.setContent('

欢迎使用ueditor!

'); 22 | ok(te.obj[2]._iframe,'加入_iframe'); 23 | setTimeout(function(){ 24 | ok(!te.obj[2]._iframe,'检查selectionchanged会触发去掉_iframe'); 25 | document.getElementById('sc').parentNode.removeChild(document.getElementById('sc')); 26 | start(); 27 | },50); 28 | }); 29 | stop(); 30 | } ); -------------------------------------------------------------------------------- /src/components/bar-heng.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /static/ueditor/themes/default/css/tablepicker.css: -------------------------------------------------------------------------------- 1 | /* 表格弹出菜单 */ 2 | .edui-default .edui-for-inserttable .edui-splitborder { 3 | display: none 4 | } 5 | .edui-default .edui-for-inserttable .edui-splitbutton-body .edui-arrow { 6 | width: 0 7 | } 8 | .edui-default .edui-toolbar .edui-for-inserttable .edui-state-active .edui-splitborder{ 9 | border-left: 1px solid transparent; 10 | } 11 | .edui-default .edui-tablepicker .edui-infoarea { 12 | height: 14px; 13 | line-height: 14px; 14 | font-size: 12px; 15 | width: 220px; 16 | margin-bottom: 3px; 17 | clear: both; 18 | } 19 | 20 | .edui-default .edui-tablepicker .edui-infoarea .edui-label { 21 | float: left; 22 | } 23 | 24 | .edui-default .edui-dialog-buttons .edui-label { 25 | line-height: 24px; 26 | } 27 | 28 | .edui-default .edui-tablepicker .edui-infoarea .edui-clickable { 29 | float: right; 30 | } 31 | 32 | .edui-default .edui-tablepicker .edui-pickarea { 33 | background: url("../images/unhighlighted.gif") repeat; 34 | height: 220px; 35 | width: 220px; 36 | } 37 | 38 | .edui-default .edui-tablepicker .edui-pickarea .edui-overlay { 39 | background: url("../images/highlighted.gif") repeat; 40 | } 41 | -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/insertparagraph.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 插入段落 3 | * @file 4 | * @since 1.2.6.1 5 | */ 6 | 7 | 8 | /** 9 | * 插入段落 10 | * @command insertparagraph 11 | * @method execCommand 12 | * @param { String } cmd 命令字符串 13 | * @example 14 | * ```javascript 15 | * //editor是编辑器实例 16 | * editor.execCommand( 'insertparagraph' ); 17 | * ``` 18 | */ 19 | 20 | UE.commands['insertparagraph'] = { 21 | execCommand : function( cmdName,front) { 22 | var me = this, 23 | range = me.selection.getRange(), 24 | start = range.startContainer,tmpNode; 25 | while(start ){ 26 | if(domUtils.isBody(start)){ 27 | break; 28 | } 29 | tmpNode = start; 30 | start = start.parentNode; 31 | } 32 | if(tmpNode){ 33 | var p = me.document.createElement('p'); 34 | if(front){ 35 | tmpNode.parentNode.insertBefore(p,tmpNode) 36 | }else{ 37 | tmpNode.parentNode.insertBefore(p,tmpNode.nextSibling) 38 | } 39 | domUtils.fillNode(me.document,p); 40 | range.setStart(p,0).setCursor(false,true); 41 | } 42 | } 43 | }; 44 | 45 | -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/txt/test1_2.txt: -------------------------------------------------------------------------------- 1 |

2 |

3 | 4 |

5 |

6 | 欢迎使用ueditor! 7 | 8 | 9 |

10 |

11 | 12 |

13 |

14 | 欢迎使用ueditor! 15 | 16 | 17 |

18 |

19 | 欢迎使用ueditor! 20 | 21 | 22 |

23 |

24 | 欢迎使用ueditor! 25 | 26 | 27 |

28 |

29 | 欢迎使用ueditor! 30 | 31 | 32 |

33 |

34 | 欢迎使用ueditor! 35 | 36 | 37 |

38 |

-------------------------------------------------------------------------------- /static/ueditor/_examples/addCustomizeButton.js: -------------------------------------------------------------------------------- 1 | UE.registerUI('button',function(editor,uiName){ 2 | //注册按钮执行时的command命令,使用命令默认就会带有回退操作 3 | editor.registerCommand(uiName,{ 4 | execCommand:function(){ 5 | alert('execCommand:' + uiName) 6 | } 7 | }); 8 | 9 | //创建一个button 10 | var btn = new UE.ui.Button({ 11 | //按钮的名字 12 | name:uiName, 13 | //提示 14 | title:uiName, 15 | //需要添加的额外样式,指定icon图标,这里默认使用一个重复的icon 16 | cssRules :'background-position: -500px 0;', 17 | //点击时执行的命令 18 | onclick:function () { 19 | //这里可以不用执行命令,做你自己的操作也可 20 | editor.execCommand(uiName); 21 | } 22 | }); 23 | 24 | //当点到编辑内容上时,按钮要做的状态反射 25 | editor.addListener('selectionchange', function () { 26 | var state = editor.queryCommandState(uiName); 27 | if (state == -1) { 28 | btn.setDisabled(true); 29 | btn.setChecked(false); 30 | } else { 31 | btn.setDisabled(false); 32 | btn.setChecked(state); 33 | } 34 | }); 35 | 36 | //因为你是添加button,所以需要返回这个button 37 | return btn; 38 | }/*index 指定添加到工具栏上的那个位置,默认时追加到最后,editorId 指定这个UI是那个编辑器实例上的,默认是页面上所有的编辑器都会添加这个按钮*/); -------------------------------------------------------------------------------- /static/ueditor/php/action_crawler.php: -------------------------------------------------------------------------------- 1 | $CONFIG['catcherPathFormat'], 14 | "maxSize" => $CONFIG['catcherMaxSize'], 15 | "allowFiles" => $CONFIG['catcherAllowFiles'], 16 | "oriName" => "remote.png" 17 | ); 18 | $fieldName = $CONFIG['catcherFieldName']; 19 | 20 | /* 抓取远程图片 */ 21 | $list = array(); 22 | if (isset($_POST[$fieldName])) { 23 | $source = $_POST[$fieldName]; 24 | } else { 25 | $source = $_GET[$fieldName]; 26 | } 27 | foreach ($source as $imgUrl) { 28 | $item = new Uploader($imgUrl, $config, "remote"); 29 | $info = $item->getFileInfo(); 30 | array_push($list, array( 31 | "state" => $info["state"], 32 | "url" => $info["url"], 33 | "size" => $info["size"], 34 | "title" => htmlspecialchars($info["title"]), 35 | "original" => htmlspecialchars($info["original"]), 36 | "source" => htmlspecialchars($imgUrl) 37 | )); 38 | } 39 | 40 | /* 返回抓取数据 */ 41 | return json_encode(array( 42 | 'state'=> count($list) ? 'SUCCESS':'ERROR', 43 | 'list'=> $list 44 | )); -------------------------------------------------------------------------------- /static/ueditor/_test/plugins/autoheight.js: -------------------------------------------------------------------------------- 1 | module('plugins.autoheight'); 2 | 3 | test('自动长高',function(){ 4 | var sc = document.createElement("script"); 5 | sc.id="sc"; 6 | sc.type = "text/plain"; 7 | document.body.appendChild(sc); 8 | var editor = new UE.ui.Editor({'autoFloatEnabled':true,'topOffset':60,'autoHeightEnabled':true,'scaleEnabled':false}); 9 | editor.render('sc'); 10 | te.dom[0].parentNode.removeChild(te.dom[0]); 11 | stop(); 12 | setTimeout(function(){ 13 | var height=editor.body.style.height; 14 | editor.setContent('
nmnmknmm,






















'); 15 | setTimeout(function(){ 16 | ok(height!=editor.body.style.height,'自动长高'); 17 | editor.disableAutoHeight(); 18 | editor.body.style.height=height; 19 | editor.setContent('
























'); 20 | stop(); 21 | setTimeout(function(){ 22 | ok(height==editor.body.style.height,'不长高'); 23 | 24 | start(); 25 | },200); 26 | },200); 27 | },800); 28 | }); -------------------------------------------------------------------------------- /static/ueditor/_examples/server/getContent.ashx: -------------------------------------------------------------------------------- 1 | <%@ WebHandler Language="C#" Class="getContent" %> 2 | /** 3 | * Created by visual studio 2010 4 | * User: xuheng 5 | * Date: 12-3-6 6 | * Time: 下午21:23 7 | * To get the value of editor and output the value . 8 | */ 9 | using System; 10 | using System.Web; 11 | 12 | public class getContent : IHttpHandler { 13 | 14 | public void ProcessRequest (HttpContext context) { 15 | context.Response.ContentType = "text/html"; 16 | 17 | //获取数据 18 | string content = context.Server.HtmlEncode(context.Request.Form["myEditor"]); 19 | 20 | 21 | //存入数据库或者其他操作 22 | //------------- 23 | 24 | //显示 25 | context.Response.Write(""); 26 | context.Response.Write( 27 | 28 | ""); 32 | 33 | context.Response.Write("Content of First Editor: "); 34 | context.Response.Write("
" + context.Server.HtmlDecode(content) + "
"); 35 | 36 | } 37 | 38 | public bool IsReusable { 39 | get { 40 | return false; 41 | } 42 | } 43 | 44 | } -------------------------------------------------------------------------------- /static/ueditor/_test/plugins/music.js: -------------------------------------------------------------------------------- 1 | module( 'plugins.music' ); 2 | 3 | test( ' trace 3745 3780 音乐', function () { 4 | var editor = te.obj[0]; 5 | var range = te.obj[1]; 6 | editor.setContent( '

hello

' ); 7 | range.setStart(editor.body.firstChild,0).collapse(true).select(); 8 | editor.execCommand( 'music',{url:"http://box.baidu.com/widget/flash/bdspacesong.swf?from=tiebasongwidget&url=…artist=%E5%BC%A0%E6%B6%A6%E8%B4%9E&extra=Vol.%202&autoPlay=false&loop=true"}); 9 | stop(); 10 | setTimeout(function(){ 11 | ua.manualDeleteFillData(editor.body); 12 | ua.checkSameHtml(editor.getContent(),'

hello

',''); 13 | equal(editor.body.firstChild.firstChild.tagName.toLowerCase(),'img'); 14 | equal(editor.body.firstChild.firstChild.className,'edui-faked-music'); 15 | start(); 16 | },50); 17 | } ); -------------------------------------------------------------------------------- /src/components/echarts/index.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 43 | 44 | 67 | -------------------------------------------------------------------------------- /static/ueditor/_parse/video.js: -------------------------------------------------------------------------------- 1 | UE.parse.register('vedio',function(utils){ 2 | var video = this.root.getElementsByTagName('video'), 3 | audio = this.root.getElementsByTagName('audio'); 4 | 5 | document.createElement('video');document.createElement('audio'); 6 | if(video.length || audio.length){ 7 | var sourcePath = utils.removeLastbs(this.rootPath), 8 | jsurl = sourcePath + '/third-party/video-js/video.js', 9 | cssurl = sourcePath + '/third-party/video-js/video-js.min.css', 10 | swfUrl = sourcePath + '/third-party/video-js/video-js.swf'; 11 | 12 | if(window.videojs) { 13 | videojs.autoSetup(); 14 | } else { 15 | utils.loadFile(document,{ 16 | id : "video_css", 17 | tag : "link", 18 | rel : "stylesheet", 19 | type : "text/css", 20 | href : cssurl 21 | }); 22 | utils.loadFile(document,{ 23 | id : "video_js", 24 | src : jsurl, 25 | tag : "script", 26 | type : "text/javascript" 27 | },function(){ 28 | videojs.options.flash.swf = swfUrl; 29 | videojs.autoSetup(); 30 | }); 31 | } 32 | 33 | } 34 | }); -------------------------------------------------------------------------------- /static/ueditor/themes/default/css/paragraphpicker.css: -------------------------------------------------------------------------------- 1 | /*段落弹出菜单*/ 2 | .edui-default .edui-for-paragraph .edui-listitem-label { 3 | font-family: Tahoma, Verdana, Arial, Helvetica; 4 | } 5 | 6 | .edui-default .edui-for-paragraph .edui-listitem-label .edui-for-p { 7 | font-size: 22px; 8 | line-height: 27px; 9 | } 10 | 11 | .edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h1 { 12 | font-weight: bolder; 13 | font-size: 32px; 14 | line-height: 36px; 15 | } 16 | 17 | .edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h2 { 18 | font-weight: bolder; 19 | font-size: 27px; 20 | line-height: 29px; 21 | } 22 | 23 | .edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h3 { 24 | font-weight: bolder; 25 | font-size: 19px; 26 | line-height: 23px; 27 | } 28 | 29 | .edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h4 { 30 | font-weight: bolder; 31 | font-size: 16px; 32 | line-height: 19px 33 | } 34 | 35 | .edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h5 { 36 | font-weight: bolder; 37 | font-size: 13px; 38 | line-height: 16px; 39 | } 40 | 41 | .edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h6 { 42 | font-weight: bolder; 43 | font-size: 12px; 44 | line-height: 14px; 45 | } -------------------------------------------------------------------------------- /static/ueditor/_test/coverage/jscoverage-highlight.css: -------------------------------------------------------------------------------- 1 | /* 2 | jscoverage-highlight.css - JSCoverage syntax highlighting style sheet 3 | Copyright (C) 2008, 2009, 2010 siliconforks.com 4 | 5 | This program is free software; you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 2 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License along 16 | with this program; if not, write to the Free Software Foundation, Inc., 17 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 18 | */ 19 | 20 | /* keyword, type, symbol, cbracket */ 21 | #sourceTable .k { 22 | font-weight: bold; 23 | } 24 | 25 | /* string, regexp, number */ 26 | #sourceTable .s { 27 | color: #006400; 28 | } 29 | 30 | /* specialchar */ 31 | #sourceTable .t { 32 | color: #2e8b57; 33 | } 34 | 35 | /* comment */ 36 | #sourceTable .c { 37 | font-style: italic; 38 | } 39 | -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/coverage/jscoverage-highlight.css: -------------------------------------------------------------------------------- 1 | /* 2 | jscoverage-highlight.css - JSCoverage syntax highlighting style sheet 3 | Copyright (C) 2008, 2009, 2010 siliconforks.com 4 | 5 | This program is free software; you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 2 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License along 16 | with this program; if not, write to the Free Software Foundation, Inc., 17 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 18 | */ 19 | 20 | /* keyword, type, symbol, cbracket */ 21 | #sourceTable .k { 22 | font-weight: bold; 23 | } 24 | 25 | /* string, regexp, number */ 26 | #sourceTable .s { 27 | color: #006400; 28 | } 29 | 30 | /* specialchar */ 31 | #sourceTable .t { 32 | color: #2e8b57; 33 | } 34 | 35 | /* comment */ 36 | #sourceTable .c { 37 | font-style: italic; 38 | } 39 | -------------------------------------------------------------------------------- /static/ueditor/jsp/src/com/baidu/ueditor/define/ActionMap.java: -------------------------------------------------------------------------------- 1 | package com.baidu.ueditor.define; 2 | 3 | import java.util.Map; 4 | import java.util.HashMap; 5 | 6 | /** 7 | * 定义请求action类型 8 | * @author hancong03@baidu.com 9 | * 10 | */ 11 | @SuppressWarnings("serial") 12 | public final class ActionMap { 13 | 14 | public static final Map mapping; 15 | // 获取配置请求 16 | public static final int CONFIG = 0; 17 | public static final int UPLOAD_IMAGE = 1; 18 | public static final int UPLOAD_SCRAWL = 2; 19 | public static final int UPLOAD_VIDEO = 3; 20 | public static final int UPLOAD_FILE = 4; 21 | public static final int CATCH_IMAGE = 5; 22 | public static final int LIST_FILE = 6; 23 | public static final int LIST_IMAGE = 7; 24 | 25 | static { 26 | mapping = new HashMap(){{ 27 | put( "config", ActionMap.CONFIG ); 28 | put( "uploadimage", ActionMap.UPLOAD_IMAGE ); 29 | put( "uploadscrawl", ActionMap.UPLOAD_SCRAWL ); 30 | put( "uploadvideo", ActionMap.UPLOAD_VIDEO ); 31 | put( "uploadfile", ActionMap.UPLOAD_FILE ); 32 | put( "catchimage", ActionMap.CATCH_IMAGE ); 33 | put( "listfile", ActionMap.LIST_FILE ); 34 | put( "listimage", ActionMap.LIST_IMAGE ); 35 | }}; 36 | } 37 | 38 | public static int getType ( String key ) { 39 | return ActionMap.mapping.get( key ); 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /static/ueditor/_src/ui/tablebutton.js: -------------------------------------------------------------------------------- 1 | ///import core 2 | ///import uicore 3 | ///import ui/popup.js 4 | ///import ui/tablepicker.js 5 | ///import ui/splitbutton.js 6 | (function (){ 7 | var utils = baidu.editor.utils, 8 | Popup = baidu.editor.ui.Popup, 9 | TablePicker = baidu.editor.ui.TablePicker, 10 | SplitButton = baidu.editor.ui.SplitButton, 11 | TableButton = baidu.editor.ui.TableButton = function (options){ 12 | this.initOptions(options); 13 | this.initTableButton(); 14 | }; 15 | TableButton.prototype = { 16 | initTableButton: function (){ 17 | var me = this; 18 | this.popup = new Popup({ 19 | content: new TablePicker({ 20 | editor:me.editor, 21 | onpicktable: function (t, numCols, numRows){ 22 | me._onPickTable(numCols, numRows); 23 | } 24 | }), 25 | 'editor':me.editor 26 | }); 27 | this.initSplitButton(); 28 | }, 29 | _onPickTable: function (numCols, numRows){ 30 | if (this.fireEvent('picktable', numCols, numRows) !== false) { 31 | this.popup.hide(); 32 | } 33 | } 34 | }; 35 | utils.inherits(TableButton, SplitButton); 36 | 37 | })(); 38 | -------------------------------------------------------------------------------- /static/ueditor/_examples/highlightDemo.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

代码高亮演示

16 |

获得编辑器实例

17 |
18 |
19 |         UE.getEditor('myEditor');
20 |     
21 |
22 | 23 | 24 | 30 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /static/ueditor/_examples/multiDemo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |

UEditor多实例

11 | 12 | 13 | 15 | 18 | 20 | 21 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/preview/preview.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 |
29 | 30 | 40 | -------------------------------------------------------------------------------- /static/ueditor/net/App_Code/Config.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | using Newtonsoft.Json.Linq; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Dynamic; 6 | using System.IO; 7 | using System.Linq; 8 | using System.Web; 9 | 10 | /// 11 | /// Config 的摘要说明 12 | /// 13 | public static class Config 14 | { 15 | private static bool noCache = true; 16 | private static JObject BuildItems() 17 | { 18 | var json = File.ReadAllText(HttpContext.Current.Server.MapPath("config.json")); 19 | return JObject.Parse(json); 20 | } 21 | 22 | public static JObject Items 23 | { 24 | get 25 | { 26 | if (noCache || _Items == null) 27 | { 28 | _Items = BuildItems(); 29 | } 30 | return _Items; 31 | } 32 | } 33 | private static JObject _Items; 34 | 35 | 36 | public static T GetValue(string key) 37 | { 38 | return Items[key].Value(); 39 | } 40 | 41 | public static String[] GetStringList(string key) 42 | { 43 | return Items[key].Select(x => x.Value()).ToArray(); 44 | } 45 | 46 | public static String GetString(string key) 47 | { 48 | return GetValue(key); 49 | } 50 | 51 | public static int GetInt(string key) 52 | { 53 | return GetValue(key); 54 | } 55 | } -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/rowspacing.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 段前段后间距插件 3 | * @file 4 | * @since 1.2.6.1 5 | */ 6 | 7 | /** 8 | * 设置段间距 9 | * @command rowspacing 10 | * @method execCommand 11 | * @param { String } cmd 命令字符串 12 | * @param { String } value 段间距的值,以px为单位 13 | * @param { String } dir 间距位置,top或bottom,分别表示段前和段后 14 | * @example 15 | * ```javascript 16 | * editor.execCommand( 'rowspacing', '10', 'top' ); 17 | * ``` 18 | */ 19 | 20 | UE.plugins['rowspacing'] = function(){ 21 | var me = this; 22 | me.setOpt({ 23 | 'rowspacingtop':['5', '10', '15', '20', '25'], 24 | 'rowspacingbottom':['5', '10', '15', '20', '25'] 25 | 26 | }); 27 | me.commands['rowspacing'] = { 28 | execCommand : function( cmdName,value,dir ) { 29 | this.execCommand('paragraph','p',{style:'margin-'+dir+':'+value + 'px'}); 30 | return true; 31 | }, 32 | queryCommandValue : function(cmdName,dir) { 33 | var pN = domUtils.filterNodeList(this.selection.getStartElementPath(),function(node){return domUtils.isBlockElm(node) }), 34 | value; 35 | //trace:1026 36 | if(pN){ 37 | value = domUtils.getComputedStyle(pN,'margin-'+dir).replace(/[^\d]/g,''); 38 | return !value ? 0 : value; 39 | } 40 | return 0; 41 | 42 | } 43 | }; 44 | }; 45 | 46 | 47 | -------------------------------------------------------------------------------- /static/ueditor/net/App_Code/Handler.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using Newtonsoft.Json; 6 | 7 | 8 | /// 9 | /// Handler 的摘要说明 10 | /// 11 | public abstract class Handler 12 | { 13 | public Handler(HttpContext context) 14 | { 15 | this.Request = context.Request; 16 | this.Response = context.Response; 17 | this.Context = context; 18 | this.Server = context.Server; 19 | } 20 | 21 | public abstract void Process(); 22 | 23 | protected void WriteJson(object response) 24 | { 25 | string jsonpCallback = Request["callback"], 26 | json = JsonConvert.SerializeObject(response); 27 | if (String.IsNullOrWhiteSpace(jsonpCallback)) 28 | { 29 | Response.AddHeader("Content-Type", "text/plain"); 30 | Response.Write(json); 31 | } 32 | else 33 | { 34 | Response.AddHeader("Content-Type", "application/javascript"); 35 | Response.Write(String.Format("{0}({1});", jsonpCallback, json)); 36 | } 37 | Response.End(); 38 | } 39 | 40 | public HttpRequest Request { get; private set; } 41 | public HttpResponse Response { get; private set; } 42 | public HttpContext Context { get; private set; } 43 | public HttpServerUtility Server { get; private set; } 44 | } -------------------------------------------------------------------------------- /static/ueditor/_examples/setWidthHeightDemo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

UEditor设置宽高demo

15 |

这里的宽高都只是编辑区域的宽高,不包括工具栏的高度和状态栏的高度

16 |

容器给定编辑器的宽高

17 | 18 | 19 | 20 |
21 |

初始化时给定编辑器的宽高

22 | 23 | 24 |

没有工具栏的编辑器

25 |
26 | 27 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /static/ueditor/third-party/highcharts/modules/heatmap.src.js: -------------------------------------------------------------------------------- 1 | (function (Highcharts) { 2 | var seriesTypes = Highcharts.seriesTypes, 3 | each = Highcharts.each; 4 | 5 | seriesTypes.heatmap = Highcharts.extendClass(seriesTypes.map, { 6 | colorKey: 'z', 7 | useMapGeometry: false, 8 | pointArrayMap: ['y', 'z'], 9 | translate: function () { 10 | var series = this, 11 | options = series.options, 12 | dataMin = Number.MAX_VALUE, 13 | dataMax = Number.MIN_VALUE; 14 | 15 | series.generatePoints(); 16 | 17 | each(series.data, function (point) { 18 | var x = point.x, 19 | y = point.y, 20 | value = point.z, 21 | xPad = (options.colsize || 1) / 2, 22 | yPad = (options.rowsize || 1) / 2; 23 | 24 | point.path = [ 25 | 'M', x - xPad, y - yPad, 26 | 'L', x + xPad, y - yPad, 27 | 'L', x + xPad, y + yPad, 28 | 'L', x - xPad, y + yPad, 29 | 'Z' 30 | ]; 31 | 32 | point.shapeType = 'path'; 33 | point.shapeArgs = { 34 | d: series.translatePath(point.path) 35 | }; 36 | 37 | if (typeof value === 'number') { 38 | if (value > dataMax) { 39 | dataMax = value; 40 | } else if (value < dataMin) { 41 | dataMin = value; 42 | } 43 | } 44 | }); 45 | 46 | series.translateColors(dataMin, dataMax); 47 | }, 48 | 49 | getBox: function () {} 50 | 51 | }); 52 | 53 | }(Highcharts)); 54 | -------------------------------------------------------------------------------- /static/ueditor/_test/plugins/snapscreen.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by JetBrains PhpStorm. 3 | * User: dongyancen 4 | * Date: 12-9-17 5 | * Time: 下午2:38 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | module('plugins.snapscreen'); 9 | test('检查高亮', function () { 10 | var editor = te.obj[0]; 11 | editor.focus(); 12 | equal(editor.queryCommandState('snapscreen'), 0, 'check snapscreen state'); 13 | }); 14 | test('snapscreen', function () { 15 | var div = document.body.appendChild(document.createElement('script')); 16 | div.id = 'ue'; 17 | var editor = UE.getEditor('ue'); 18 | stop(); 19 | editor.ready(function () { 20 | setTimeout(function () { 21 | editor.execCommand('snapscreen'); 22 | editor.container.removeChild(editor.container.lastChild); 23 | setTimeout(function () { 24 | ok($('.edui-dialog .edui-for-snapscreen')[0] != null, ''); 25 | $EDITORUI[$('.edui-dialog .edui-for-snapscreen')[0].parentNode.id].close(); 26 | setTimeout(function () { 27 | 28 | UE.delEditor('ue'); 29 | te.dom.push(document.getElementById('ue')); 30 | start(); 31 | }, 1000); 32 | }, 300); 33 | 34 | 35 | }, 100); 36 | 37 | 38 | } 39 | 40 | ); 41 | }); -------------------------------------------------------------------------------- /static/ueditor/themes/default/css/button.css: -------------------------------------------------------------------------------- 1 | /*普通按钮样式及状态*/ 2 | .edui-default .edui-toolbar .edui-button .edui-icon, 3 | .edui-default .edui-toolbar .edui-menubutton .edui-icon, 4 | .edui-default .edui-toolbar .edui-splitbutton .edui-icon { 5 | height: 20px !important; 6 | width: 20px !important; 7 | background-image: url(../images/icons.png); 8 | background-image: url(../images/icons.gif) \9; 9 | } 10 | 11 | .edui-default .edui-toolbar .edui-button .edui-button-wrap { 12 | padding: 1px; 13 | position: relative; 14 | } 15 | 16 | .edui-default .edui-toolbar .edui-button .edui-state-hover .edui-button-wrap { 17 | background-color: #fff5d4; 18 | padding: 0; 19 | border: 1px solid #dcac6c; 20 | } 21 | 22 | .edui-default .edui-toolbar .edui-button .edui-state-checked .edui-button-wrap { 23 | background-color: #ffe69f; 24 | padding: 0; 25 | border: 1px solid #dcac6c; 26 | border-radius: 2px; 27 | -webkit-border-radius: 2px; 28 | -moz-border-radius: 2px; 29 | } 30 | 31 | .edui-default .edui-toolbar .edui-button .edui-state-active .edui-button-wrap { 32 | background-color: #ffffff; 33 | padding: 0; 34 | border: 1px solid gray; 35 | } 36 | .edui-default .edui-toolbar .edui-state-disabled .edui-label { 37 | color: #ccc; 38 | } 39 | .edui-default .edui-toolbar .edui-state-disabled .edui-icon { 40 | opacity: 0.3; 41 | filter: alpha(opacity = 30); 42 | } 43 | -------------------------------------------------------------------------------- /static/ueditor/themes/default/css/ueditor.css: -------------------------------------------------------------------------------- 1 | /*根据UI结构重写CSS,仅在相应UI组件创建时,加载对应css,顺序加载 2 | */ 3 | 4 | /*-------基础UI构建,必须加载-------*/ 5 | @import "uibase.css"; 6 | @import "toolbar.css"; 7 | @import "editor.css"; 8 | 9 | 10 | /*-------可选中菜单按钮,按需加载-------*/ 11 | /*可选中菜单按钮--依赖splitbutton*/ 12 | @import "menubutton.css"; 13 | /*可选中菜单按钮-弹出菜单*/ 14 | @import "menu.css"; 15 | 16 | 17 | /*-------不可选中菜单按钮,按需加载-------*/ 18 | /*不可选中菜单按钮--依赖splitbutton*/ 19 | @import "combox.css"; 20 | 21 | 22 | /*-------按钮类型,按需加载-------*/ 23 | /*普通按钮*/ 24 | @import "button.css"; 25 | /*按钮icon*/ 26 | @import "buttonicon.css"; 27 | /*弹出菜单按钮-附加按钮*/ 28 | @import "splitbutton.css"; 29 | /*弹出菜单*/ 30 | @import "popup.css"; 31 | /*提示消息*/ 32 | @import "message.css"; 33 | 34 | 35 | /*-------独立按钮样式,按需加载-------*/ 36 | /*弹出对话框样式*/ 37 | @import "dialog.css"; 38 | /*段落格式弹出菜单*/ 39 | @import "paragraphpicker.css"; 40 | /*表格弹出菜单*/ 41 | @import "tablepicker.css"; 42 | /*颜色弹出菜单*/ 43 | @import "colorpicker.css"; 44 | /*自动排版弹出菜单*/ 45 | @import "autotypesetpicker.css"; 46 | /*平均分布菜单*/ 47 | @import "cellalignpicker.css"; 48 | /*分隔线*/ 49 | @import "separtor.css"; 50 | /*颜色按钮--依赖splitbutton*/ 51 | @import "colorbutton.css"; 52 | /*表情按钮--依赖splitbutton*/ 53 | @import "multiMenu.css"; 54 | /*右键菜单*/ 55 | @import "contextmenu.css"; 56 | /*快捷菜单*/ 57 | @import "shortcutmenu.css"; 58 | /*粘贴提示*/ 59 | @import "pastepicker.css"; -------------------------------------------------------------------------------- /static/ueditor/third-party/highcharts/modules/no-data-to-display.js: -------------------------------------------------------------------------------- 1 | /* 2 | Highcharts JS v3.0.6 (2013-10-04) 3 | Plugin for displaying a message when there is no data visible in chart. 4 | 5 | (c) 2010-2013 Highsoft AS 6 | Author: Øystein Moseng 7 | 8 | License: www.highcharts.com/license 9 | */ 10 | (function(c){function f(){return!!this.points.length}function g(){this.hasData()?this.hideNoData():this.showNoData()}var d=c.seriesTypes,e=c.Chart.prototype,h=c.getOptions(),i=c.extend;i(h.lang,{noData:"No data to display"});h.noData={position:{x:0,y:0,align:"center",verticalAlign:"middle"},attr:{},style:{fontWeight:"bold",fontSize:"12px",color:"#60606a"}};d.pie.prototype.hasData=f;if(d.gauge)d.gauge.prototype.hasData=f;if(d.waterfall)d.waterfall.prototype.hasData=f;c.Series.prototype.hasData=function(){return this.dataMax!== 11 | void 0&&this.dataMin!==void 0};e.showNoData=function(a){var b=this.options,a=a||b.lang.noData,b=b.noData;if(!this.noDataLabel)this.noDataLabel=this.renderer.label(a,0,0,null,null,null,null,null,"no-data").attr(b.attr).css(b.style).add(),this.noDataLabel.align(i(this.noDataLabel.getBBox(),b.position),!1,"plotBox")};e.hideNoData=function(){if(this.noDataLabel)this.noDataLabel=this.noDataLabel.destroy()};e.hasData=function(){for(var a=this.series,b=a.length;b--;)if(a[b].hasData()&&!a[b].options.isInternal)return!0; 12 | return!1};e.callbacks.push(function(a){c.addEvent(a,"load",g);c.addEvent(a,"redraw",g)})})(Highcharts); 13 | -------------------------------------------------------------------------------- /static/ueditor/_test/core/ajax.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/elementpath.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 选取路径命令 3 | * @file 4 | */ 5 | UE.plugins['elementpath'] = function(){ 6 | var currentLevel, 7 | tagNames, 8 | me = this; 9 | me.setOpt('elementPathEnabled',true); 10 | if(!me.options.elementPathEnabled){ 11 | return; 12 | } 13 | me.commands['elementpath'] = { 14 | execCommand : function( cmdName, level ) { 15 | var start = tagNames[level], 16 | range = me.selection.getRange(); 17 | currentLevel = level*1; 18 | range.selectNode(start).select(); 19 | }, 20 | queryCommandValue : function() { 21 | //产生一个副本,不能修改原来的startElementPath; 22 | var parents = [].concat(this.selection.getStartElementPath()).reverse(), 23 | names = []; 24 | tagNames = parents; 25 | for(var i=0,ci;ci=parents[i];i++){ 26 | if(ci.nodeType == 3) { 27 | continue; 28 | } 29 | var name = ci.tagName.toLowerCase(); 30 | if(name == 'img' && ci.getAttribute('anchorname')){ 31 | name = 'anchor'; 32 | } 33 | names[i] = name; 34 | if(currentLevel == i){ 35 | currentLevel = -1; 36 | break; 37 | } 38 | } 39 | return names; 40 | } 41 | }; 42 | }; 43 | 44 | -------------------------------------------------------------------------------- /static/ueditor/_src/ui/menubutton.js: -------------------------------------------------------------------------------- 1 | ///import core 2 | ///import uicore 3 | ///import ui/menu.js 4 | ///import ui/splitbutton.js 5 | (function (){ 6 | var utils = baidu.editor.utils, 7 | Menu = baidu.editor.ui.Menu, 8 | SplitButton = baidu.editor.ui.SplitButton, 9 | MenuButton = baidu.editor.ui.MenuButton = function (options){ 10 | this.initOptions(options); 11 | this.initMenuButton(); 12 | }; 13 | MenuButton.prototype = { 14 | initMenuButton: function (){ 15 | var me = this; 16 | this.uiName = "menubutton"; 17 | this.popup = new Menu({ 18 | items: me.items, 19 | className: me.className, 20 | editor:me.editor 21 | }); 22 | this.popup.addListener('show', function (){ 23 | var list = this; 24 | for (var i=0; i'; 24 | me.editor.container.style.zIndex && (this.getDom().style.zIndex = me.editor.container.style.zIndex * 1 + 1); 25 | } 26 | } 27 | // canSideUp:false, 28 | // canSideLeft:false 29 | }); 30 | this.onbuttonclick = function(){ 31 | this.showPopup(); 32 | }; 33 | this.initSplitButton(); 34 | } 35 | 36 | }; 37 | 38 | utils.inherits(MultiMenuPop, SplitButton); 39 | })(); 40 | -------------------------------------------------------------------------------- /static/ueditor/_examples/customizeToolbarUIDemo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 完整demo 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 26 | 27 | 28 |
29 |

二次开发demo

30 | 31 |
32 | 33 | 43 | -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/lineheight.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 设置行内间距 3 | * @file 4 | * @since 1.2.6.1 5 | */ 6 | UE.plugins['lineheight'] = function(){ 7 | var me = this; 8 | me.setOpt({'lineheight':['1', '1.5','1.75','2', '3', '4', '5']}); 9 | 10 | /** 11 | * 行距 12 | * @command lineheight 13 | * @method execCommand 14 | * @param { String } cmdName 命令字符串 15 | * @param { String } value 传入的行高值, 该值是当前字体的倍数, 例如: 1.5, 1.75 16 | * @example 17 | * ```javascript 18 | * editor.execCommand( 'lineheight', 1.5); 19 | * ``` 20 | */ 21 | /** 22 | * 查询当前选区内容的行高大小 23 | * @command lineheight 24 | * @method queryCommandValue 25 | * @param { String } cmd 命令字符串 26 | * @return { String } 返回当前行高大小 27 | * @example 28 | * ```javascript 29 | * editor.queryCommandValue( 'lineheight' ); 30 | * ``` 31 | */ 32 | 33 | me.commands['lineheight'] = { 34 | execCommand : function( cmdName,value ) { 35 | this.execCommand('paragraph','p',{style:'line-height:'+ (value == "1" ? "normal" : value + 'em') }); 36 | return true; 37 | }, 38 | queryCommandValue : function() { 39 | var pN = domUtils.filterNodeList(this.selection.getStartElementPath(),function(node){return domUtils.isBlockElm(node)}); 40 | if(pN){ 41 | var value = domUtils.getComputedStyle(pN,'line-height'); 42 | return value == 'normal' ? 1 : value.replace(/[^\d.]*/ig,""); 43 | } 44 | } 45 | }; 46 | }; 47 | 48 | 49 | -------------------------------------------------------------------------------- /static/ueditor/asp/controller.asp: -------------------------------------------------------------------------------- 1 | <%@ LANGUAGE="VBSCRIPT" CODEPAGE="65001" %> 2 | <% 3 | action = Request.Item("action") 4 | 5 | Session.Contents.Remove("ueditor_asp_uploadTemplateName") 6 | Session.Contents.Remove("ueditor_asp_base64Upload") 7 | Session.Contents.Remove("ueditor_asp_listTemplateName") 8 | 9 | 10 | Select Case action 11 | 12 | Case "config" 13 | Server.Execute("action_config.asp") 14 | 15 | Case "uploadimage" 16 | Session.Value("ueditor_asp_uploadTemplateName") = "image" 17 | Server.Execute("action_upload.asp") 18 | 19 | Case "uploadscrawl" 20 | Session.Value("ueditor_asp_uploadTemplateName") = "scrawl" 21 | Session.Value("base64Upload") = "scrawl.png" 22 | Server.Execute("action_upload.asp") 23 | 24 | Case "uploadvideo" 25 | Session.Value("ueditor_asp_uploadTemplateName") = "video" 26 | Server.Execute("action_upload.asp") 27 | 28 | Case "uploadfile" 29 | Session.Value("ueditor_asp_uploadTemplateName") = "file" 30 | Server.Execute("action_upload.asp") 31 | 32 | Case "listimage" 33 | Session.Value("ueditor_asp_listTemplateName") = "image" 34 | Server.Execute("action_list.asp") 35 | 36 | Case "listfile" 37 | Session.Value("ueditor_asp_listTemplateName") = "file" 38 | Server.Execute("action_list.asp") 39 | 40 | Case "catchimage" 41 | Server.Execute("action_crawler.asp") 42 | End Select 43 | 44 | %> -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/template.js: -------------------------------------------------------------------------------- 1 | ///import core 2 | ///import plugins\inserthtml.js 3 | ///import plugins\cleardoc.js 4 | ///commands 模板 5 | ///commandsName template 6 | ///commandsTitle 模板 7 | ///commandsDialog dialogs\template 8 | UE.plugins['template'] = function () { 9 | UE.commands['template'] = { 10 | execCommand:function (cmd, obj) { 11 | obj.html && this.execCommand("inserthtml", obj.html); 12 | } 13 | }; 14 | this.addListener("click", function (type, evt) { 15 | var el = evt.target || evt.srcElement, 16 | range = this.selection.getRange(); 17 | var tnode = domUtils.findParent(el, function (node) { 18 | if (node.className && domUtils.hasClass(node, "ue_t")) { 19 | return node; 20 | } 21 | }, true); 22 | tnode && range.selectNode(tnode).shrinkBoundary().select(); 23 | }); 24 | this.addListener("keydown", function (type, evt) { 25 | var range = this.selection.getRange(); 26 | if (!range.collapsed) { 27 | if (!evt.ctrlKey && !evt.metaKey && !evt.shiftKey && !evt.altKey) { 28 | var tnode = domUtils.findParent(range.startContainer, function (node) { 29 | if (node.className && domUtils.hasClass(node, "ue_t")) { 30 | return node; 31 | } 32 | }, true); 33 | if (tnode) { 34 | domUtils.removeClasses(tnode, ["ue_t"]); 35 | } 36 | } 37 | } 38 | }); 39 | }; 40 | -------------------------------------------------------------------------------- /static/ueditor/_examples/addCustomizeDialog.js: -------------------------------------------------------------------------------- 1 | UE.registerUI('dialog',function(editor,uiName){ 2 | 3 | //创建dialog 4 | var dialog = new UE.ui.Dialog({ 5 | //指定弹出层中页面的路径,这里只能支持页面,因为跟addCustomizeDialog.js相同目录,所以无需加路径 6 | iframeUrl:'customizeDialogPage.html', 7 | //需要指定当前的编辑器实例 8 | editor:editor, 9 | //指定dialog的名字 10 | name:uiName, 11 | //dialog的标题 12 | title:"这是个测试浮层", 13 | 14 | //指定dialog的外围样式 15 | cssRules:"width:600px;height:300px;", 16 | 17 | //如果给出了buttons就代表dialog有确定和取消 18 | buttons:[ 19 | { 20 | className:'edui-okbutton', 21 | label:'确定', 22 | onclick:function () { 23 | dialog.close(true); 24 | } 25 | }, 26 | { 27 | className:'edui-cancelbutton', 28 | label:'取消', 29 | onclick:function () { 30 | dialog.close(false); 31 | } 32 | } 33 | ]}); 34 | 35 | //参考addCustomizeButton.js 36 | var btn = new UE.ui.Button({ 37 | name:'dialogbutton' + uiName, 38 | title:'dialogbutton' + uiName, 39 | //需要添加的额外样式,指定icon图标,这里默认使用一个重复的icon 40 | cssRules :'background-position: -500px 0;', 41 | onclick:function () { 42 | //渲染dialog 43 | dialog.render(); 44 | dialog.open(); 45 | } 46 | }); 47 | 48 | return btn; 49 | }/*index 指定添加到工具栏上的那个位置,默认时追加到最后,editorId 指定这个UI是那个编辑器实例上的,默认是页面上所有的编辑器都会添加这个按钮*/); -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/filehelper.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/table/edittable.css: -------------------------------------------------------------------------------- 1 | body{ 2 | overflow: hidden; 3 | width: 540px; 4 | } 5 | .wrapper { 6 | margin: 10px auto 0; 7 | font-size: 12px; 8 | overflow: hidden; 9 | width: 520px; 10 | height: 315px; 11 | } 12 | 13 | .clear { 14 | clear: both; 15 | } 16 | 17 | .wrapper .left { 18 | float: left; 19 | margin-left: 10px;; 20 | } 21 | 22 | .wrapper .right { 23 | float: right; 24 | border-left: 2px dotted #EDEDED; 25 | padding-left: 15px; 26 | } 27 | 28 | .section { 29 | margin-bottom: 15px; 30 | width: 240px; 31 | overflow: hidden; 32 | } 33 | 34 | .section h3 { 35 | font-weight: bold; 36 | padding: 5px 0; 37 | margin-bottom: 10px; 38 | border-bottom: 1px solid #EDEDED; 39 | font-size: 12px; 40 | } 41 | 42 | .section ul { 43 | list-style: none; 44 | overflow: hidden; 45 | clear: both; 46 | 47 | } 48 | 49 | .section li { 50 | float: left; 51 | width: 120px;; 52 | } 53 | 54 | .section .tone { 55 | width: 80px;; 56 | } 57 | 58 | .section .preview { 59 | width: 220px; 60 | } 61 | 62 | .section .preview table { 63 | text-align: center; 64 | vertical-align: middle; 65 | color: #666; 66 | } 67 | 68 | .section .preview caption { 69 | font-weight: bold; 70 | } 71 | 72 | .section .preview td { 73 | border-width: 1px; 74 | border-style: solid; 75 | height: 22px; 76 | } 77 | 78 | .section .preview th { 79 | border-style: solid; 80 | border-color: #DDD; 81 | border-width: 2px 1px 1px 1px; 82 | height: 22px; 83 | background-color: #F7F7F7; 84 | } -------------------------------------------------------------------------------- /static/ueditor/jsp/src/com/baidu/ueditor/upload/Base64Uploader.java: -------------------------------------------------------------------------------- 1 | package com.baidu.ueditor.upload; 2 | 3 | import com.baidu.ueditor.PathFormat; 4 | import com.baidu.ueditor.define.AppInfo; 5 | import com.baidu.ueditor.define.BaseState; 6 | import com.baidu.ueditor.define.FileType; 7 | import com.baidu.ueditor.define.State; 8 | 9 | import java.util.Map; 10 | 11 | import org.apache.commons.codec.binary.Base64; 12 | 13 | public final class Base64Uploader { 14 | 15 | public static State save(String content, Map conf) { 16 | 17 | byte[] data = decode(content); 18 | 19 | long maxSize = ((Long) conf.get("maxSize")).longValue(); 20 | 21 | if (!validSize(data, maxSize)) { 22 | return new BaseState(false, AppInfo.MAX_SIZE); 23 | } 24 | 25 | String suffix = FileType.getSuffix("JPG"); 26 | 27 | String savePath = PathFormat.parse((String) conf.get("savePath"), 28 | (String) conf.get("filename")); 29 | 30 | savePath = savePath + suffix; 31 | String physicalPath = (String) conf.get("rootPath") + savePath; 32 | 33 | State storageState = StorageManager.saveBinaryFile(data, physicalPath); 34 | 35 | if (storageState.isSuccess()) { 36 | storageState.putInfo("url", PathFormat.format(savePath)); 37 | storageState.putInfo("type", suffix); 38 | storageState.putInfo("original", ""); 39 | } 40 | 41 | return storageState; 42 | } 43 | 44 | private static byte[] decode(String content) { 45 | return Base64.decodeBase64(content); 46 | } 47 | 48 | private static boolean validSize(byte[] data, long length) { 49 | return data.length <= length; 50 | } 51 | 52 | } -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/time.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 插入时间和日期 3 | * @file 4 | * @since 1.2.6.1 5 | */ 6 | 7 | /** 8 | * 插入时间,默认格式:12:59:59 9 | * @command time 10 | * @method execCommand 11 | * @param { String } cmd 命令字符串 12 | * @example 13 | * ```javascript 14 | * editor.execCommand( 'time'); 15 | * ``` 16 | */ 17 | 18 | /** 19 | * 插入日期,默认格式:2013-08-30 20 | * @command date 21 | * @method execCommand 22 | * @param { String } cmd 命令字符串 23 | * @example 24 | * ```javascript 25 | * editor.execCommand( 'date'); 26 | * ``` 27 | */ 28 | UE.commands['time'] = UE.commands["date"] = { 29 | execCommand : function(cmd, format){ 30 | var date = new Date; 31 | 32 | function formatTime(date, format) { 33 | var hh = ('0' + date.getHours()).slice(-2), 34 | ii = ('0' + date.getMinutes()).slice(-2), 35 | ss = ('0' + date.getSeconds()).slice(-2); 36 | format = format || 'hh:ii:ss'; 37 | return format.replace(/hh/ig, hh).replace(/ii/ig, ii).replace(/ss/ig, ss); 38 | } 39 | function formatDate(date, format) { 40 | var yyyy = ('000' + date.getFullYear()).slice(-4), 41 | yy = yyyy.slice(-2), 42 | mm = ('0' + (date.getMonth()+1)).slice(-2), 43 | dd = ('0' + date.getDate()).slice(-2); 44 | format = format || 'yyyy-mm-dd'; 45 | return format.replace(/yyyy/ig, yyyy).replace(/yy/ig, yy).replace(/mm/ig, mm).replace(/dd/ig, dd); 46 | } 47 | 48 | this.execCommand('insertHtml',cmd == "time" ? formatTime(date, format):formatDate(date, format) ); 49 | } 50 | }; 51 | -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/lib/Staf.php: -------------------------------------------------------------------------------- 1 | ]] COMMAND [PARMS ] 19 | * @param $path 20 | * @param $params 21 | * @param $host 22 | */ 23 | public static function process_start($path, $params, $host='local', $wait=false){ 24 | $cmd = "start shell command \\\"\"$path\"\\\" parms \\\"\"$params\"\\\""; 25 | if($wait){ 26 | $cmd.=" wait returnstdout returnstderr"; 27 | } 28 | return self::process($cmd, $host); 29 | } 30 | 31 | /** 32 | * STOP | HANDLE > [USING ] 33 | * @param unknown_type $handle 34 | * @param unknown_type $host 35 | */ 36 | public static function process_stop($handle, $host='local', $all=0){ 37 | $cmd = $all ? "STOP ALL CONFIRM":"STOP HANDLE $handle"; 38 | return self::process($cmd, $host); 39 | } 40 | 41 | public static function queryHandle($browser){ 42 | $filename = "temp\\$browser"; 43 | if(file_exists($filename)){ 44 | $handle = file_get_contents($filename); 45 | delete($filename); 46 | return $handle; 47 | } 48 | return false; 49 | } 50 | 51 | public static function saveHandle($browser){ 52 | $filename = "temp\\$browser"; 53 | $fp = fopen($filename, 'w'); 54 | fwrite($fp, 'test'); 55 | fclose($fp); 56 | } 57 | } 58 | ?> -------------------------------------------------------------------------------- /static/ueditor/_src/plugins/convertcase.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 大小写转换 3 | * @file 4 | * @since 1.2.6.1 5 | */ 6 | 7 | /** 8 | * 把选区内文本变大写,与“tolowercase”命令互斥 9 | * @command touppercase 10 | * @method execCommand 11 | * @param { String } cmd 命令字符串 12 | * @example 13 | * ```javascript 14 | * editor.execCommand( 'touppercase' ); 15 | * ``` 16 | */ 17 | 18 | /** 19 | * 把选区内文本变小写,与“touppercase”命令互斥 20 | * @command tolowercase 21 | * @method execCommand 22 | * @param { String } cmd 命令字符串 23 | * @example 24 | * ```javascript 25 | * editor.execCommand( 'tolowercase' ); 26 | * ``` 27 | */ 28 | UE.commands['touppercase'] = 29 | UE.commands['tolowercase'] = { 30 | execCommand:function (cmd) { 31 | var me = this; 32 | var rng = me.selection.getRange(); 33 | if(rng.collapsed){ 34 | return rng; 35 | } 36 | var bk = rng.createBookmark(), 37 | bkEnd = bk.end, 38 | filterFn = function( node ) { 39 | return !domUtils.isBr(node) && !domUtils.isWhitespace( node ); 40 | }, 41 | curNode = domUtils.getNextDomNode( bk.start, false, filterFn ); 42 | while ( curNode && (domUtils.getPosition( curNode, bkEnd ) & domUtils.POSITION_PRECEDING) ) { 43 | 44 | if ( curNode.nodeType == 3 ) { 45 | curNode.nodeValue = curNode.nodeValue[cmd == 'touppercase' ? 'toUpperCase' : 'toLowerCase'](); 46 | } 47 | curNode = domUtils.getNextDomNode( curNode, true, filterFn ); 48 | if(curNode === bkEnd){ 49 | break; 50 | } 51 | 52 | } 53 | rng.moveToBookmark(bk).select(); 54 | } 55 | }; 56 | 57 | -------------------------------------------------------------------------------- /static/ueditor/_parse/insertcode.js: -------------------------------------------------------------------------------- 1 | UE.parse.register('insertcode',function(utils){ 2 | var pres = this.root.getElementsByTagName('pre'); 3 | if(pres.length){ 4 | if(typeof XRegExp == "undefined"){ 5 | var jsurl,cssurl; 6 | if(this.rootPath !== undefined){ 7 | jsurl = utils.removeLastbs(this.rootPath) + '/third-party/SyntaxHighlighter/shCore.js'; 8 | cssurl = utils.removeLastbs(this.rootPath) + '/third-party/SyntaxHighlighter/shCoreDefault.css'; 9 | }else{ 10 | jsurl = this.highlightJsUrl; 11 | cssurl = this.highlightCssUrl; 12 | } 13 | utils.loadFile(document,{ 14 | id : "syntaxhighlighter_css", 15 | tag : "link", 16 | rel : "stylesheet", 17 | type : "text/css", 18 | href : cssurl 19 | }); 20 | utils.loadFile(document,{ 21 | id : "syntaxhighlighter_js", 22 | src : jsurl, 23 | tag : "script", 24 | type : "text/javascript", 25 | defer : "defer" 26 | },function(){ 27 | utils.each(pres,function(pi){ 28 | if(pi && /brush/i.test(pi.className)){ 29 | SyntaxHighlighter.highlight(pi); 30 | } 31 | }); 32 | }); 33 | }else{ 34 | utils.each(pres,function(pi){ 35 | if(pi && /brush/i.test(pi.className)){ 36 | SyntaxHighlighter.highlight(pi); 37 | } 38 | }); 39 | } 40 | } 41 | 42 | }); -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/run.php: -------------------------------------------------------------------------------- 1 | '; 6 | } 7 | ; 8 | require_once "case.class.php"; 9 | $c = new Kiss( '../../../' , $_GET[ 'case' ] ); 10 | $title = $c->name; 11 | $cov = array_key_exists( 'cov' , $_GET ); 12 | ?> 13 | 14 | 15 | 16 | <?php print( "run case $title" );?> 17 | print_js( $cov ); ?> 18 | 19 | 20 |

name );?>

21 | 22 |

23 | 24 |

25 |
    26 | 40 |
    41 | 42 | 43 | 44 |
    45 | 46 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/charts/chart.config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 图表配置文件 3 | * */ 4 | 5 | 6 | //不同类型的配置 7 | var typeConfig = [ 8 | { 9 | chart: { 10 | type: 'line' 11 | }, 12 | plotOptions: { 13 | line: { 14 | dataLabels: { 15 | enabled: false 16 | }, 17 | enableMouseTracking: true 18 | } 19 | } 20 | }, { 21 | chart: { 22 | type: 'line' 23 | }, 24 | plotOptions: { 25 | line: { 26 | dataLabels: { 27 | enabled: true 28 | }, 29 | enableMouseTracking: false 30 | } 31 | } 32 | }, { 33 | chart: { 34 | type: 'area' 35 | } 36 | }, { 37 | chart: { 38 | type: 'bar' 39 | } 40 | }, { 41 | chart: { 42 | type: 'column' 43 | } 44 | }, { 45 | chart: { 46 | plotBackgroundColor: null, 47 | plotBorderWidth: null, 48 | plotShadow: false 49 | }, 50 | plotOptions: { 51 | pie: { 52 | allowPointSelect: true, 53 | cursor: 'pointer', 54 | dataLabels: { 55 | enabled: true, 56 | color: '#000000', 57 | connectorColor: '#000000', 58 | formatter: function() { 59 | return ''+ this.point.name +': '+ ( Math.round( this.point.percentage*100 ) / 100 ) +' %'; 60 | } 61 | } 62 | } 63 | } 64 | } 65 | ]; 66 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/help/help.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created with JetBrains PhpStorm. 3 | * User: xuheng 4 | * Date: 12-9-26 5 | * Time: 下午1:06 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | /** 9 | * tab点击处理事件 10 | * @param tabHeads 11 | * @param tabBodys 12 | * @param obj 13 | */ 14 | function clickHandler( tabHeads,tabBodys,obj ) { 15 | //head样式更改 16 | for ( var k = 0, len = tabHeads.length; k < len; k++ ) { 17 | tabHeads[k].className = ""; 18 | } 19 | obj.className = "focus"; 20 | //body显隐 21 | var tabSrc = obj.getAttribute( "tabSrc" ); 22 | for ( var j = 0, length = tabBodys.length; j < length; j++ ) { 23 | var body = tabBodys[j], 24 | id = body.getAttribute( "id" ); 25 | body.onclick = function(){ 26 | this.style.zoom = 1; 27 | }; 28 | if ( id != tabSrc ) { 29 | body.style.zIndex = 1; 30 | } else { 31 | body.style.zIndex = 200; 32 | } 33 | } 34 | 35 | } 36 | 37 | /** 38 | * TAB切换 39 | * @param tabParentId tab的父节点ID或者对象本身 40 | */ 41 | function switchTab( tabParentId ) { 42 | var tabElements = $G( tabParentId ).children, 43 | tabHeads = tabElements[0].children, 44 | tabBodys = tabElements[1].children; 45 | 46 | for ( var i = 0, length = tabHeads.length; i < length; i++ ) { 47 | var head = tabHeads[i]; 48 | if ( head.className === "focus" )clickHandler(tabHeads,tabBodys, head ); 49 | head.onclick = function () { 50 | clickHandler(tabHeads,tabBodys,this); 51 | } 52 | } 53 | } 54 | switchTab("helptab"); 55 | 56 | document.getElementById('version').innerHTML = parent.UE.version; -------------------------------------------------------------------------------- /static/ueditor/php/controller.php: -------------------------------------------------------------------------------- 1 | '请求地址出错' 44 | )); 45 | break; 46 | } 47 | 48 | /* 输出结果 */ 49 | if (isset($_GET["callback"])) { 50 | if (preg_match("/^[\w_]+$/", $_GET["callback"])) { 51 | echo htmlspecialchars($_GET["callback"]) . '(' . $result . ')'; 52 | } else { 53 | echo json_encode(array( 54 | 'state'=> 'callback参数不合法' 55 | )); 56 | } 57 | } else { 58 | echo $result; 59 | } -------------------------------------------------------------------------------- /static/ueditor/themes/default/css/cellalignpicker.css: -------------------------------------------------------------------------------- 1 | /*自动排版弹出菜单*/ 2 | .edui-default .edui-cellalignpicker .edui-cellalignpicker-body { 3 | width: 70px; 4 | font-size: 12px; 5 | cursor: default; 6 | } 7 | 8 | .edui-default .edui-cellalignpicker-body table { 9 | border-collapse: separate; 10 | border-spacing: 0; 11 | } 12 | .edui-default .edui-cellalignpicker-body td{ 13 | padding: 1px; 14 | } 15 | .edui-default .edui-cellalignpicker-body .edui-icon{ 16 | height: 20px; 17 | width: 20px; 18 | padding: 1px; 19 | background-image: url(../images/table-cell-align.png); 20 | } 21 | 22 | .edui-default .edui-cellalignpicker-body .edui-left{ 23 | background-position: 0 0; 24 | } 25 | 26 | .edui-default .edui-cellalignpicker-body .edui-center{ 27 | background-position: -25px 0; 28 | } 29 | .edui-default .edui-cellalignpicker-body .edui-right{ 30 | background-position: -51px 0; 31 | } 32 | 33 | .edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-left{ 34 | background-position: -73px 0; 35 | } 36 | 37 | .edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-center{ 38 | background-position: -98px 0; 39 | } 40 | 41 | .edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-right{ 42 | background-position: -124px 0; 43 | } 44 | 45 | .edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-left { 46 | background-position: -146px 0; 47 | background-color: #f1f4f5; 48 | } 49 | 50 | .edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-center { 51 | background-position: -245px 0; 52 | } 53 | 54 | .edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-right { 55 | background-position: -271px 0; 56 | } -------------------------------------------------------------------------------- /static/ueditor/_examples/jqueryCompleteDemo.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 使用jquery的完整demo 6 | 7 | 8 | 9 | 10 | 34 | 35 | 36 |
    37 | 40 | 41 |
    42 | 43 | -------------------------------------------------------------------------------- /static/ueditor/_test/tools/br/log.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/anchor/anchor.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 13 | 14 | 15 |
    16 | 17 |
    18 | 19 | 39 | 40 | -------------------------------------------------------------------------------- /static/ueditor/_test/core/localstorage.js: -------------------------------------------------------------------------------- 1 | module("core.localstorage"); 2 | 3 | test('用 UE.LocalStorage 对字符串做保存/读取/删除操作', function () { 4 | 5 | var str = '1234567890-=!@#$%^&*()_+qwertyuiopasdfghjklzxcvbnm,./<>?;\':"[]\\{}|'; 6 | UE.LocalStorage.saveLocalData('test_string1', str); 7 | equal(UE.LocalStorage.getLocalData('test_string1'), str, "保存内容,并读取内容"); 8 | 9 | UE.LocalStorage.saveLocalData('test_string2', str); 10 | UE.LocalStorage.removeItem('test_string2'); 11 | equal(UE.LocalStorage.getLocalData('test_string2'), undefined, "保存内容,并删除内容"); 12 | 13 | }); 14 | 15 | test('偏好设置相关方法setPreferencesue、getPreferences、removePreferences', function () { 16 | 17 | var editor = te.obj[1]; 18 | 19 | var str = '1234567890-=!@#$%^&*()_+qwertyuiopasdfghjklzxcvbnm,./<>?;\':"[]\\{}|'; 20 | editor.setPreferences('test_string', str); 21 | equal(editor.getPreferences('test_string'), str, "保存字符串,并读取内容"); 22 | 23 | var obj = { 24 | nul: null, 25 | boo1: true, 26 | boo2: false, 27 | str: 'aaa', 28 | arr: [1, '2', 'a'], 29 | obj: {k1:1, k2:'2', k3:'a'} 30 | }; 31 | editor.setPreferences('test_object', obj); 32 | same(editor.getPreferences('test_object'), obj, "保存键值对象,并读取内容"); 33 | 34 | editor.setPreferences('test_boolean', true); 35 | equal(editor.getPreferences('test_boolean'), true, "保存布尔值,并读取内容"); 36 | 37 | var arr = [1, '2', 'a']; 38 | editor.setPreferences('test_string', arr); 39 | same(editor.getPreferences('test_string'), arr, "保存数组,并读取内容"); 40 | 41 | var tmpStr = 'string_content'; 42 | editor.setPreferences('test_delete', tmpStr); 43 | editor.removePreferences('test_delete'); 44 | equal(editor.getPreferences('test_delete'), undefined, "保存字符串,并删除内容"); 45 | 46 | }); -------------------------------------------------------------------------------- /static/ueditor/_examples/submitFormDemo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 14 | 15 | 16 |

    UEditor提交示例

    17 |
    18 | 21 | 22 |
    23 |

    24 | 从1.2.6开始,会自动同步数据无需再手动调用sync方法 25 | 26 | 27 |

    28 | 29 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /static/ueditor/_test/plugins/wordcount.js: -------------------------------------------------------------------------------- 1 | module('plugins.wordcount'); 2 | 3 | test('trace 1743 右键删除后计算字数', function () { 4 | var editor = te.obj[0]; 5 | var range = te.obj[1]; 6 | editor.setContent('

    hello

    '); 7 | setTimeout(function () { 8 | range.setStart(editor.body.firstChild, 0).collapse(true).select(); 9 | editor.execCommand('selectall'); 10 | editor.execCommand('cleardoc'); 11 | equal(editor.getContentLength(true), 0, '插入成功'); 12 | 13 | start(); 14 | }, 50); 15 | stop(); 16 | }); 17 | 18 | test('空格', function () { 19 | var editor = te.obj[0]; 20 | var range = te.obj[1]; 21 | editor.setContent(' \ufeff\u200B\t\t \n\n\t\n\b\t\n\b\u200B\t\t\n\n '); 22 | if (ua.browser.ie) 23 | equal(editor.getContentLength(true), 23, '清空后编辑器中23个空格'); 24 | else 25 | equal(editor.getContentLength(true), 22, '清空后编辑器中22个空格'); 26 | }); 27 | 28 | test(' trace 3744 超出最大', function () { 29 | 30 | var div = document.body.appendChild(document.createElement('div')); 31 | div.id = 'ue'; 32 | var editor = UE.getEditor('ue', {'UEDITOR_HOME_URL': '../../../', 'wordCount': true, 'maximumWords': 10,'initialContent':'','autoFloatEnabled': false}); 33 | editor.ready(function () { 34 | 35 | expect(2); 36 | editor.addListener("wordcountoverflow", function () { 37 | ok(true, "超出最大"); 38 | setTimeout(function () { 39 | UE.delEditor('ue'); 40 | start(); 41 | }, 500); 42 | }); 43 | setTimeout(function () { 44 | editor.setContent('hello hello hello'); 45 | equal(editor.getContentLength(true), 17, '仅统计字数') 46 | 47 | }, 50); 48 | }); 49 | stop(); 50 | }); 51 | -------------------------------------------------------------------------------- /static/ueditor/_test/plugins/copy.js: -------------------------------------------------------------------------------- 1 | module('plugins.copy'); 2 | 3 | //需要点击授权弹出框,暂时去除 4 | //test('检查IE下复制命令是否执行正常', function () { 5 | // 6 | // if (browser.ie) { 7 | // var editor = te.obj[0]; 8 | // editor.setContent('

    hello

    '); 9 | // editor.focus(); 10 | // 11 | // editor.execCommand('selectall'); 12 | // editor.execCommand('copy'); 13 | // editor.body.innerHTML = ''; 14 | // editor.execCommand('selectall'); 15 | // editor.body.document.execCommand('paste'); 16 | // 17 | // equal(utils.trim(window.clipboardData.getData('text')), 'hello', '检查粘贴板内容,IE下成功复制内容'); 18 | // setTimeout(function(){ 19 | // equal(editor.getContent(), '

    hello

    ', '检查原生粘贴命令,IE下成功复制内容'); 20 | // start(); 21 | // },100); 22 | // 23 | // stop(); 24 | // } 25 | // 26 | //}); 27 | 28 | test('检查非IE下是否正常加载zeroclipboard粘贴板插件', function () { 29 | te.dom[0].parentNode.removeChild(te.dom[0]); 30 | var sc = document.createElement("script"); 31 | sc.id="sc"; 32 | sc.type = "text/plain"; 33 | sc.style.height = "100px"; 34 | document.body.appendChild(sc); 35 | var me = UE.getEditor('sc',{'autoFloatEnabled':true,'topOffset':60,'autoHeightEnabled':true,'scaleEnabled':false}); 36 | me.ready(function(){ 37 | setTimeout(function(){ 38 | if (!browser.ie) { 39 | ok(window.ZeroClipboard, '是否正常加载zeroclipboard粘贴板插件'); 40 | } 41 | setTimeout(function () { 42 | UE.delEditor('sc'); 43 | document.getElementById('sc')&&document.getElementById('sc').parentNode.removeChild(document.getElementById('sc')); 44 | start(); 45 | }, 500); 46 | }, 300); 47 | }); 48 | stop(); 49 | 50 | }); -------------------------------------------------------------------------------- /static/ueditor/dialogs/music/music.css: -------------------------------------------------------------------------------- 1 | .wrapper{margin: 5px 10px;} 2 | 3 | .searchBar{height:30px;padding:7px 0 3px;text-align:center;} 4 | .searchBtn{font-size:13px;height:24px;} 5 | 6 | .resultBar{width:460px;margin:5px auto;border: 1px solid #CCC;border-radius: 5px;box-shadow: 2px 2px 5px #D3D6DA;overflow: hidden;} 7 | 8 | .listPanel{overflow: hidden;} 9 | .panelon{display:block;} 10 | .paneloff{display:none} 11 | 12 | .page{width:220px;margin:20px auto;overflow: hidden;} 13 | .pageon{float:right;width:24px;line-height:24px;height:24px;margin-right: 5px;background: none;border: none;color: #000;font-weight: bold;text-align:center} 14 | .pageoff{float:right;width:24px;line-height:24px;height:24px;cursor:pointer;background-color: #fff; 15 | border: 1px solid #E7ECF0;color: #2D64B3;margin-right: 5px;text-decoration: none;text-align:center;} 16 | 17 | .m-box{width:460px;} 18 | .m-m{float: left;line-height: 20px;height: 20px;} 19 | .m-h{height:24px;line-height:24px;padding-left: 46px;background-color:#FAFAFA;border-bottom: 1px solid #DAD8D8;font-weight: bold;font-size: 12px;color: #333;} 20 | .m-l{float:left;width:40px; } 21 | .m-t{float:left;width:140px;} 22 | .m-s{float:left;width:110px;} 23 | .m-z{float:left;width:100px;} 24 | .m-try-t{float: left;width: 60px;;} 25 | 26 | .m-try{float:left;width:20px;height:20px;background:url('http://static.tieba.baidu.com/tb/editor/images/try_music.gif') no-repeat ;} 27 | .m-trying{float:left;width:20px;height:20px;background:url('http://static.tieba.baidu.com/tb/editor/images/stop_music.gif') no-repeat ;} 28 | 29 | .loading{width:95px;height:7px;font-size:7px;margin:60px auto;background:url(http://static.tieba.baidu.com/tb/editor/images/loading.gif) no-repeat} 30 | .empty{width:300px;height:40px;padding:2px;margin:50px auto;line-height:40px; color:#006699;text-align:center;} -------------------------------------------------------------------------------- /static/ueditor/themes/default/css/message.css: -------------------------------------------------------------------------------- 1 | .edui-default .edui-editor-messageholder { 2 | display: block; 3 | width: 150px; 4 | height: auto; 5 | border: 0; 6 | margin: 0; 7 | padding: 0; 8 | position: absolute; 9 | top: 28px; 10 | right: 3px; 11 | } 12 | 13 | .edui-default .edui-message{ 14 | min-height: 10px; 15 | text-shadow: 0 1px 0 rgba(255,255,255,0.5); 16 | padding: 0; 17 | margin-bottom: 3px; 18 | position: relative; 19 | } 20 | .edui-default .edui-message-body{ 21 | border-radius: 3px; 22 | padding: 8px 15px 8px 8px; 23 | color: #c09853; 24 | background-color: #fcf8e3; 25 | border: 1px solid #fbeed5; 26 | } 27 | .edui-default .edui-message-type-info{ 28 | color: #3a87ad; 29 | background-color: #d9edf7; 30 | border-color: #bce8f1 31 | } 32 | .edui-default .edui-message-type-success{ 33 | color: #468847; 34 | background-color: #dff0d8; 35 | border-color: #d6e9c6 36 | } 37 | .edui-default .edui-message-type-danger, 38 | .edui-default .edui-message-type-error{ 39 | color: #b94a48; 40 | background-color: #f2dede; 41 | border-color: #eed3d7 42 | } 43 | .edui-default .edui-message .edui-message-closer { 44 | display: block; 45 | width: 16px; 46 | height: 16px; 47 | line-height: 16px; 48 | position: absolute; 49 | top: 0; 50 | right: 0; 51 | padding: 0; 52 | cursor: pointer; 53 | background: transparent; 54 | border: 0; 55 | float: right; 56 | font-size: 20px; 57 | font-weight: bold; 58 | color: #999; 59 | text-shadow: 0 1px 0 #fff; 60 | font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; 61 | } 62 | .edui-default .edui-message .edui-message-content { 63 | font-size: 10pt; 64 | word-wrap: break-word; 65 | word-break: normal; 66 | } -------------------------------------------------------------------------------- /static/ueditor/_examples/customPluginDemo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |

    UEditor自定义插件

    12 | 13 | 14 | 18 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/template.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created with JetBrains PhpStorm. 3 | * User: xuheng 4 | * Date: 12-8-8 5 | * Time: 下午2:09 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | (function () { 9 | var me = editor, 10 | preview = $G( "preview" ), 11 | preitem = $G( "preitem" ), 12 | tmps = templates, 13 | currentTmp; 14 | var initPre = function () { 15 | var str = ""; 16 | for ( var i = 0, tmp; tmp = tmps[i++]; ) { 17 | str += '
    '; 18 | } 19 | preitem.innerHTML = str; 20 | }; 21 | var pre = function ( n ) { 22 | var tmp = tmps[n - 1]; 23 | currentTmp = tmp; 24 | clearItem(); 25 | domUtils.setStyles( preitem.childNodes[n - 1], { 26 | "background-color":"lemonChiffon", 27 | "border":"#ccc 1px solid" 28 | } ); 29 | preview.innerHTML = tmp.preHtml ? tmp.preHtml : ""; 30 | }; 31 | var clearItem = function () { 32 | var items = preitem.children; 33 | for ( var i = 0, item; item = items[i++]; ) { 34 | domUtils.setStyles( item, { 35 | "background-color":"", 36 | "border":"white 1px solid" 37 | } ); 38 | } 39 | }; 40 | dialog.onok = function () { 41 | if ( !$G( "issave" ).checked ){ 42 | me.execCommand( "cleardoc" ); 43 | } 44 | var obj = { 45 | html:currentTmp && currentTmp.html 46 | }; 47 | me.execCommand( "template", obj ); 48 | }; 49 | initPre(); 50 | window.pre = pre; 51 | pre(2) 52 | 53 | })(); -------------------------------------------------------------------------------- /static/ueditor/dialogs/table/edittd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 16 | 17 | 18 |
    19 | 20 | 21 |
    22 | 60 | 61 | -------------------------------------------------------------------------------- /static/ueditor/themes/default/css/combox.css: -------------------------------------------------------------------------------- 1 | /*不可选中菜单按钮 */ 2 | .edui-default .edui-toolbar .edui-combox-body .edui-button-body { 3 | width: 60px; 4 | font-size: 12px; 5 | height: 20px; 6 | line-height: 20px; 7 | padding-left: 5px; 8 | white-space: nowrap; 9 | margin: 0 3px 0 0; 10 | } 11 | 12 | .edui-default .edui-toolbar .edui-combox-body .edui-arrow { 13 | background: url(../images/icons.png) -741px 0; 14 | _background: url(../images/icons.gif) -741px 0; 15 | height: 20px; 16 | width: 9px; 17 | } 18 | 19 | .edui-default .edui-toolbar .edui-combox .edui-combox-body { 20 | border: 1px solid #CCC; 21 | background-color: white; 22 | border-radius: 2px; 23 | -webkit-border-radius: 2px; 24 | -moz-border-radius: 2px; 25 | } 26 | 27 | .edui-default .edui-toolbar .edui-combox-body .edui-splitborder { 28 | display: none; 29 | } 30 | 31 | .edui-default .edui-toolbar .edui-combox-body .edui-arrow { 32 | border-left: 1px solid #CCC; 33 | } 34 | 35 | .edui-default .edui-toolbar .edui-state-hover .edui-combox-body { 36 | background-color: #fff5d4; 37 | border: 1px solid #dcac6c; 38 | } 39 | 40 | .edui-default .edui-toolbar .edui-state-hover .edui-combox-body .edui-arrow { 41 | border-left: 1px solid #dcac6c; 42 | } 43 | 44 | .edui-default .edui-toolbar .edui-state-checked .edui-combox-body { 45 | background-color: #FFE69F; 46 | border: 1px solid #DCAC6C; 47 | } 48 | 49 | .edui-toolbar .edui-state-checked .edui-combox-body .edui-arrow { 50 | border-left: 1px solid #DCAC6C; 51 | } 52 | 53 | .edui-toolbar .edui-state-disabled .edui-combox-body { 54 | background-color: #F0F0EE; 55 | opacity: 0.3; 56 | filter: alpha(opacity = 30); 57 | } 58 | 59 | .edui-toolbar .edui-state-opened .edui-combox-body { 60 | background-color: white; 61 | border: 1px solid gray; 62 | } -------------------------------------------------------------------------------- /static/ueditor/_src/ui/toolbar.js: -------------------------------------------------------------------------------- 1 | (function (){ 2 | var utils = baidu.editor.utils, 3 | uiUtils = baidu.editor.ui.uiUtils, 4 | UIBase = baidu.editor.ui.UIBase, 5 | Toolbar = baidu.editor.ui.Toolbar = function (options){ 6 | this.initOptions(options); 7 | this.initToolbar(); 8 | }; 9 | Toolbar.prototype = { 10 | items: null, 11 | initToolbar: function (){ 12 | this.items = this.items || []; 13 | this.initUIBase(); 14 | }, 15 | add: function (item,index){ 16 | if(index === undefined){ 17 | this.items.push(item); 18 | }else{ 19 | this.items.splice(index,0,item) 20 | } 21 | 22 | }, 23 | getHtmlTpl: function (){ 24 | var buff = []; 25 | for (var i=0; i' + 29 | buff.join('') + 30 | '' 31 | }, 32 | postRender: function (){ 33 | var box = this.getDom(); 34 | for (var i=0; i