Skip to content

Commit

Permalink
update editor css.Fixes kissyteam#469
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminghe committed Sep 4, 2013
1 parent 16878ea commit 6d1a189
Show file tree
Hide file tree
Showing 202 changed files with 810 additions and 951 deletions.
333 changes: 167 additions & 166 deletions build/editor-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/editor.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* Set up editor constructor
Expand Down
710 changes: 354 additions & 356 deletions build/editor/full-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/editor/full.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* Set up editor constructor
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/back-color/cmd-min.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
KISSY.add("editor/plugin/back-color/cmd",function(e,c){var d={element:"span",styles:{"background-color":"#(color)"},overrides:[{element:"*",styles:{"background-color":null}}],childRule:function(){return!1}};return{init:function(a){a.hasCommand("backColor")||a.addCommand("backColor",{exec:function(b,a){b.execCommand("save");c.applyColor(b,a,d);b.execCommand("save")}})}}},{requires:["../color/cmd"]});
2 changes: 1 addition & 1 deletion build/editor/plugin/back-color/cmd.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* backColor command.
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/back-color/index-min.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
KISSY.add("editor/plugin/back-color/index",function(c,f,d,e){function b(a){this.config=a||{}}c.augment(b,{pluginRenderUI:function(a){e.init(a);d.init(a,{defaultColor:"rgb(255, 217, 102)",cmdType:"backColor",tooltip:"\u80cc\u666f\u989c\u8272"})}});return b},{requires:["editor","../color/btn","./cmd"]});
2 changes: 1 addition & 1 deletion build/editor/plugin/back-color/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* backColor button.
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/bold/cmd-min.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
KISSY.add("editor/plugin/bold/cmd",function(d,a,b){var c=new a.Style({element:"strong",overrides:[{element:"b"},{element:"span",attributes:{style:"font-weight: bold;"}}]});return{init:function(a){b.addButtonCmd(a,"bold",c)}}},{requires:["editor","../font/cmd"]});
2 changes: 1 addition & 1 deletion build/editor/plugin/bold/cmd.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* bold command.
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/bold/index-min.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
KISSY.add("editor/plugin/bold/index",function(c,g,e,f){function d(){}c.augment(d,{pluginRenderUI:function(a){f.init(a);a.addButton("bold",{cmdType:"bold",tooltip:"\u7c97\u4f53 "},e.Button);a.docReady(function(){a.get("document").on("keydown",function(b){b.ctrlKey&&b.keyCode==c.Node.KeyCodes.B&&(a.execCommand("bold"),b.preventDefault())})})}});return d},{requires:["editor","../font/ui","./cmd"]});
2 changes: 1 addition & 1 deletion build/editor/plugin/bold/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* bold command.
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/bubble/index-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/editor/plugin/bubble/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* bubble or tip view for kissy editor
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/button/index-min.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
KISSY.add("editor/plugin/button/index",function(h,e,f){e.prototype.addButton=function(g,b,d){void 0===d&&(d=f);var c=this.get("prefixCls")+"editor-toolbar-";b.elCls&&(b.elCls=c+b.elCls);b.elCls=c+"button "+(b.elCls||"");var a=(new d(h.mix({render:this.get("toolBarEl"),content:'<span class="'+c+"item "+c+g+'"></span>',prefixCls:this.get("prefixCls")+"editor-",editor:this},b))).render();a.get("el").unselectable();if(!b.content){var i=a.get("el").one("span");a.on("afterContentClsChange",function(a){i[0].className=
c+"item "+c+a.newVal})}a.get("mode")==e.WYSIWYG_MODE&&(this.on("wysiwygMode",function(){a.set("disabled",false)}),this.on("sourceMode",function(){a.set("disabled",true)}));this.addControl(g+"/button",a);return a};return f},{requires:["editor","button"]});
2 changes: 1 addition & 1 deletion build/editor/plugin/button/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* Encapsulate KISSY toggle button for kissy editor
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/checkbox-source-area/index-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/editor/plugin/checkbox-source-area/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* checkbox source editor for kissy editor
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/code/dialog-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/editor/plugin/code/dialog.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* insert program code dialog
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/code/index-min.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
KISSY.add("editor/plugin/code/index",function(b,c,d){function a(){}b.augment(a,{pluginRenderUI:function(a){a.addButton("code",{tooltip:"\u63d2\u5165\u4ee3\u7801",listeners:{click:function(){d.useDialog(a,"code")}},mode:c.WYSIWYG_MODE})}});return a},{requires:["editor","../dialog-loader/"]});
2 changes: 1 addition & 1 deletion build/editor/plugin/code/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* insert program code
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/color/btn-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/editor/plugin/color/btn.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* color button.
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/color/cmd-min.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
KISSY.add("editor/plugin/color/cmd",function(f,b){return{applyColor:function(a,c,d){var e=a.get("document")[0];a.execCommand("save");c?(new b.Style(d,{color:c})).apply(e):(new b.Style(d,{color:"inherit"})).remove(e);a.execCommand("save")}}},{requires:["editor"]});
2 changes: 1 addition & 1 deletion build/editor/plugin/color/cmd.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* color command.
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/color/color-picker/dialog-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/editor/plugin/color/color-picker/dialog.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* color picker
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/contextmenu/index-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/editor/plugin/contextmenu/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* contextmenu for kissy editor
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/dent-utils/cmd-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/editor/plugin/dent-utils/cmd.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* Add indent and outdent command identifier for KISSY Editor.Modified from CKEditor
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/dialog-loader/index-min.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
KISSY.add("editor/plugin/dialog-loader/index",function(c,d,e){var a,f={loading:function(b){a||(a=new d({x:0,width:6==c.UA.ie?c.DOM.docWidth():"100%",y:0,zIndex:e.baseZIndex(e.zIndexManager.LOADING),prefixCls:b+"editor-",elCls:b+"editor-global-loading"}));a.set("height",c.DOM.docHeight());a.show();a.loading()},unloading:function(){a.hide()}};return{useDialog:function(b,a,e,g){b.focus();var d=b.get("prefixCls");b.getControl(a+"/dialog")?setTimeout(function(){b.showDialog(a,g)},0):(f.loading(d),c.use("editor/plugin/"+
a+"/dialog",function(c,d){f.unloading();b.addControl(a+"/dialog",new d(b,e));b.showDialog(a,g)}))}}},{requires:["overlay","editor"]});
2 changes: 1 addition & 1 deletion build/editor/plugin/dialog-loader/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* load editor's dialog dynamically
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/draft/index-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/editor/plugin/draft/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* draft for kissy editor
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/drag-upload/index-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/editor/plugin/drag-upload/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* drag file support for html5 file&dd
Expand Down
2 changes: 1 addition & 1 deletion build/editor/plugin/element-path/index-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/editor/plugin/element-path/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY UI Library v1.32
MIT Licensed
build time: Aug 15 16:16
build time: Sep 4 17:00
*/
/**
* ElementPath for debug.
Expand Down

0 comments on commit 6d1a189

Please sign in to comment.