baidu_ueditor_rails5 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/assets/javascripts/baidu_ueditor.js +1 -1
- data/app/assets/javascripts/ueditor/dialogs/anchor/anchor.html +40 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/attachment.css +681 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/attachment.html +60 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/attachment.js +754 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_default.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/images/alignicon.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/images/alignicon.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/images/bg.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/images/file-icons.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/images/file-icons.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/images/icons.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/images/icons.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/images/image.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/images/progress.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/images/success.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/attachment/images/success.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/background/background.css +94 -0
- data/app/assets/javascripts/ueditor/dialogs/background/background.html +56 -0
- data/app/assets/javascripts/ueditor/dialogs/background/background.js +376 -0
- data/app/assets/javascripts/ueditor/dialogs/background/images/bg.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/background/images/success.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/charts/chart.config.js +65 -0
- data/app/assets/javascripts/ueditor/dialogs/charts/charts.css +165 -0
- data/app/assets/javascripts/ueditor/dialogs/charts/charts.html +89 -0
- data/app/assets/javascripts/ueditor/dialogs/charts/charts.js +519 -0
- data/app/assets/javascripts/ueditor/dialogs/charts/images/charts0.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/charts/images/charts1.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/charts/images/charts2.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/charts/images/charts3.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/charts/images/charts4.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/charts/images/charts5.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/emotion/emotion.css +43 -0
- data/app/assets/javascripts/ueditor/dialogs/emotion/emotion.html +54 -0
- data/app/assets/javascripts/ueditor/dialogs/emotion/emotion.js +186 -0
- data/app/assets/javascripts/ueditor/dialogs/emotion/images/0.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/emotion/images/bface.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/emotion/images/cface.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/emotion/images/fface.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/emotion/images/jxface2.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/emotion/images/neweditor-tab-bg.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/emotion/images/tface.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/emotion/images/wface.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/emotion/images/yface.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/gmap/gmap.html +89 -0
- data/app/assets/javascripts/ueditor/dialogs/help/help.css +7 -0
- data/app/assets/javascripts/ueditor/dialogs/help/help.html +82 -0
- data/app/assets/javascripts/ueditor/dialogs/help/help.js +56 -0
- data/app/assets/javascripts/ueditor/dialogs/image/image.css +894 -0
- data/app/assets/javascripts/ueditor/dialogs/image/image.html +120 -0
- data/app/assets/javascripts/ueditor/dialogs/image/image.js +1142 -0
- data/app/assets/javascripts/ueditor/dialogs/image/images/alignicon.jpg +0 -0
- data/app/assets/javascripts/ueditor/dialogs/image/images/bg.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/image/images/icons.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/image/images/icons.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/image/images/image.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/image/images/progress.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/image/images/success.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/image/images/success.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/insertframe/insertframe.html +98 -0
- data/app/assets/javascripts/ueditor/dialogs/internal.js +81 -0
- data/app/assets/javascripts/ueditor/dialogs/link/link.html +126 -0
- data/app/assets/javascripts/ueditor/dialogs/map/map.html +135 -0
- data/app/assets/javascripts/ueditor/dialogs/map/show.html +118 -0
- data/app/assets/javascripts/ueditor/dialogs/music/music.css +30 -0
- data/app/assets/javascripts/ueditor/dialogs/music/music.html +32 -0
- data/app/assets/javascripts/ueditor/dialogs/music/music.js +192 -0
- data/app/assets/javascripts/ueditor/dialogs/preview/preview.html +40 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/images/addimg.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/images/brush.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/images/delimg.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/images/delimgH.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/images/empty.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/images/emptyH.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/images/eraser.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/images/redo.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/images/redoH.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/images/scale.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/images/scaleH.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/images/size.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/images/undo.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/images/undoH.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/scrawl.css +72 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/scrawl.html +95 -0
- data/app/assets/javascripts/ueditor/dialogs/scrawl/scrawl.js +671 -0
- data/app/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.html +102 -0
- data/app/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.js +164 -0
- data/app/assets/javascripts/ueditor/dialogs/snapscreen/snapscreen.html +58 -0
- data/app/assets/javascripts/ueditor/dialogs/spechars/spechars.html +21 -0
- data/app/assets/javascripts/ueditor/dialogs/spechars/spechars.js +57 -0
- data/app/assets/javascripts/ueditor/dialogs/table/dragicon.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/table/edittable.css +84 -0
- data/app/assets/javascripts/ueditor/dialogs/table/edittable.html +64 -0
- data/app/assets/javascripts/ueditor/dialogs/table/edittable.js +237 -0
- data/app/assets/javascripts/ueditor/dialogs/table/edittd.html +61 -0
- data/app/assets/javascripts/ueditor/dialogs/table/edittip.html +33 -0
- data/app/assets/javascripts/ueditor/dialogs/template/config.js +42 -0
- data/app/assets/javascripts/ueditor/dialogs/template/images/bg.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/template/images/pre0.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/template/images/pre1.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/template/images/pre2.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/template/images/pre3.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/template/images/pre4.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/template/template.css +18 -0
- data/app/assets/javascripts/ueditor/dialogs/template/template.html +26 -0
- data/app/assets/javascripts/ueditor/dialogs/template/template.js +53 -0
- data/app/assets/javascripts/ueditor/dialogs/video/images/bg.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/video/images/center_focus.jpg +0 -0
- data/app/assets/javascripts/ueditor/dialogs/video/images/file-icons.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/video/images/file-icons.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/video/images/icons.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/video/images/icons.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/video/images/image.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/video/images/left_focus.jpg +0 -0
- data/app/assets/javascripts/ueditor/dialogs/video/images/none_focus.jpg +0 -0
- data/app/assets/javascripts/ueditor/dialogs/video/images/progress.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/video/images/right_focus.jpg +0 -0
- data/app/assets/javascripts/ueditor/dialogs/video/images/success.gif +0 -0
- data/app/assets/javascripts/ueditor/dialogs/video/images/success.png +0 -0
- data/app/assets/javascripts/ueditor/dialogs/video/video.css +635 -0
- data/app/assets/javascripts/ueditor/dialogs/video/video.html +86 -0
- data/app/assets/javascripts/ueditor/dialogs/video/video.js +791 -0
- data/app/assets/javascripts/ueditor/dialogs/webapp/webapp.html +53 -0
- data/app/assets/javascripts/ueditor/dialogs/wordimage/fClipboard_ueditor.swf +0 -0
- data/app/assets/javascripts/ueditor/dialogs/wordimage/imageUploader.swf +0 -0
- data/app/assets/javascripts/ueditor/dialogs/wordimage/tangram.js +1495 -0
- data/app/assets/javascripts/ueditor/dialogs/wordimage/wordimage.html +111 -0
- data/app/assets/javascripts/ueditor/dialogs/wordimage/wordimage.js +157 -0
- data/app/assets/javascripts/ueditor/index.html +175 -0
- data/app/assets/javascripts/ueditor/lang/en/en.js +684 -0
- data/app/assets/javascripts/ueditor/lang/en/images/addimage.png +0 -0
- data/app/assets/javascripts/ueditor/lang/en/images/alldeletebtnhoverskin.png +0 -0
- data/app/assets/javascripts/ueditor/lang/en/images/alldeletebtnupskin.png +0 -0
- data/app/assets/javascripts/ueditor/lang/en/images/background.png +0 -0
- data/app/assets/javascripts/ueditor/lang/en/images/button.png +0 -0
- data/app/assets/javascripts/ueditor/lang/en/images/copy.png +0 -0
- data/app/assets/javascripts/ueditor/lang/en/images/deletedisable.png +0 -0
- data/app/assets/javascripts/ueditor/lang/en/images/deleteenable.png +0 -0
- data/app/assets/javascripts/ueditor/lang/en/images/listbackground.png +0 -0
- data/app/assets/javascripts/ueditor/lang/en/images/localimage.png +0 -0
- data/app/assets/javascripts/ueditor/lang/en/images/music.png +0 -0
- data/app/assets/javascripts/ueditor/lang/en/images/rotateleftdisable.png +0 -0
- data/app/assets/javascripts/ueditor/lang/en/images/rotateleftenable.png +0 -0
- data/app/assets/javascripts/ueditor/lang/en/images/rotaterightdisable.png +0 -0
- data/app/assets/javascripts/ueditor/lang/en/images/rotaterightenable.png +0 -0
- data/app/assets/javascripts/ueditor/lang/en/images/upload.png +0 -0
- data/app/assets/javascripts/ueditor/lang/zh-cn/images/copy.png +0 -0
- data/app/assets/javascripts/ueditor/lang/zh-cn/images/localimage.png +0 -0
- data/app/assets/javascripts/ueditor/lang/zh-cn/images/music.png +0 -0
- data/app/assets/javascripts/ueditor/lang/zh-cn/images/upload.png +0 -0
- data/app/assets/javascripts/ueditor/lang/zh-cn/zh-cn.js +669 -0
- data/app/assets/javascripts/ueditor/themes/default/css/ueditor.css +1903 -0
- data/app/assets/javascripts/ueditor/themes/default/css/ueditor.min.css +8 -0
- data/app/assets/javascripts/ueditor/themes/default/dialogbase.css +100 -0
- data/app/assets/javascripts/ueditor/themes/default/images/anchor.gif +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/arrow.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/arrow_down.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/arrow_up.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/button-bg.gif +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/cancelbutton.gif +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/charts.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/cursor_h.gif +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/cursor_h.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/cursor_v.gif +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/cursor_v.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/dialog-title-bg.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/filescan.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/highlighted.gif +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/icons-all.gif +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/icons.gif +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/icons.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/loaderror.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/loading.gif +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/lock.gif +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/neweditor-tab-bg.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/pagebreak.gif +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/scale.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/sortable.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/spacer.gif +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/sparator_v.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/table-cell-align.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/tangram-colorpicker.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/toolbar_bg.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/unhighlighted.gif +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/upload.png +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/videologo.gif +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/word.gif +0 -0
- data/app/assets/javascripts/ueditor/themes/default/images/wordpaste.png +0 -0
- data/app/assets/javascripts/ueditor/themes/iframe.css +1 -0
- data/app/assets/javascripts/ueditor/third-party/SyntaxHighlighter/shCore.js +3655 -0
- data/app/assets/javascripts/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css +1 -0
- data/app/assets/javascripts/ueditor/third-party/codemirror/codemirror.css +104 -0
- data/app/assets/javascripts/ueditor/third-party/codemirror/codemirror.js +3581 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/mootools-adapter.js +13 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/mootools-adapter.src.js +313 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/prototype-adapter.js +15 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/prototype-adapter.src.js +316 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/standalone-framework.js +17 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/standalone-framework.src.js +583 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/highcharts-more.js +50 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/highcharts-more.src.js +2430 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/highcharts.js +283 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/highcharts.src.js +16974 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/annotations.js +7 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/annotations.src.js +401 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/canvas-tools.js +133 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/canvas-tools.src.js +3113 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/data.js +17 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/data.src.js +582 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/drilldown.js +11 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/drilldown.src.js +447 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/exporting.js +22 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/exporting.src.js +709 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/funnel.js +12 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/funnel.src.js +289 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/heatmap.js +1 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/heatmap.src.js +53 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/map.js +27 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/map.src.js +1002 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.js +12 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.src.js +128 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/themes/dark-blue.js +254 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/themes/dark-green.js +255 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/themes/gray.js +257 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/themes/grid.js +103 -0
- data/app/assets/javascripts/ueditor/third-party/highcharts/themes/skies.js +89 -0
- data/app/assets/javascripts/ueditor/third-party/jquery-1.10.2.js +9789 -0
- data/app/assets/javascripts/ueditor/third-party/jquery-1.10.2.min.js +6 -0
- data/app/assets/javascripts/ueditor/third-party/jquery-1.10.2.min.map +1 -0
- data/app/assets/javascripts/ueditor/third-party/snapscreen/UEditorSnapscreen.exe +0 -0
- data/app/assets/javascripts/ueditor/third-party/video-js/font/vjs.eot +0 -0
- data/app/assets/javascripts/ueditor/third-party/video-js/font/vjs.svg +65 -0
- data/app/assets/javascripts/ueditor/third-party/video-js/font/vjs.ttf +0 -0
- data/app/assets/javascripts/ueditor/third-party/video-js/font/vjs.woff +0 -0
- data/app/assets/javascripts/ueditor/third-party/video-js/video-js.css +766 -0
- data/app/assets/javascripts/ueditor/third-party/video-js/video-js.min.css +5 -0
- data/app/assets/javascripts/ueditor/third-party/video-js/video-js.swf +0 -0
- data/app/assets/javascripts/ueditor/third-party/video-js/video.dev.js +7108 -0
- data/app/assets/javascripts/ueditor/third-party/video-js/video.js +129 -0
- data/app/assets/javascripts/ueditor/third-party/webuploader/Uploader.swf +0 -0
- data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.css +28 -0
- data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.custom.js +5670 -0
- data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.custom.min.js +2 -0
- data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.flashonly.js +4176 -0
- data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.flashonly.min.js +2 -0
- data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.html5only.js +5559 -0
- data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.html5only.min.js +2 -0
- data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.js +6733 -0
- data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.min.js +2 -0
- data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.withoutimage.js +4593 -0
- data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.withoutimage.min.js +2 -0
- data/app/assets/javascripts/ueditor/third-party/xss.min.js +1 -0
- data/app/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.js +1256 -0
- data/app/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.min.js +9 -0
- data/app/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.swf +0 -0
- data/app/assets/javascripts/ueditor/ueditor.all.js +29568 -0
- data/app/assets/javascripts/ueditor/ueditor.all.min.js +18 -0
- data/app/assets/javascripts/ueditor/ueditor.config.js +497 -0
- data/app/assets/javascripts/ueditor/ueditor.parse.js +1022 -0
- data/app/assets/javascripts/ueditor/ueditor.parse.min.js +7 -0
- data/app/assets/javascripts/{ueditor → ueditor_custom}/preinit.js.erb +0 -0
- data/lib/baidu_ueditor_rails/version.rb +1 -1
- metadata +292 -21
@@ -0,0 +1,257 @@
|
|
1
|
+
/**
|
2
|
+
* Gray theme for Highcharts JS
|
3
|
+
* @author Torstein Hønsi
|
4
|
+
*/
|
5
|
+
|
6
|
+
Highcharts.theme = {
|
7
|
+
colors: ["#DDDF0D", "#7798BF", "#55BF3B", "#DF5353", "#aaeeee", "#ff0066", "#eeaaee",
|
8
|
+
"#55BF3B", "#DF5353", "#7798BF", "#aaeeee"],
|
9
|
+
chart: {
|
10
|
+
backgroundColor: {
|
11
|
+
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
|
12
|
+
stops: [
|
13
|
+
[0, 'rgb(96, 96, 96)'],
|
14
|
+
[1, 'rgb(16, 16, 16)']
|
15
|
+
]
|
16
|
+
},
|
17
|
+
borderWidth: 0,
|
18
|
+
borderRadius: 15,
|
19
|
+
plotBackgroundColor: null,
|
20
|
+
plotShadow: false,
|
21
|
+
plotBorderWidth: 0
|
22
|
+
},
|
23
|
+
title: {
|
24
|
+
style: {
|
25
|
+
color: '#FFF',
|
26
|
+
font: '16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
|
27
|
+
}
|
28
|
+
},
|
29
|
+
subtitle: {
|
30
|
+
style: {
|
31
|
+
color: '#DDD',
|
32
|
+
font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
|
33
|
+
}
|
34
|
+
},
|
35
|
+
xAxis: {
|
36
|
+
gridLineWidth: 0,
|
37
|
+
lineColor: '#999',
|
38
|
+
tickColor: '#999',
|
39
|
+
labels: {
|
40
|
+
style: {
|
41
|
+
color: '#999',
|
42
|
+
fontWeight: 'bold'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
title: {
|
46
|
+
style: {
|
47
|
+
color: '#AAA',
|
48
|
+
font: 'bold 12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
},
|
52
|
+
yAxis: {
|
53
|
+
alternateGridColor: null,
|
54
|
+
minorTickInterval: null,
|
55
|
+
gridLineColor: 'rgba(255, 255, 255, .1)',
|
56
|
+
minorGridLineColor: 'rgba(255,255,255,0.07)',
|
57
|
+
lineWidth: 0,
|
58
|
+
tickWidth: 0,
|
59
|
+
labels: {
|
60
|
+
style: {
|
61
|
+
color: '#999',
|
62
|
+
fontWeight: 'bold'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
title: {
|
66
|
+
style: {
|
67
|
+
color: '#AAA',
|
68
|
+
font: 'bold 12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
|
69
|
+
}
|
70
|
+
}
|
71
|
+
},
|
72
|
+
legend: {
|
73
|
+
itemStyle: {
|
74
|
+
color: '#CCC'
|
75
|
+
},
|
76
|
+
itemHoverStyle: {
|
77
|
+
color: '#FFF'
|
78
|
+
},
|
79
|
+
itemHiddenStyle: {
|
80
|
+
color: '#333'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
labels: {
|
84
|
+
style: {
|
85
|
+
color: '#CCC'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
tooltip: {
|
89
|
+
backgroundColor: {
|
90
|
+
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
|
91
|
+
stops: [
|
92
|
+
[0, 'rgba(96, 96, 96, .8)'],
|
93
|
+
[1, 'rgba(16, 16, 16, .8)']
|
94
|
+
]
|
95
|
+
},
|
96
|
+
borderWidth: 0,
|
97
|
+
style: {
|
98
|
+
color: '#FFF'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
|
102
|
+
|
103
|
+
plotOptions: {
|
104
|
+
series: {
|
105
|
+
shadow: true
|
106
|
+
},
|
107
|
+
line: {
|
108
|
+
dataLabels: {
|
109
|
+
color: '#CCC'
|
110
|
+
},
|
111
|
+
marker: {
|
112
|
+
lineColor: '#333'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
spline: {
|
116
|
+
marker: {
|
117
|
+
lineColor: '#333'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
scatter: {
|
121
|
+
marker: {
|
122
|
+
lineColor: '#333'
|
123
|
+
}
|
124
|
+
},
|
125
|
+
candlestick: {
|
126
|
+
lineColor: 'white'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
|
130
|
+
toolbar: {
|
131
|
+
itemStyle: {
|
132
|
+
color: '#CCC'
|
133
|
+
}
|
134
|
+
},
|
135
|
+
|
136
|
+
navigation: {
|
137
|
+
buttonOptions: {
|
138
|
+
symbolStroke: '#DDDDDD',
|
139
|
+
hoverSymbolStroke: '#FFFFFF',
|
140
|
+
theme: {
|
141
|
+
fill: {
|
142
|
+
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
|
143
|
+
stops: [
|
144
|
+
[0.4, '#606060'],
|
145
|
+
[0.6, '#333333']
|
146
|
+
]
|
147
|
+
},
|
148
|
+
stroke: '#000000'
|
149
|
+
}
|
150
|
+
}
|
151
|
+
},
|
152
|
+
|
153
|
+
// scroll charts
|
154
|
+
rangeSelector: {
|
155
|
+
buttonTheme: {
|
156
|
+
fill: {
|
157
|
+
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
|
158
|
+
stops: [
|
159
|
+
[0.4, '#888'],
|
160
|
+
[0.6, '#555']
|
161
|
+
]
|
162
|
+
},
|
163
|
+
stroke: '#000000',
|
164
|
+
style: {
|
165
|
+
color: '#CCC',
|
166
|
+
fontWeight: 'bold'
|
167
|
+
},
|
168
|
+
states: {
|
169
|
+
hover: {
|
170
|
+
fill: {
|
171
|
+
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
|
172
|
+
stops: [
|
173
|
+
[0.4, '#BBB'],
|
174
|
+
[0.6, '#888']
|
175
|
+
]
|
176
|
+
},
|
177
|
+
stroke: '#000000',
|
178
|
+
style: {
|
179
|
+
color: 'white'
|
180
|
+
}
|
181
|
+
},
|
182
|
+
select: {
|
183
|
+
fill: {
|
184
|
+
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
|
185
|
+
stops: [
|
186
|
+
[0.1, '#000'],
|
187
|
+
[0.3, '#333']
|
188
|
+
]
|
189
|
+
},
|
190
|
+
stroke: '#000000',
|
191
|
+
style: {
|
192
|
+
color: 'yellow'
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}
|
196
|
+
},
|
197
|
+
inputStyle: {
|
198
|
+
backgroundColor: '#333',
|
199
|
+
color: 'silver'
|
200
|
+
},
|
201
|
+
labelStyle: {
|
202
|
+
color: 'silver'
|
203
|
+
}
|
204
|
+
},
|
205
|
+
|
206
|
+
navigator: {
|
207
|
+
handles: {
|
208
|
+
backgroundColor: '#666',
|
209
|
+
borderColor: '#AAA'
|
210
|
+
},
|
211
|
+
outlineColor: '#CCC',
|
212
|
+
maskFill: 'rgba(16, 16, 16, 0.5)',
|
213
|
+
series: {
|
214
|
+
color: '#7798BF',
|
215
|
+
lineColor: '#A6C7ED'
|
216
|
+
}
|
217
|
+
},
|
218
|
+
|
219
|
+
scrollbar: {
|
220
|
+
barBackgroundColor: {
|
221
|
+
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
|
222
|
+
stops: [
|
223
|
+
[0.4, '#888'],
|
224
|
+
[0.6, '#555']
|
225
|
+
]
|
226
|
+
},
|
227
|
+
barBorderColor: '#CCC',
|
228
|
+
buttonArrowColor: '#CCC',
|
229
|
+
buttonBackgroundColor: {
|
230
|
+
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
|
231
|
+
stops: [
|
232
|
+
[0.4, '#888'],
|
233
|
+
[0.6, '#555']
|
234
|
+
]
|
235
|
+
},
|
236
|
+
buttonBorderColor: '#CCC',
|
237
|
+
rifleColor: '#FFF',
|
238
|
+
trackBackgroundColor: {
|
239
|
+
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
|
240
|
+
stops: [
|
241
|
+
[0, '#000'],
|
242
|
+
[1, '#333']
|
243
|
+
]
|
244
|
+
},
|
245
|
+
trackBorderColor: '#666'
|
246
|
+
},
|
247
|
+
|
248
|
+
// special colors for some of the demo examples
|
249
|
+
legendBackgroundColor: 'rgba(48, 48, 48, 0.8)',
|
250
|
+
legendBackgroundColorSolid: 'rgb(70, 70, 70)',
|
251
|
+
dataLabelsColor: '#444',
|
252
|
+
textColor: '#E0E0E0',
|
253
|
+
maskColor: 'rgba(255,255,255,0.3)'
|
254
|
+
};
|
255
|
+
|
256
|
+
// Apply the theme
|
257
|
+
var highchartsOptions = Highcharts.setOptions(Highcharts.theme);
|
@@ -0,0 +1,103 @@
|
|
1
|
+
/**
|
2
|
+
* Grid theme for Highcharts JS
|
3
|
+
* @author Torstein Hønsi
|
4
|
+
*/
|
5
|
+
|
6
|
+
Highcharts.theme = {
|
7
|
+
colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'],
|
8
|
+
chart: {
|
9
|
+
backgroundColor: {
|
10
|
+
linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 },
|
11
|
+
stops: [
|
12
|
+
[0, 'rgb(255, 255, 255)'],
|
13
|
+
[1, 'rgb(240, 240, 255)']
|
14
|
+
]
|
15
|
+
},
|
16
|
+
borderWidth: 2,
|
17
|
+
plotBackgroundColor: 'rgba(255, 255, 255, .9)',
|
18
|
+
plotShadow: true,
|
19
|
+
plotBorderWidth: 1
|
20
|
+
},
|
21
|
+
title: {
|
22
|
+
style: {
|
23
|
+
color: '#000',
|
24
|
+
font: 'bold 16px "Trebuchet MS", Verdana, sans-serif'
|
25
|
+
}
|
26
|
+
},
|
27
|
+
subtitle: {
|
28
|
+
style: {
|
29
|
+
color: '#666666',
|
30
|
+
font: 'bold 12px "Trebuchet MS", Verdana, sans-serif'
|
31
|
+
}
|
32
|
+
},
|
33
|
+
xAxis: {
|
34
|
+
gridLineWidth: 1,
|
35
|
+
lineColor: '#000',
|
36
|
+
tickColor: '#000',
|
37
|
+
labels: {
|
38
|
+
style: {
|
39
|
+
color: '#000',
|
40
|
+
font: '11px Trebuchet MS, Verdana, sans-serif'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
title: {
|
44
|
+
style: {
|
45
|
+
color: '#333',
|
46
|
+
fontWeight: 'bold',
|
47
|
+
fontSize: '12px',
|
48
|
+
fontFamily: 'Trebuchet MS, Verdana, sans-serif'
|
49
|
+
|
50
|
+
}
|
51
|
+
}
|
52
|
+
},
|
53
|
+
yAxis: {
|
54
|
+
minorTickInterval: 'auto',
|
55
|
+
lineColor: '#000',
|
56
|
+
lineWidth: 1,
|
57
|
+
tickWidth: 1,
|
58
|
+
tickColor: '#000',
|
59
|
+
labels: {
|
60
|
+
style: {
|
61
|
+
color: '#000',
|
62
|
+
font: '11px Trebuchet MS, Verdana, sans-serif'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
title: {
|
66
|
+
style: {
|
67
|
+
color: '#333',
|
68
|
+
fontWeight: 'bold',
|
69
|
+
fontSize: '12px',
|
70
|
+
fontFamily: 'Trebuchet MS, Verdana, sans-serif'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
},
|
74
|
+
legend: {
|
75
|
+
itemStyle: {
|
76
|
+
font: '9pt Trebuchet MS, Verdana, sans-serif',
|
77
|
+
color: 'black'
|
78
|
+
|
79
|
+
},
|
80
|
+
itemHoverStyle: {
|
81
|
+
color: '#039'
|
82
|
+
},
|
83
|
+
itemHiddenStyle: {
|
84
|
+
color: 'gray'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
labels: {
|
88
|
+
style: {
|
89
|
+
color: '#99b'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
|
93
|
+
navigation: {
|
94
|
+
buttonOptions: {
|
95
|
+
theme: {
|
96
|
+
stroke: '#CCCCCC'
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
};
|
101
|
+
|
102
|
+
// Apply the theme
|
103
|
+
var highchartsOptions = Highcharts.setOptions(Highcharts.theme);
|
@@ -0,0 +1,89 @@
|
|
1
|
+
/**
|
2
|
+
* Skies theme for Highcharts JS
|
3
|
+
* @author Torstein Hønsi
|
4
|
+
*/
|
5
|
+
|
6
|
+
Highcharts.theme = {
|
7
|
+
colors: ["#514F78", "#42A07B", "#9B5E4A", "#72727F", "#1F949A", "#82914E", "#86777F", "#42A07B"],
|
8
|
+
chart: {
|
9
|
+
className: 'skies',
|
10
|
+
borderWidth: 0,
|
11
|
+
plotShadow: true,
|
12
|
+
plotBackgroundImage: 'http://www.highcharts.com/demo/gfx/skies.jpg',
|
13
|
+
plotBackgroundColor: {
|
14
|
+
linearGradient: [0, 0, 250, 500],
|
15
|
+
stops: [
|
16
|
+
[0, 'rgba(255, 255, 255, 1)'],
|
17
|
+
[1, 'rgba(255, 255, 255, 0)']
|
18
|
+
]
|
19
|
+
},
|
20
|
+
plotBorderWidth: 1
|
21
|
+
},
|
22
|
+
title: {
|
23
|
+
style: {
|
24
|
+
color: '#3E576F',
|
25
|
+
font: '16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
|
26
|
+
}
|
27
|
+
},
|
28
|
+
subtitle: {
|
29
|
+
style: {
|
30
|
+
color: '#6D869F',
|
31
|
+
font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
|
32
|
+
}
|
33
|
+
},
|
34
|
+
xAxis: {
|
35
|
+
gridLineWidth: 0,
|
36
|
+
lineColor: '#C0D0E0',
|
37
|
+
tickColor: '#C0D0E0',
|
38
|
+
labels: {
|
39
|
+
style: {
|
40
|
+
color: '#666',
|
41
|
+
fontWeight: 'bold'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
title: {
|
45
|
+
style: {
|
46
|
+
color: '#666',
|
47
|
+
font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
|
48
|
+
}
|
49
|
+
}
|
50
|
+
},
|
51
|
+
yAxis: {
|
52
|
+
alternateGridColor: 'rgba(255, 255, 255, .5)',
|
53
|
+
lineColor: '#C0D0E0',
|
54
|
+
tickColor: '#C0D0E0',
|
55
|
+
tickWidth: 1,
|
56
|
+
labels: {
|
57
|
+
style: {
|
58
|
+
color: '#666',
|
59
|
+
fontWeight: 'bold'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
title: {
|
63
|
+
style: {
|
64
|
+
color: '#666',
|
65
|
+
font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
|
66
|
+
}
|
67
|
+
}
|
68
|
+
},
|
69
|
+
legend: {
|
70
|
+
itemStyle: {
|
71
|
+
font: '9pt Trebuchet MS, Verdana, sans-serif',
|
72
|
+
color: '#3E576F'
|
73
|
+
},
|
74
|
+
itemHoverStyle: {
|
75
|
+
color: 'black'
|
76
|
+
},
|
77
|
+
itemHiddenStyle: {
|
78
|
+
color: 'silver'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
labels: {
|
82
|
+
style: {
|
83
|
+
color: '#3E576F'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
};
|
87
|
+
|
88
|
+
// Apply the theme
|
89
|
+
var highchartsOptions = Highcharts.setOptions(Highcharts.theme);
|