├── .idea
├── .name
├── DjangoUeditor.iml
├── dictionaries
│ └── wxzhang.xml
├── encodings.xml
├── misc.xml
├── modules.xml
├── other.xml
├── scopes
│ └── scope_settings.xml
├── testrunner.xml
├── vcs.xml
└── workspace.xml
├── DUSite
├── __init__.py
├── __init__.pyc
├── data
│ ├── cool
│ │ ├── Arrow_right 右箭头_20140624153238_416.png
│ │ ├── Koala_20140627153509_819.jpg
│ │ ├── UEditor_snapScreen_tmp_20140624153259_798.jpg
│ │ └── scrawl_20140624153247_660.png
│ └── d.png
├── settings.py
├── settings.pyc
├── templates
│ ├── test.html
│ └── test2.html
├── test.db
├── urls.py
├── urls.pyc
├── wsgi.py
├── wsgi.pyc
└── www
│ └── 1.png
├── DjangoUeditor
├── __init__.py
├── __init__.pyc
├── adminx.py
├── commands.py
├── commands.pyc
├── forms.py
├── forms.pyc
├── models.py
├── models.pyc
├── readme.txt
├── settings.py
├── settings.pyc
├── static
│ └── ueditor
│ │ ├── UEditorSnapscreen.exe
│ │ ├── _examples
│ │ ├── addCustomizeButton.js
│ │ ├── addCustomizeCombox.js
│ │ ├── addCustomizeDialog.js
│ │ ├── charts.html
│ │ ├── completeDemo.html
│ │ ├── customPluginDemo.html
│ │ ├── customToolbarDemo.html
│ │ ├── customizeDialogPage.html
│ │ ├── customizeToolbarUIDemo.html
│ │ ├── editor_api.js
│ │ ├── filterRuleDemo.html
│ │ ├── highlightDemo.html
│ │ ├── index.html
│ │ ├── jqueryCompleteDemo.html
│ │ ├── jqueryValidation.html
│ │ ├── multiDemo.html
│ │ ├── multiEditorWithOneInstance.html
│ │ ├── renderInTable.html
│ │ ├── resetDemo.html
│ │ ├── sectiondemo.html
│ │ ├── server
│ │ │ ├── getContent.ashx
│ │ │ ├── getContent.asp
│ │ │ ├── getContent.jsp
│ │ │ └── getContent.php
│ │ ├── setWidthHeightDemo.html
│ │ ├── simpleDemo.html
│ │ ├── sortableDemo.html
│ │ ├── submitFormDemo.html
│ │ ├── textareaDemo.html
│ │ └── uparsedemo.html
│ │ ├── dialogs
│ │ ├── anchor
│ │ │ └── anchor.html
│ │ ├── attachment
│ │ │ ├── attachment.css
│ │ │ ├── attachment.html
│ │ │ ├── attachment.js
│ │ │ ├── fileTypeImages
│ │ │ │ ├── icon_chm.gif
│ │ │ │ ├── icon_default.png
│ │ │ │ ├── icon_doc.gif
│ │ │ │ ├── icon_exe.gif
│ │ │ │ ├── icon_jpg.gif
│ │ │ │ ├── icon_mp3.gif
│ │ │ │ ├── icon_mv.gif
│ │ │ │ ├── icon_pdf.gif
│ │ │ │ ├── icon_ppt.gif
│ │ │ │ ├── icon_psd.gif
│ │ │ │ ├── icon_rar.gif
│ │ │ │ ├── icon_txt.gif
│ │ │ │ └── icon_xls.gif
│ │ │ └── images
│ │ │ │ ├── alignicon.gif
│ │ │ │ ├── alignicon.png
│ │ │ │ ├── bg.png
│ │ │ │ ├── file-icons.gif
│ │ │ │ ├── file-icons.png
│ │ │ │ ├── icons.gif
│ │ │ │ ├── icons.png
│ │ │ │ ├── image.png
│ │ │ │ ├── progress.png
│ │ │ │ ├── success.gif
│ │ │ │ └── success.png
│ │ ├── background
│ │ │ ├── background.css
│ │ │ ├── background.html
│ │ │ ├── background.js
│ │ │ └── images
│ │ │ │ ├── bg.png
│ │ │ │ └── success.png
│ │ ├── charts
│ │ │ ├── chart.config.js
│ │ │ ├── charts.css
│ │ │ ├── charts.html
│ │ │ ├── charts.js
│ │ │ └── images
│ │ │ │ ├── charts0.png
│ │ │ │ ├── charts1.png
│ │ │ │ ├── charts2.png
│ │ │ │ ├── charts3.png
│ │ │ │ ├── charts4.png
│ │ │ │ └── charts5.png
│ │ ├── emotion
│ │ │ ├── emotion.css
│ │ │ ├── emotion.html
│ │ │ ├── emotion.js
│ │ │ └── images
│ │ │ │ ├── 0.gif
│ │ │ │ ├── bface.gif
│ │ │ │ ├── cface.gif
│ │ │ │ ├── fface.gif
│ │ │ │ ├── jxface2.gif
│ │ │ │ ├── neweditor-tab-bg.png
│ │ │ │ ├── tface.gif
│ │ │ │ ├── wface.gif
│ │ │ │ └── yface.gif
│ │ ├── gmap
│ │ │ └── gmap.html
│ │ ├── help
│ │ │ ├── help.css
│ │ │ ├── help.html
│ │ │ └── help.js
│ │ ├── image
│ │ │ ├── image.css
│ │ │ ├── image.html
│ │ │ ├── image.js
│ │ │ └── images
│ │ │ │ ├── alignicon.jpg
│ │ │ │ ├── bg.png
│ │ │ │ ├── icons.gif
│ │ │ │ ├── icons.png
│ │ │ │ ├── image.png
│ │ │ │ ├── progress.png
│ │ │ │ ├── success.gif
│ │ │ │ └── success.png
│ │ ├── insertframe
│ │ │ └── insertframe.html
│ │ ├── internal.js
│ │ ├── link
│ │ │ └── link.html
│ │ ├── map
│ │ │ ├── map.html
│ │ │ └── show.html
│ │ ├── music
│ │ │ ├── music.css
│ │ │ ├── music.html
│ │ │ └── music.js
│ │ ├── preview
│ │ │ └── preview.html
│ │ ├── scrawl
│ │ │ ├── images
│ │ │ │ ├── addimg.png
│ │ │ │ ├── brush.png
│ │ │ │ ├── delimg.png
│ │ │ │ ├── delimgH.png
│ │ │ │ ├── empty.png
│ │ │ │ ├── emptyH.png
│ │ │ │ ├── eraser.png
│ │ │ │ ├── redo.png
│ │ │ │ ├── redoH.png
│ │ │ │ ├── scale.png
│ │ │ │ ├── scaleH.png
│ │ │ │ ├── size.png
│ │ │ │ ├── undo.png
│ │ │ │ └── undoH.png
│ │ │ ├── scrawl.css
│ │ │ ├── scrawl.html
│ │ │ └── scrawl.js
│ │ ├── searchreplace
│ │ │ ├── searchreplace.html
│ │ │ └── searchreplace.js
│ │ ├── snapscreen
│ │ │ └── snapscreen.html
│ │ ├── spechars
│ │ │ ├── spechars.html
│ │ │ └── spechars.js
│ │ ├── table
│ │ │ ├── dragicon.png
│ │ │ ├── edittable.css
│ │ │ ├── edittable.html
│ │ │ ├── edittable.js
│ │ │ ├── edittd.html
│ │ │ └── edittip.html
│ │ ├── template
│ │ │ ├── config.js
│ │ │ ├── images
│ │ │ │ ├── bg.gif
│ │ │ │ ├── pre0.png
│ │ │ │ ├── pre1.png
│ │ │ │ ├── pre2.png
│ │ │ │ ├── pre3.png
│ │ │ │ └── pre4.png
│ │ │ ├── template.css
│ │ │ ├── template.html
│ │ │ └── template.js
│ │ ├── video
│ │ │ ├── images
│ │ │ │ ├── bg.png
│ │ │ │ ├── center_focus.jpg
│ │ │ │ ├── file-icons.gif
│ │ │ │ ├── file-icons.png
│ │ │ │ ├── icons.gif
│ │ │ │ ├── icons.png
│ │ │ │ ├── image.png
│ │ │ │ ├── left_focus.jpg
│ │ │ │ ├── none_focus.jpg
│ │ │ │ ├── progress.png
│ │ │ │ ├── right_focus.jpg
│ │ │ │ ├── success.gif
│ │ │ │ └── success.png
│ │ │ ├── video.css
│ │ │ ├── video.html
│ │ │ └── video.js
│ │ ├── webapp
│ │ │ └── webapp.html
│ │ └── wordimage
│ │ │ ├── fClipboard_ueditor.swf
│ │ │ ├── imageUploader.swf
│ │ │ ├── tangram.js
│ │ │ ├── wordimage.html
│ │ │ └── wordimage.js
│ │ ├── index.html
│ │ ├── lang
│ │ ├── en
│ │ │ ├── en.js
│ │ │ └── images
│ │ │ │ ├── addimage.png
│ │ │ │ ├── alldeletebtnhoverskin.png
│ │ │ │ ├── alldeletebtnupskin.png
│ │ │ │ ├── background.png
│ │ │ │ ├── button.png
│ │ │ │ ├── copy.png
│ │ │ │ ├── deletedisable.png
│ │ │ │ ├── deleteenable.png
│ │ │ │ ├── listbackground.png
│ │ │ │ ├── localimage.png
│ │ │ │ ├── music.png
│ │ │ │ ├── rotateleftdisable.png
│ │ │ │ ├── rotateleftenable.png
│ │ │ │ ├── rotaterightdisable.png
│ │ │ │ ├── rotaterightenable.png
│ │ │ │ └── upload.png
│ │ └── zh-cn
│ │ │ ├── images
│ │ │ ├── copy.png
│ │ │ ├── localimage.png
│ │ │ ├── music.png
│ │ │ └── upload.png
│ │ │ └── zh-cn.js
│ │ ├── php
│ │ ├── Uploader.class.php
│ │ ├── action_crawler.php
│ │ ├── action_list.php
│ │ ├── action_upload.php
│ │ ├── config.json
│ │ └── controller.php
│ │ ├── themes
│ │ ├── default
│ │ │ ├── css
│ │ │ │ ├── ueditor.css
│ │ │ │ └── ueditor.min.css
│ │ │ ├── dialogbase.css
│ │ │ └── images
│ │ │ │ ├── anchor.gif
│ │ │ │ ├── arrow.png
│ │ │ │ ├── arrow_down.png
│ │ │ │ ├── arrow_up.png
│ │ │ │ ├── button-bg.gif
│ │ │ │ ├── cancelbutton.gif
│ │ │ │ ├── charts.png
│ │ │ │ ├── cursor_h.gif
│ │ │ │ ├── cursor_h.png
│ │ │ │ ├── cursor_v.gif
│ │ │ │ ├── cursor_v.png
│ │ │ │ ├── dialog-title-bg.png
│ │ │ │ ├── fileScan.png
│ │ │ │ ├── highlighted.gif
│ │ │ │ ├── icons-all.gif
│ │ │ │ ├── icons.gif
│ │ │ │ ├── icons.png
│ │ │ │ ├── loaderror.png
│ │ │ │ ├── loading.gif
│ │ │ │ ├── lock.gif
│ │ │ │ ├── neweditor-tab-bg.png
│ │ │ │ ├── pagebreak.gif
│ │ │ │ ├── scale.png
│ │ │ │ ├── sortable.png
│ │ │ │ ├── spacer.gif
│ │ │ │ ├── sparator_v.png
│ │ │ │ ├── table-cell-align.png
│ │ │ │ ├── tangram-colorpicker.png
│ │ │ │ ├── toolbar_bg.png
│ │ │ │ ├── unhighlighted.gif
│ │ │ │ ├── upload.png
│ │ │ │ ├── videologo.gif
│ │ │ │ ├── word.gif
│ │ │ │ └── wordpaste.png
│ │ └── iframe.css
│ │ ├── third-party
│ │ ├── SyntaxHighlighter
│ │ │ ├── shCore.js
│ │ │ └── shCoreDefault.css
│ │ ├── codemirror
│ │ │ ├── codemirror.css
│ │ │ └── codemirror.js
│ │ ├── highcharts
│ │ │ ├── adapters
│ │ │ │ ├── mootools-adapter.js
│ │ │ │ ├── mootools-adapter.src.js
│ │ │ │ ├── prototype-adapter.js
│ │ │ │ ├── prototype-adapter.src.js
│ │ │ │ ├── standalone-framework.js
│ │ │ │ └── standalone-framework.src.js
│ │ │ ├── highcharts-more.js
│ │ │ ├── highcharts-more.src.js
│ │ │ ├── highcharts.js
│ │ │ ├── highcharts.src.js
│ │ │ ├── modules
│ │ │ │ ├── annotations.js
│ │ │ │ ├── annotations.src.js
│ │ │ │ ├── canvas-tools.js
│ │ │ │ ├── canvas-tools.src.js
│ │ │ │ ├── data.js
│ │ │ │ ├── data.src.js
│ │ │ │ ├── drilldown.js
│ │ │ │ ├── drilldown.src.js
│ │ │ │ ├── exporting.js
│ │ │ │ ├── exporting.src.js
│ │ │ │ ├── funnel.js
│ │ │ │ ├── funnel.src.js
│ │ │ │ ├── heatmap.js
│ │ │ │ ├── heatmap.src.js
│ │ │ │ ├── map.js
│ │ │ │ ├── map.src.js
│ │ │ │ ├── no-data-to-display.js
│ │ │ │ └── no-data-to-display.src.js
│ │ │ └── themes
│ │ │ │ ├── dark-blue.js
│ │ │ │ ├── dark-green.js
│ │ │ │ ├── gray.js
│ │ │ │ ├── grid.js
│ │ │ │ └── skies.js
│ │ ├── jquery-1.10.2.js
│ │ ├── jquery-1.10.2.min.js
│ │ ├── jquery-1.10.2.min.map
│ │ ├── snapscreen
│ │ │ └── UEditorSnapscreen.exe
│ │ ├── video-js
│ │ │ ├── font
│ │ │ │ ├── vjs.eot
│ │ │ │ ├── vjs.svg
│ │ │ │ ├── vjs.ttf
│ │ │ │ └── vjs.woff
│ │ │ ├── video-js.css
│ │ │ ├── video-js.min.css
│ │ │ ├── video-js.swf
│ │ │ ├── video.dev.js
│ │ │ └── video.js
│ │ ├── webuploader
│ │ │ ├── Uploader.swf
│ │ │ ├── webuploader.css
│ │ │ ├── webuploader.custom.js
│ │ │ ├── webuploader.custom.min.js
│ │ │ ├── webuploader.flashonly.js
│ │ │ ├── webuploader.flashonly.min.js
│ │ │ ├── webuploader.html5only.js
│ │ │ ├── webuploader.html5only.min.js
│ │ │ ├── webuploader.js
│ │ │ ├── webuploader.min.js
│ │ │ ├── webuploader.withoutimage.js
│ │ │ └── webuploader.withoutimage.min.js
│ │ └── zeroclipboard
│ │ │ ├── ZeroClipboard.js
│ │ │ ├── ZeroClipboard.min.js
│ │ │ └── ZeroClipboard.swf
│ │ ├── ueditor.all.js
│ │ ├── ueditor.all.min.js
│ │ ├── ueditor.config.js
│ │ ├── ueditor.parse.js
│ │ └── ueditor.parse.min.js
├── templates
│ ├── ueditor.html
│ └── ueditor_old.html
├── urls.py
├── urls.pyc
├── utils.py
├── utils.pyc
├── views.py
├── views.pyc
├── widgets.py
└── widgets.pyc
├── MANIFEST
├── TestApp
├── __init__.py
├── __init__.pyc
├── admin.py
├── admin.pyc
├── forms.py
├── forms.pyc
├── models.py
├── models.pyc
├── tests.py
├── views.py
└── views.pyc
├── build
└── lib
│ └── DjangoUeditor
│ ├── __init__.py
│ ├── commands.py
│ ├── forms.py
│ ├── models.py
│ ├── settings.py
│ ├── urls.py
│ ├── utils.py
│ ├── views.py
│ └── widgets.py
├── manage.py
├── manage.pyc
├── readme.md
└── setup.py
/.idea/.name:
--------------------------------------------------------------------------------
1 | DjangoUeditor
--------------------------------------------------------------------------------
/.idea/DjangoUeditor.iml:
--------------------------------------------------------------------------------
1 |
2 |
19 | UE.getEditor('myEditor'); 20 |21 |
19 | 编辑区域一 20 | | 21 |22 | |
25 | 编辑区域二 26 | | 27 |内容2 | 28 |
31 | 编辑区域三 32 | | 33 |内容3 | 34 |
标题 | 内容 |
---|---|
中国 | 19 | |
21 | 22 | 51 | 52 | -------------------------------------------------------------------------------- /DjangoUeditor/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("
13 |
14 | 默认排序方法有五种:
15 | reversecurrent : 逆序当前
16 | orderbyasc : 按ASCII字符升序
17 | reversebyasc : 按ASCII字符降序
18 | orderbynum : 按数值大小升序
19 | reversebynum : 按数值大小降序
20 |
22 | 表格data-sort-type属性值为reversebynum,按照数值大小降序排序,点击第一行的单元格进行排序。 23 |
24 |343 | 352 | 323 | 234 | 379 | 782 |
341 | 163 | 422 | 234 | 725 | 833 |
221 | 456 | 335 | 423 | 445 | 793 |
112 | 277 | 563 | 423 | 932 | 425 |
587 | 175 | 159 | 734 | 582 | 458 |
37 |
38 |
40 | 自定义排序,按照个位数排序,点击第一行的单元格进行排序。 41 |
42 |343 | 352 | 323 | 234 | 379 | 782 |
341 | 163 | 422 | 234 | 725 | 833 |
221 | 456 | 335 | 423 | 445 | 793 |
112 | 277 | 563 | 423 | 932 | 425 |
587 | 175 | 159 | 734 | 582 | 458 |
24 | 从1.2.6开始,会自动同步数据无需再手动调用sync方法 25 | 26 | 27 |
28 | 29 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /DjangoUeditor/static/ueditor/_examples/textareaDemo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |21 |
27 | | 28 | |
ctrl+b | 33 |34 | |
ctrl+c | 37 |38 | |
ctrl+x | 41 |42 | |
ctrl+v | 45 |46 | |
ctrl+y | 49 |50 | |
ctrl+z | 53 |54 | |
ctrl+i | 57 |58 | |
ctrl+u | 61 |62 | |
ctrl+a | 65 |66 | |
shift+enter | 69 |70 | |
alt+z | 73 |74 | |