rails_kindeditor 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +14 -99
- data/lib/generators/rails_kindeditor/install/install_generator.rb +2 -2
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/kindeditor-min.js +165 -158
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/lang/en.js +210 -208
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/lang/zh_CN.js +214 -210
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/lang/zh_TW.js +212 -210
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/anchor/anchor.js +46 -0
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/clearhtml/clearhtml.js +29 -28
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/filemanager/filemanager.js +185 -189
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/flash/flash.js +145 -128
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/image/image.js +242 -226
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/insertfile/insertfile.js +109 -104
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/link/link.js +65 -59
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/map/map.js +137 -135
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/media/media.js +153 -136
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/pagebreak/pagebreak.js +26 -26
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/table/table.js +715 -661
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/wordpaste/wordpaste.js +51 -57
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/themes/common/anchor.gif +0 -0
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/themes/default/default.css +980 -941
- data/lib/generators/rails_kindeditor/install/templates/kindeditor/themes/default/default.gif +0 -0
- data/lib/rails_kindeditor/helper.rb +9 -10
- data/lib/rails_kindeditor/version.rb +1 -1
- metadata +29 -231
- data/vendor/assets/javascripts/kindeditor.js +0 -158
- data/vendor/assets/javascripts/lang/en.js +0 -208
- data/vendor/assets/javascripts/lang/zh_CN.js +0 -210
- data/vendor/assets/javascripts/lang/zh_TW.js +0 -210
- data/vendor/assets/javascripts/plugins/clearhtml/clearhtml.js +0 -28
- data/vendor/assets/javascripts/plugins/code/code.js +0 -57
- data/vendor/assets/javascripts/plugins/code/prettify.css +0 -13
- data/vendor/assets/javascripts/plugins/code/prettify.js +0 -28
- data/vendor/assets/javascripts/plugins/emoticons/emoticons.js +0 -129
- data/vendor/assets/javascripts/plugins/emoticons/images/0.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/1.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/10.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/100.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/101.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/102.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/103.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/104.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/105.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/106.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/107.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/108.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/109.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/11.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/110.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/111.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/112.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/113.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/114.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/115.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/116.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/117.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/118.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/119.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/12.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/120.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/121.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/122.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/123.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/124.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/125.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/126.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/127.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/128.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/129.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/13.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/130.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/131.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/132.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/133.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/134.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/14.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/15.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/16.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/17.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/18.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/19.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/2.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/20.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/21.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/22.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/23.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/24.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/25.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/26.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/27.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/28.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/29.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/3.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/30.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/31.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/32.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/33.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/34.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/35.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/36.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/37.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/38.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/39.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/4.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/40.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/41.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/42.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/43.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/44.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/45.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/46.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/47.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/48.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/49.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/5.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/50.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/51.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/52.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/53.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/54.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/55.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/56.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/57.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/58.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/59.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/6.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/60.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/61.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/62.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/63.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/64.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/65.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/66.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/67.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/68.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/69.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/7.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/70.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/71.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/72.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/73.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/74.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/75.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/76.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/77.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/78.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/79.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/8.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/80.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/81.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/82.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/83.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/84.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/85.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/86.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/87.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/88.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/89.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/9.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/90.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/91.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/92.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/93.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/94.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/95.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/96.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/97.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/98.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/99.gif +0 -0
- data/vendor/assets/javascripts/plugins/emoticons/images/static.gif +0 -0
- data/vendor/assets/javascripts/plugins/filemanager/filemanager.js +0 -189
- data/vendor/assets/javascripts/plugins/filemanager/images/file-16.gif +0 -0
- data/vendor/assets/javascripts/plugins/filemanager/images/file-64.gif +0 -0
- data/vendor/assets/javascripts/plugins/filemanager/images/folder-16.gif +0 -0
- data/vendor/assets/javascripts/plugins/filemanager/images/folder-64.gif +0 -0
- data/vendor/assets/javascripts/plugins/filemanager/images/go-up.gif +0 -0
- data/vendor/assets/javascripts/plugins/flash/flash.js +0 -128
- data/vendor/assets/javascripts/plugins/image/image.js +0 -226
- data/vendor/assets/javascripts/plugins/image/images/align_left.gif +0 -0
- data/vendor/assets/javascripts/plugins/image/images/align_right.gif +0 -0
- data/vendor/assets/javascripts/plugins/image/images/align_top.gif +0 -0
- data/vendor/assets/javascripts/plugins/image/images/refresh.gif +0 -0
- data/vendor/assets/javascripts/plugins/insertfile/insertfile.js +0 -104
- data/vendor/assets/javascripts/plugins/lineheight/lineheight.js +0 -38
- data/vendor/assets/javascripts/plugins/link/link.js +0 -59
- data/vendor/assets/javascripts/plugins/map/map.html +0 -57
- data/vendor/assets/javascripts/plugins/map/map.js +0 -135
- data/vendor/assets/javascripts/plugins/media/media.js +0 -136
- data/vendor/assets/javascripts/plugins/pagebreak/pagebreak.js +0 -26
- data/vendor/assets/javascripts/plugins/plainpaste/plainpaste.js +0 -41
- data/vendor/assets/javascripts/plugins/preview/preview.js +0 -31
- data/vendor/assets/javascripts/plugins/quickformat/quickformat.js +0 -71
- data/vendor/assets/javascripts/plugins/table/table.js +0 -661
- data/vendor/assets/javascripts/plugins/template/html/1.html +0 -14
- data/vendor/assets/javascripts/plugins/template/html/2.html +0 -42
- data/vendor/assets/javascripts/plugins/template/html/3.html +0 -36
- data/vendor/assets/javascripts/plugins/template/template.js +0 -58
- data/vendor/assets/javascripts/plugins/wordpaste/wordpaste.js +0 -57
- data/vendor/assets/stylesheets/bg.gif +0 -0
- data/vendor/assets/stylesheets/default.gif +0 -0
- data/vendor/assets/stylesheets/kindeditor.css +0 -942
- data/vendor/assets/stylesheets/themes/common/blank.gif +0 -0
- data/vendor/assets/stylesheets/themes/common/flash.gif +0 -0
- data/vendor/assets/stylesheets/themes/common/loading.gif +0 -0
- data/vendor/assets/stylesheets/themes/common/media.gif +0 -0
- data/vendor/assets/stylesheets/themes/common/rm.gif +0 -0
- data/vendor/assets/stylesheets/themes/simple/simple.css +0 -148
@@ -1,42 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8" />
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
<h3>
|
8
|
-
标题
|
9
|
-
</h3>
|
10
|
-
<table style="width:100%;" cellpadding="2" cellspacing="0" border="1">
|
11
|
-
<tbody>
|
12
|
-
<tr>
|
13
|
-
<td>
|
14
|
-
<h3>标题1</h3>
|
15
|
-
</td>
|
16
|
-
<td>
|
17
|
-
<h3>标题1</h3>
|
18
|
-
</td>
|
19
|
-
</tr>
|
20
|
-
<tr>
|
21
|
-
<td>
|
22
|
-
内容1
|
23
|
-
</td>
|
24
|
-
<td>
|
25
|
-
内容2
|
26
|
-
</td>
|
27
|
-
</tr>
|
28
|
-
<tr>
|
29
|
-
<td>
|
30
|
-
内容3
|
31
|
-
</td>
|
32
|
-
<td>
|
33
|
-
内容4
|
34
|
-
</td>
|
35
|
-
</tr>
|
36
|
-
</tbody>
|
37
|
-
</table>
|
38
|
-
<p>
|
39
|
-
表格说明
|
40
|
-
</p>
|
41
|
-
</body>
|
42
|
-
</html>
|
@@ -1,36 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8" />
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
<p>
|
8
|
-
在此处输入内容
|
9
|
-
</p>
|
10
|
-
<ol>
|
11
|
-
<li>
|
12
|
-
描述1
|
13
|
-
</li>
|
14
|
-
<li>
|
15
|
-
描述2
|
16
|
-
</li>
|
17
|
-
<li>
|
18
|
-
描述3
|
19
|
-
</li>
|
20
|
-
</ol>
|
21
|
-
<p>
|
22
|
-
在此处输入内容
|
23
|
-
</p>
|
24
|
-
<ul>
|
25
|
-
<li>
|
26
|
-
描述1
|
27
|
-
</li>
|
28
|
-
<li>
|
29
|
-
描述2
|
30
|
-
</li>
|
31
|
-
<li>
|
32
|
-
描述3
|
33
|
-
</li>
|
34
|
-
</ul>
|
35
|
-
</body>
|
36
|
-
</html>
|
@@ -1,58 +0,0 @@
|
|
1
|
-
/*******************************************************************************
|
2
|
-
* KindEditor - WYSIWYG HTML Editor for Internet
|
3
|
-
* Copyright (C) 2006-2011 kindsoft.net
|
4
|
-
*
|
5
|
-
* @author Roddy <luolonghao@gmail.com>
|
6
|
-
* @site http://www.kindsoft.net/
|
7
|
-
* @licence http://www.kindsoft.net/license.php
|
8
|
-
*******************************************************************************/
|
9
|
-
|
10
|
-
KindEditor.plugin('template', function(K) {
|
11
|
-
var self = this, name = 'template', lang = self.lang(name + '.'),
|
12
|
-
htmlPath = self.pluginsPath + name + '/html/';
|
13
|
-
function getFilePath(fileName) {
|
14
|
-
return htmlPath + fileName + '?ver=' + encodeURIComponent(K.DEBUG ? K.TIME : K.VERSION);
|
15
|
-
}
|
16
|
-
self.clickToolbar(name, function() {
|
17
|
-
var lang = self.lang(name + '.'),
|
18
|
-
arr = ['<div class="ke-plugin-template" style="padding:10px 20px;">',
|
19
|
-
'<div class="ke-header">',
|
20
|
-
// left start
|
21
|
-
'<div class="ke-left">',
|
22
|
-
lang. selectTemplate + ' <select>'];
|
23
|
-
K.each(lang.fileList, function(key, val) {
|
24
|
-
arr.push('<option value="' + key + '">' + val + '</option>');
|
25
|
-
});
|
26
|
-
html = [arr.join(''),
|
27
|
-
'</select></div>',
|
28
|
-
// right start
|
29
|
-
'<div class="ke-right">',
|
30
|
-
'<input type="checkbox" id="keReplaceFlag" name="replaceFlag" value="1" /> <label for="keReplaceFlag">' + lang.replaceContent + '</label>',
|
31
|
-
'</div>',
|
32
|
-
'<div class="ke-clearfix"></div>',
|
33
|
-
'</div>',
|
34
|
-
'<iframe class="ke-textarea" frameborder="0" style="width:458px;height:260px;background-color:#FFF;"></iframe>',
|
35
|
-
'</div>'].join('');
|
36
|
-
var dialog = self.createDialog({
|
37
|
-
name : name,
|
38
|
-
width : 500,
|
39
|
-
title : self.lang(name),
|
40
|
-
body : html,
|
41
|
-
yesBtn : {
|
42
|
-
name : self.lang('yes'),
|
43
|
-
click : function(e) {
|
44
|
-
var doc = K.iframeDoc(iframe);
|
45
|
-
self[checkbox[0].checked ? 'html' : 'insertHtml'](doc.body.innerHTML).hideDialog().focus();
|
46
|
-
}
|
47
|
-
}
|
48
|
-
});
|
49
|
-
var selectBox = K('select', dialog.div),
|
50
|
-
checkbox = K('[name="replaceFlag"]', dialog.div),
|
51
|
-
iframe = K('iframe', dialog.div);
|
52
|
-
checkbox[0].checked = true;
|
53
|
-
iframe.attr('src', getFilePath(selectBox.val()));
|
54
|
-
selectBox.change(function() {
|
55
|
-
iframe.attr('src', getFilePath(this.value));
|
56
|
-
});
|
57
|
-
});
|
58
|
-
});
|
@@ -1,57 +0,0 @@
|
|
1
|
-
/*******************************************************************************
|
2
|
-
* KindEditor - WYSIWYG HTML Editor for Internet
|
3
|
-
* Copyright (C) 2006-2011 kindsoft.net
|
4
|
-
*
|
5
|
-
* @author Roddy <luolonghao@gmail.com>
|
6
|
-
* @site http://www.kindsoft.net/
|
7
|
-
* @licence http://www.kindsoft.net/license.php
|
8
|
-
*******************************************************************************/
|
9
|
-
|
10
|
-
KindEditor.plugin('wordpaste', function(K) {
|
11
|
-
var self = this, name = 'wordpaste';
|
12
|
-
self.clickToolbar(name, function() {
|
13
|
-
var lang = self.lang(name + '.'),
|
14
|
-
html = '<div style="padding:10px 20px;">' +
|
15
|
-
'<div style="margin-bottom:10px;">' + lang.comment + '</div>' +
|
16
|
-
'<iframe class="ke-textarea" frameborder="0" style="width:408px;height:260px;"></iframe>' +
|
17
|
-
'</div>',
|
18
|
-
dialog = self.createDialog({
|
19
|
-
name : name,
|
20
|
-
width : 450,
|
21
|
-
title : self.lang(name),
|
22
|
-
body : html,
|
23
|
-
yesBtn : {
|
24
|
-
name : self.lang('yes'),
|
25
|
-
click : function(e) {
|
26
|
-
var str = doc.body.innerHTML;
|
27
|
-
str = str.replace(/<meta(\n|.)*?>/ig, '');
|
28
|
-
str = str.replace(/<!(\n|.)*?>/ig, '');
|
29
|
-
str = str.replace(/<style[^>]*>(\n|.)*?<\/style>/ig, '');
|
30
|
-
str = str.replace(/<script[^>]*>(\n|.)*?<\/script>/ig, '');
|
31
|
-
str = str.replace(/<w:[^>]+>(\n|.)*?<\/w:[^>]+>/ig, '');
|
32
|
-
str = str.replace(/<xml>(\n|.)*?<\/xml>/ig, '');
|
33
|
-
str = str.replace(/\r\n|\n|\r/ig, '');
|
34
|
-
self.insertHtml(str).hideDialog().focus();
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}),
|
38
|
-
div = dialog.div,
|
39
|
-
iframe = K('iframe', div),
|
40
|
-
doc = K.iframeDoc(iframe);
|
41
|
-
if (!K.IE) {
|
42
|
-
doc.designMode = 'on';
|
43
|
-
}
|
44
|
-
doc.open();
|
45
|
-
doc.write('<!doctype html><html><head><title>WordPaste</title></head>');
|
46
|
-
doc.write('<body style="background-color:#FFF;font-size:12px;margin:2px;">');
|
47
|
-
if (!K.IE) {
|
48
|
-
doc.write('<br />');
|
49
|
-
}
|
50
|
-
doc.write('</body></html>');
|
51
|
-
doc.close();
|
52
|
-
if (K.IE) {
|
53
|
-
doc.body.contentEditable = 'true';
|
54
|
-
}
|
55
|
-
iframe[0].contentWindow.focus();
|
56
|
-
});
|
57
|
-
});
|
Binary file
|
Binary file
|
@@ -1,942 +0,0 @@
|
|
1
|
-
/* common */
|
2
|
-
.ke-inline-block {
|
3
|
-
display: -moz-inline-stack;
|
4
|
-
display: inline-block;
|
5
|
-
vertical-align: middle;
|
6
|
-
zoom: 1;
|
7
|
-
*display: inline;
|
8
|
-
}
|
9
|
-
.ke-clearfix {
|
10
|
-
zoom: 1;
|
11
|
-
}
|
12
|
-
.ke-clearfix:after {
|
13
|
-
content: ".";
|
14
|
-
display: block;
|
15
|
-
clear: both;
|
16
|
-
font-size: 0;
|
17
|
-
height: 0;
|
18
|
-
line-height: 0;
|
19
|
-
visibility: hidden;
|
20
|
-
}
|
21
|
-
.ke-menu a,
|
22
|
-
.ke-menu a:hover,
|
23
|
-
.ke-dialog a,
|
24
|
-
.ke-dialog a:hover {
|
25
|
-
color: #337FE5;
|
26
|
-
text-decoration: none;
|
27
|
-
}
|
28
|
-
/* icons */
|
29
|
-
.ke-icon-source {
|
30
|
-
background-position: 0px 0px;
|
31
|
-
width: 16px;
|
32
|
-
height: 16px;
|
33
|
-
}
|
34
|
-
.ke-icon-preview {
|
35
|
-
background-position: 0px -16px;
|
36
|
-
width: 16px;
|
37
|
-
height: 16px;
|
38
|
-
}
|
39
|
-
.ke-icon-print {
|
40
|
-
background-position: 0px -32px;
|
41
|
-
width: 16px;
|
42
|
-
height: 16px;
|
43
|
-
}
|
44
|
-
.ke-icon-undo {
|
45
|
-
background-position: 0px -48px;
|
46
|
-
width: 16px;
|
47
|
-
height: 16px;
|
48
|
-
}
|
49
|
-
.ke-icon-redo {
|
50
|
-
background-position: 0px -64px;
|
51
|
-
width: 16px;
|
52
|
-
height: 16px;
|
53
|
-
}
|
54
|
-
.ke-icon-cut {
|
55
|
-
background-position: 0px -80px;
|
56
|
-
width: 16px;
|
57
|
-
height: 16px;
|
58
|
-
}
|
59
|
-
.ke-icon-copy {
|
60
|
-
background-position: 0px -96px;
|
61
|
-
width: 16px;
|
62
|
-
height: 16px;
|
63
|
-
}
|
64
|
-
.ke-icon-paste {
|
65
|
-
background-position: 0px -112px;
|
66
|
-
width: 16px;
|
67
|
-
height: 16px;
|
68
|
-
}
|
69
|
-
.ke-icon-selectall {
|
70
|
-
background-position: 0px -128px;
|
71
|
-
width: 16px;
|
72
|
-
height: 16px;
|
73
|
-
}
|
74
|
-
.ke-icon-justifyleft {
|
75
|
-
background-position: 0px -144px;
|
76
|
-
width: 16px;
|
77
|
-
height: 16px;
|
78
|
-
}
|
79
|
-
.ke-icon-justifycenter {
|
80
|
-
background-position: 0px -160px;
|
81
|
-
width: 16px;
|
82
|
-
height: 16px;
|
83
|
-
}
|
84
|
-
.ke-icon-justifyright {
|
85
|
-
background-position: 0px -176px;
|
86
|
-
width: 16px;
|
87
|
-
height: 16px;
|
88
|
-
}
|
89
|
-
.ke-icon-justifyfull {
|
90
|
-
background-position: 0px -192px;
|
91
|
-
width: 16px;
|
92
|
-
height: 16px;
|
93
|
-
}
|
94
|
-
.ke-icon-insertorderedlist {
|
95
|
-
background-position: 0px -208px;
|
96
|
-
width: 16px;
|
97
|
-
height: 16px;
|
98
|
-
}
|
99
|
-
.ke-icon-insertunorderedlist {
|
100
|
-
background-position: 0px -224px;
|
101
|
-
width: 16px;
|
102
|
-
height: 16px;
|
103
|
-
}
|
104
|
-
.ke-icon-indent {
|
105
|
-
background-position: 0px -240px;
|
106
|
-
width: 16px;
|
107
|
-
height: 16px;
|
108
|
-
}
|
109
|
-
.ke-icon-outdent {
|
110
|
-
background-position: 0px -256px;
|
111
|
-
width: 16px;
|
112
|
-
height: 16px;
|
113
|
-
}
|
114
|
-
.ke-icon-subscript {
|
115
|
-
background-position: 0px -272px;
|
116
|
-
width: 16px;
|
117
|
-
height: 16px;
|
118
|
-
}
|
119
|
-
.ke-icon-superscript {
|
120
|
-
background-position: 0px -288px;
|
121
|
-
width: 16px;
|
122
|
-
height: 16px;
|
123
|
-
}
|
124
|
-
.ke-icon-formatblock {
|
125
|
-
background-position: 0px -336px;
|
126
|
-
width: 25px;
|
127
|
-
height: 16px;
|
128
|
-
}
|
129
|
-
.ke-icon-fontname {
|
130
|
-
background-position: 0px -352px;
|
131
|
-
width: 21px;
|
132
|
-
height: 16px;
|
133
|
-
}
|
134
|
-
.ke-icon-fontsize {
|
135
|
-
background-position: 0px -368px;
|
136
|
-
width: 23px;
|
137
|
-
height: 16px;
|
138
|
-
}
|
139
|
-
.ke-icon-forecolor {
|
140
|
-
background-position: 0px -384px;
|
141
|
-
width: 20px;
|
142
|
-
height: 16px;
|
143
|
-
}
|
144
|
-
.ke-icon-hilitecolor {
|
145
|
-
background-position: 0px -400px;
|
146
|
-
width: 20px;
|
147
|
-
height: 16px;
|
148
|
-
}
|
149
|
-
.ke-icon-bold {
|
150
|
-
background-position: 0px -416px;
|
151
|
-
width: 16px;
|
152
|
-
height: 16px;
|
153
|
-
}
|
154
|
-
.ke-icon-italic {
|
155
|
-
background-position: 0px -432px;
|
156
|
-
width: 16px;
|
157
|
-
height: 16px;
|
158
|
-
}
|
159
|
-
.ke-icon-underline {
|
160
|
-
background-position: 0px -448px;
|
161
|
-
width: 16px;
|
162
|
-
height: 16px;
|
163
|
-
}
|
164
|
-
.ke-icon-strikethrough {
|
165
|
-
background-position: 0px -464px;
|
166
|
-
width: 16px;
|
167
|
-
height: 16px;
|
168
|
-
}
|
169
|
-
.ke-icon-removeformat {
|
170
|
-
background-position: 0px -480px;
|
171
|
-
width: 16px;
|
172
|
-
height: 16px;
|
173
|
-
}
|
174
|
-
.ke-icon-image {
|
175
|
-
background-position: 0px -496px;
|
176
|
-
width: 16px;
|
177
|
-
height: 16px;
|
178
|
-
}
|
179
|
-
.ke-icon-flash {
|
180
|
-
background-position: 0px -512px;
|
181
|
-
width: 16px;
|
182
|
-
height: 16px;
|
183
|
-
}
|
184
|
-
.ke-icon-media {
|
185
|
-
background-position: 0px -528px;
|
186
|
-
width: 16px;
|
187
|
-
height: 16px;
|
188
|
-
}
|
189
|
-
.ke-icon-hr {
|
190
|
-
background-position: 0px -592px;
|
191
|
-
width: 16px;
|
192
|
-
height: 16px;
|
193
|
-
}
|
194
|
-
.ke-icon-emoticons {
|
195
|
-
background-position: 0px -608px;
|
196
|
-
width: 16px;
|
197
|
-
height: 16px;
|
198
|
-
}
|
199
|
-
.ke-icon-link {
|
200
|
-
background-position: 0px -624px;
|
201
|
-
width: 16px;
|
202
|
-
height: 16px;
|
203
|
-
}
|
204
|
-
.ke-icon-unlink {
|
205
|
-
background-position: 0px -640px;
|
206
|
-
width: 16px;
|
207
|
-
height: 16px;
|
208
|
-
}
|
209
|
-
.ke-icon-fullscreen {
|
210
|
-
background-position: 0px -656px;
|
211
|
-
width: 16px;
|
212
|
-
height: 16px;
|
213
|
-
}
|
214
|
-
.ke-icon-about {
|
215
|
-
background-position: 0px -672px;
|
216
|
-
width: 16px;
|
217
|
-
height: 16px;
|
218
|
-
}
|
219
|
-
.ke-icon-plainpaste {
|
220
|
-
background-position: 0px -704px;
|
221
|
-
width: 16px;
|
222
|
-
height: 16px;
|
223
|
-
}
|
224
|
-
.ke-icon-wordpaste {
|
225
|
-
background-position: 0px -720px;
|
226
|
-
width: 16px;
|
227
|
-
height: 16px;
|
228
|
-
}
|
229
|
-
.ke-icon-table {
|
230
|
-
background-position: 0px -784px;
|
231
|
-
width: 16px;
|
232
|
-
height: 16px;
|
233
|
-
}
|
234
|
-
.ke-icon-tablemenu {
|
235
|
-
background-position: 0px -768px;
|
236
|
-
width: 16px;
|
237
|
-
height: 16px;
|
238
|
-
}
|
239
|
-
.ke-icon-tableinsert {
|
240
|
-
background-position: 0px -784px;
|
241
|
-
width: 16px;
|
242
|
-
height: 16px;
|
243
|
-
}
|
244
|
-
.ke-icon-tabledelete {
|
245
|
-
background-position: 0px -800px;
|
246
|
-
width: 16px;
|
247
|
-
height: 16px;
|
248
|
-
}
|
249
|
-
.ke-icon-tablecolinsertleft {
|
250
|
-
background-position: 0px -816px;
|
251
|
-
width: 16px;
|
252
|
-
height: 16px;
|
253
|
-
}
|
254
|
-
.ke-icon-tablecolinsertright {
|
255
|
-
background-position: 0px -832px;
|
256
|
-
width: 16px;
|
257
|
-
height: 16px;
|
258
|
-
}
|
259
|
-
.ke-icon-tablerowinsertabove {
|
260
|
-
background-position: 0px -848px;
|
261
|
-
width: 16px;
|
262
|
-
height: 16px;
|
263
|
-
}
|
264
|
-
.ke-icon-tablerowinsertbelow {
|
265
|
-
background-position: 0px -864px;
|
266
|
-
width: 16px;
|
267
|
-
height: 16px;
|
268
|
-
}
|
269
|
-
.ke-icon-tablecoldelete {
|
270
|
-
background-position: 0px -880px;
|
271
|
-
width: 16px;
|
272
|
-
height: 16px;
|
273
|
-
}
|
274
|
-
.ke-icon-tablerowdelete {
|
275
|
-
background-position: 0px -896px;
|
276
|
-
width: 16px;
|
277
|
-
height: 16px;
|
278
|
-
}
|
279
|
-
.ke-icon-tablecellprop {
|
280
|
-
background-position: 0px -912px;
|
281
|
-
width: 16px;
|
282
|
-
height: 16px;
|
283
|
-
}
|
284
|
-
.ke-icon-tableprop {
|
285
|
-
background-position: 0px -928px;
|
286
|
-
width: 16px;
|
287
|
-
height: 16px;
|
288
|
-
}
|
289
|
-
.ke-icon-checked {
|
290
|
-
background-position: 0px -944px;
|
291
|
-
width: 16px;
|
292
|
-
height: 16px;
|
293
|
-
}
|
294
|
-
.ke-icon-code {
|
295
|
-
background-position: 0px -960px;
|
296
|
-
width: 16px;
|
297
|
-
height: 16px;
|
298
|
-
}
|
299
|
-
.ke-icon-map {
|
300
|
-
background-position: 0px -976px;
|
301
|
-
width: 16px;
|
302
|
-
height: 16px;
|
303
|
-
}
|
304
|
-
.ke-icon-lineheight {
|
305
|
-
background-position: 0px -992px;
|
306
|
-
width: 16px;
|
307
|
-
height: 16px;
|
308
|
-
}
|
309
|
-
.ke-icon-clearhtml {
|
310
|
-
background-position: 0px -1008px;
|
311
|
-
width: 16px;
|
312
|
-
height: 16px;
|
313
|
-
}
|
314
|
-
.ke-icon-pagebreak {
|
315
|
-
background-position: 0px -1024px;
|
316
|
-
width: 16px;
|
317
|
-
height: 16px;
|
318
|
-
}
|
319
|
-
.ke-icon-insertfile {
|
320
|
-
background-position: 0px -1040px;
|
321
|
-
width: 16px;
|
322
|
-
height: 16px;
|
323
|
-
}
|
324
|
-
.ke-icon-quickformat {
|
325
|
-
background-position: 0px -1056px;
|
326
|
-
width: 16px;
|
327
|
-
height: 16px;
|
328
|
-
}
|
329
|
-
.ke-icon-template {
|
330
|
-
background-position: 0px -1072px;
|
331
|
-
width: 16px;
|
332
|
-
height: 16px;
|
333
|
-
}
|
334
|
-
.ke-icon-tablecellsplit {
|
335
|
-
background-position: 0px -1088px;
|
336
|
-
width: 16px;
|
337
|
-
height: 16px;
|
338
|
-
}
|
339
|
-
.ke-icon-tablerowmerge {
|
340
|
-
background-position: 0px -1104px;
|
341
|
-
width: 16px;
|
342
|
-
height: 16px;
|
343
|
-
}
|
344
|
-
.ke-icon-tablerowsplit {
|
345
|
-
background-position: 0px -1120px;
|
346
|
-
width: 16px;
|
347
|
-
height: 16px;
|
348
|
-
}
|
349
|
-
.ke-icon-tablecolmerge {
|
350
|
-
background-position: 0px -1136px;
|
351
|
-
width: 16px;
|
352
|
-
height: 16px;
|
353
|
-
}
|
354
|
-
.ke-icon-tablecolsplit {
|
355
|
-
background-position: 0px -1152px;
|
356
|
-
width: 16px;
|
357
|
-
height: 16px;
|
358
|
-
}
|
359
|
-
/* container */
|
360
|
-
.ke-container {
|
361
|
-
display: block;
|
362
|
-
border: 1px solid #CCCCCC;
|
363
|
-
background-color: #FFF;
|
364
|
-
overflow: hidden;
|
365
|
-
margin: 0;
|
366
|
-
padding: 0;
|
367
|
-
}
|
368
|
-
/* toolbar */
|
369
|
-
.ke-toolbar {
|
370
|
-
border-bottom: 1px solid #CCC;
|
371
|
-
background-color: #F0F0EE;
|
372
|
-
padding: 2px 5px;
|
373
|
-
overflow: hidden;
|
374
|
-
}
|
375
|
-
.ke-toolbar-icon {
|
376
|
-
background-repeat: no-repeat;
|
377
|
-
font-size: 0;
|
378
|
-
line-height: 0;
|
379
|
-
overflow: hidden;
|
380
|
-
}
|
381
|
-
.ke-toolbar-icon-url {
|
382
|
-
background-image: url(default.gif);
|
383
|
-
}
|
384
|
-
.ke-toolbar .ke-outline {
|
385
|
-
border: 1px solid #F0F0EE;
|
386
|
-
margin: 1px;
|
387
|
-
padding: 1px 2px;
|
388
|
-
font-size: 0;
|
389
|
-
line-height: 0;
|
390
|
-
overflow: hidden;
|
391
|
-
cursor: pointer;
|
392
|
-
}
|
393
|
-
.ke-toolbar .ke-on {
|
394
|
-
border: 1px solid #5690D2;
|
395
|
-
}
|
396
|
-
.ke-toolbar .ke-selected {
|
397
|
-
border: 1px solid #5690D2;
|
398
|
-
background-color: #E9EFF6;
|
399
|
-
}
|
400
|
-
.ke-toolbar .ke-disabled {
|
401
|
-
cursor: default;
|
402
|
-
}
|
403
|
-
.ke-toolbar .ke-separator {
|
404
|
-
height: 16px;
|
405
|
-
margin: 2px 3px;
|
406
|
-
border-left: 1px solid #A0A0A0;
|
407
|
-
border-right: 1px solid #FFFFFF;
|
408
|
-
border-top:0;
|
409
|
-
border-bottom:0;
|
410
|
-
width: 0;
|
411
|
-
font-size: 0;
|
412
|
-
line-height: 0;
|
413
|
-
overflow: hidden;
|
414
|
-
}
|
415
|
-
/* edit */
|
416
|
-
.ke-edit {
|
417
|
-
padding: 0;
|
418
|
-
}
|
419
|
-
.ke-edit-iframe,
|
420
|
-
.ke-edit-textarea {
|
421
|
-
border: 0;
|
422
|
-
margin: 0;
|
423
|
-
padding: 0;
|
424
|
-
}
|
425
|
-
.ke-edit-textarea {
|
426
|
-
font: 12px/1.5 "Consolas", "Monaco", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
|
427
|
-
color: #000;
|
428
|
-
overflow: auto;
|
429
|
-
resize: none;
|
430
|
-
}
|
431
|
-
.ke-edit-textarea:focus {
|
432
|
-
outline: none;
|
433
|
-
}
|
434
|
-
/* statusbar */
|
435
|
-
.ke-statusbar {
|
436
|
-
position: relative;
|
437
|
-
background-color: #F0F0EE;
|
438
|
-
border-top: 1px solid #CCCCCC;
|
439
|
-
font-size: 0;
|
440
|
-
line-height: 0;
|
441
|
-
*height: 12px;
|
442
|
-
overflow: hidden;
|
443
|
-
text-align: center;
|
444
|
-
cursor: s-resize;
|
445
|
-
}
|
446
|
-
.ke-statusbar-center-icon {
|
447
|
-
background-position: -0px -754px;
|
448
|
-
width: 15px;
|
449
|
-
height: 11px;
|
450
|
-
background-image: url(default.gif);
|
451
|
-
}
|
452
|
-
.ke-statusbar-right-icon {
|
453
|
-
position: absolute;
|
454
|
-
right: 0;
|
455
|
-
bottom: 0;
|
456
|
-
cursor: se-resize;
|
457
|
-
background-position: -5px -741px;
|
458
|
-
width: 11px;
|
459
|
-
height: 11px;
|
460
|
-
background-image: url(default.gif);
|
461
|
-
}
|
462
|
-
/* menu */
|
463
|
-
.ke-menu {
|
464
|
-
border: 1px solid #A0A0A0;
|
465
|
-
background-color: #F1F1F1;
|
466
|
-
color: #222222;
|
467
|
-
padding: 2px;
|
468
|
-
font-family: "sans serif",tahoma,verdana,helvetica;
|
469
|
-
font-size: 12px;
|
470
|
-
text-align: left;
|
471
|
-
overflow: hidden;
|
472
|
-
}
|
473
|
-
.ke-menu-item {
|
474
|
-
border: 1px solid #F1F1F1;
|
475
|
-
background-color: #F1F1F1;
|
476
|
-
color: #222222;
|
477
|
-
height: 24px;
|
478
|
-
overflow: hidden;
|
479
|
-
cursor: pointer;
|
480
|
-
}
|
481
|
-
.ke-menu-item-on {
|
482
|
-
border: 1px solid #5690D2;
|
483
|
-
background-color: #E9EFF6;
|
484
|
-
}
|
485
|
-
.ke-menu-item-left {
|
486
|
-
width: 27px;
|
487
|
-
text-align: center;
|
488
|
-
overflow: hidden;
|
489
|
-
}
|
490
|
-
.ke-menu-item-center {
|
491
|
-
width: 0;
|
492
|
-
height: 24px;
|
493
|
-
border-left: 1px solid #E3E3E3;
|
494
|
-
border-right: 1px solid #FFFFFF;
|
495
|
-
border-top: 0;
|
496
|
-
border-bottom: 0;
|
497
|
-
}
|
498
|
-
.ke-menu-item-center-on {
|
499
|
-
border-left: 1px solid #E9EFF6;
|
500
|
-
border-right: 1px solid #E9EFF6;
|
501
|
-
}
|
502
|
-
.ke-menu-item-right {
|
503
|
-
border: 0;
|
504
|
-
padding: 0 0 0 5px;
|
505
|
-
line-height: 24px;
|
506
|
-
text-align: left;
|
507
|
-
overflow: hidden;
|
508
|
-
}
|
509
|
-
.ke-menu-separator {
|
510
|
-
margin: 2px 0;
|
511
|
-
height: 0;
|
512
|
-
overflow: hidden;
|
513
|
-
border-top: 1px solid #CCCCCC;
|
514
|
-
border-bottom: 1px solid #FFFFFF;
|
515
|
-
border-left: 0;
|
516
|
-
border-right: 0;
|
517
|
-
}
|
518
|
-
/* colorpicker */
|
519
|
-
.ke-colorpicker {
|
520
|
-
border: 1px solid #A0A0A0;
|
521
|
-
background-color: #F1F1F1;
|
522
|
-
color: #222222;
|
523
|
-
padding: 2px;
|
524
|
-
}
|
525
|
-
.ke-colorpicker-table {
|
526
|
-
border:0;
|
527
|
-
margin:0;
|
528
|
-
padding:0;
|
529
|
-
border-collapse: separate;
|
530
|
-
}
|
531
|
-
.ke-colorpicker-cell {
|
532
|
-
font-size: 0;
|
533
|
-
line-height: 0;
|
534
|
-
border: 1px solid #F0F0EE;
|
535
|
-
cursor: pointer;
|
536
|
-
margin:3px;
|
537
|
-
padding:0;
|
538
|
-
}
|
539
|
-
.ke-colorpicker-cell-top {
|
540
|
-
font-family: "sans serif",tahoma,verdana,helvetica;
|
541
|
-
font-size: 12px;
|
542
|
-
line-height: 24px;
|
543
|
-
border: 1px solid #F0F0EE;
|
544
|
-
cursor: pointer;
|
545
|
-
margin:0;
|
546
|
-
padding:0;
|
547
|
-
text-align: center;
|
548
|
-
}
|
549
|
-
.ke-colorpicker-cell-on {
|
550
|
-
border: 1px solid #5690D2;
|
551
|
-
}
|
552
|
-
.ke-colorpicker-cell-selected {
|
553
|
-
border: 1px solid #2446AB;
|
554
|
-
}
|
555
|
-
.ke-colorpicker-cell-color {
|
556
|
-
width: 14px;
|
557
|
-
height: 14px;
|
558
|
-
margin: 3px;
|
559
|
-
padding: 0;
|
560
|
-
border: 0;
|
561
|
-
}
|
562
|
-
/* dialog */
|
563
|
-
.ke-dialog {
|
564
|
-
position: absolute;
|
565
|
-
margin: 0;
|
566
|
-
padding: 0;
|
567
|
-
color: #333;
|
568
|
-
background-color: #F0F0EE;
|
569
|
-
}
|
570
|
-
.ke-dialog-shadow {
|
571
|
-
border: 1px solid #A0A0A0;
|
572
|
-
border-radius: 0 0 4px 4px;
|
573
|
-
box-shadow: 0 4px 16px #A0A0A0;
|
574
|
-
}
|
575
|
-
.ke-dialog-no-shadow {
|
576
|
-
border: 1px solid #A0A0A0;
|
577
|
-
}
|
578
|
-
.ke-dialog-header {
|
579
|
-
border:0;
|
580
|
-
margin:0;
|
581
|
-
background-color: #F0F0EE;
|
582
|
-
padding: 10px;
|
583
|
-
text-align: left;
|
584
|
-
font: 14px/1 "sans serif",tahoma,verdana,helvetica;
|
585
|
-
font-weight: bold;
|
586
|
-
color: #222222;
|
587
|
-
cursor: move;
|
588
|
-
}
|
589
|
-
.ke-dialog-icon-close {
|
590
|
-
display: block;
|
591
|
-
background-position: 0px -688px;
|
592
|
-
width: 16px;
|
593
|
-
height: 16px;
|
594
|
-
position: absolute;
|
595
|
-
right: 15px;
|
596
|
-
top: 15px;
|
597
|
-
cursor: pointer;
|
598
|
-
background-image: url(default.gif);
|
599
|
-
overflow: hidden;
|
600
|
-
right: 10px;
|
601
|
-
top: 10px;
|
602
|
-
}
|
603
|
-
.ke-dialog-body {
|
604
|
-
font: 12px/1.5 "sans serif",tahoma,verdana,helvetica;
|
605
|
-
text-align: left;
|
606
|
-
overflow: hidden;
|
607
|
-
}
|
608
|
-
.ke-dialog-body textarea {
|
609
|
-
display: block;
|
610
|
-
overflow: auto;
|
611
|
-
padding: 0;
|
612
|
-
resize: none;
|
613
|
-
}
|
614
|
-
.ke-dialog-body textarea:focus,
|
615
|
-
.ke-dialog-body input:focus,
|
616
|
-
.ke-dialog-body select:focus {
|
617
|
-
outline: none;
|
618
|
-
}
|
619
|
-
.ke-dialog-body label {
|
620
|
-
margin-right: 10px;
|
621
|
-
cursor: pointer;
|
622
|
-
font-weight: bold;
|
623
|
-
display: -moz-inline-stack;
|
624
|
-
display: inline-block;
|
625
|
-
vertical-align: middle;
|
626
|
-
zoom: 1;
|
627
|
-
*display: inline;
|
628
|
-
}
|
629
|
-
.ke-dialog-body img {
|
630
|
-
display: -moz-inline-stack;
|
631
|
-
display: inline-block;
|
632
|
-
vertical-align: middle;
|
633
|
-
zoom: 1;
|
634
|
-
*display: inline;
|
635
|
-
}
|
636
|
-
.ke-dialog-body select {
|
637
|
-
display: -moz-inline-stack;
|
638
|
-
display: inline-block;
|
639
|
-
vertical-align: middle;
|
640
|
-
zoom: 1;
|
641
|
-
*display: inline;
|
642
|
-
}
|
643
|
-
.ke-dialog-body .ke-textarea {
|
644
|
-
display: block;
|
645
|
-
width: 408px;
|
646
|
-
height: 260px;
|
647
|
-
font-family: "sans serif",tahoma,verdana,helvetica;
|
648
|
-
font-size: 12px;
|
649
|
-
border-color: #848484 #E0E0E0 #E0E0E0 #848484;
|
650
|
-
border-style: solid;
|
651
|
-
border-width: 1px;
|
652
|
-
}
|
653
|
-
.ke-dialog-body .ke-form {
|
654
|
-
margin: 0;
|
655
|
-
padding: 0;
|
656
|
-
}
|
657
|
-
.ke-dialog-row {
|
658
|
-
margin-bottom: 10px;
|
659
|
-
}
|
660
|
-
.ke-dialog-footer {
|
661
|
-
font: 12px/1 "sans serif",tahoma,verdana,helvetica;
|
662
|
-
text-align: right;
|
663
|
-
padding:0 0 5px 0;
|
664
|
-
}
|
665
|
-
.ke-dialog-preview,
|
666
|
-
.ke-dialog-yes {
|
667
|
-
margin: 5px;
|
668
|
-
}
|
669
|
-
.ke-dialog-no {
|
670
|
-
margin: 5px 10px 5px 5px;
|
671
|
-
}
|
672
|
-
.ke-dialog-mask {
|
673
|
-
background-color:#FFF;
|
674
|
-
filter:alpha(opacity=50);
|
675
|
-
opacity:0.5;
|
676
|
-
}
|
677
|
-
.ke-button-common {
|
678
|
-
background: url(bg.gif) no-repeat scroll 0 0 transparent;
|
679
|
-
cursor: pointer;
|
680
|
-
height: 25px;
|
681
|
-
line-height: 25px;
|
682
|
-
overflow: visible;
|
683
|
-
display: inline-block;
|
684
|
-
vertical-align: top;
|
685
|
-
}
|
686
|
-
.ke-button-outer {
|
687
|
-
background-position: 0 0;
|
688
|
-
padding: 0;
|
689
|
-
position: relative;
|
690
|
-
display: -moz-inline-stack;
|
691
|
-
display: inline-block;
|
692
|
-
vertical-align: middle;
|
693
|
-
zoom: 1;
|
694
|
-
*display: inline;
|
695
|
-
}
|
696
|
-
.ke-button {
|
697
|
-
background-position: right 0;
|
698
|
-
padding: 0 12px;
|
699
|
-
margin: 0;
|
700
|
-
font-family: "sans serif",tahoma,verdana,helvetica;
|
701
|
-
border: 0 none;
|
702
|
-
color: #333;
|
703
|
-
font-size: 12px;
|
704
|
-
font-weight: bold;
|
705
|
-
left: 2px;
|
706
|
-
text-decoration: none;
|
707
|
-
}
|
708
|
-
/* inputbox */
|
709
|
-
.ke-input-text {
|
710
|
-
background-color:#FFFFFF;
|
711
|
-
font-family: "sans serif",tahoma,verdana,helvetica;
|
712
|
-
font-size: 12px;
|
713
|
-
line-height: 17px;
|
714
|
-
height: 17px;
|
715
|
-
padding: 2px 4px;
|
716
|
-
border-color: #848484 #E0E0E0 #E0E0E0 #848484;
|
717
|
-
border-style: solid;
|
718
|
-
border-width: 1px;
|
719
|
-
display: -moz-inline-stack;
|
720
|
-
display: inline-block;
|
721
|
-
vertical-align: middle;
|
722
|
-
zoom: 1;
|
723
|
-
*display: inline;
|
724
|
-
}
|
725
|
-
.ke-input-number {
|
726
|
-
width: 50px;
|
727
|
-
}
|
728
|
-
.ke-input-color {
|
729
|
-
border: 1px solid #A0A0A0;
|
730
|
-
background-color: #FFFFFF;
|
731
|
-
font-size: 12px;
|
732
|
-
width: 60px;
|
733
|
-
height: 20px;
|
734
|
-
line-height: 20px;
|
735
|
-
padding-left: 5px;
|
736
|
-
overflow: hidden;
|
737
|
-
cursor: pointer;
|
738
|
-
display: -moz-inline-stack;
|
739
|
-
display: inline-block;
|
740
|
-
vertical-align: middle;
|
741
|
-
zoom: 1;
|
742
|
-
*display: inline;
|
743
|
-
}
|
744
|
-
.ke-upload-area {
|
745
|
-
position: relative;
|
746
|
-
overflow: hidden;
|
747
|
-
}
|
748
|
-
.ke-upload-area .ke-upload-file {
|
749
|
-
position: absolute;
|
750
|
-
top: 0;
|
751
|
-
right: 0;
|
752
|
-
height: 25px;
|
753
|
-
padding: 0;
|
754
|
-
margin: 0;
|
755
|
-
z-index: 811212;
|
756
|
-
border: 0 none;
|
757
|
-
opacity:0;
|
758
|
-
filter:alpha(opacity=0);
|
759
|
-
}
|
760
|
-
/* tabs */
|
761
|
-
.ke-tabs {
|
762
|
-
font: 12px/1 "sans serif",tahoma,verdana,helvetica;
|
763
|
-
border-bottom:1px solid #A0A0A0;
|
764
|
-
padding-left:5px;
|
765
|
-
margin-bottom:10px;
|
766
|
-
}
|
767
|
-
.ke-tabs-ul {
|
768
|
-
list-style-image:none;
|
769
|
-
list-style-position:outside;
|
770
|
-
list-style-type:none;
|
771
|
-
margin:0;
|
772
|
-
padding:0;
|
773
|
-
}
|
774
|
-
.ke-tabs-li {
|
775
|
-
position: relative;
|
776
|
-
border: 1px solid #A0A0A0;
|
777
|
-
background-color: #E0E0E0;
|
778
|
-
margin: 0 2px -1px 0;
|
779
|
-
padding: 0 20px;
|
780
|
-
float: left;
|
781
|
-
line-height: 25px;
|
782
|
-
text-align: center;
|
783
|
-
color: #555555;
|
784
|
-
cursor: pointer;
|
785
|
-
}
|
786
|
-
.ke-tabs-li-selected {
|
787
|
-
background-color: #F0F0EE;
|
788
|
-
border-bottom: 1px solid #F0F0EE;
|
789
|
-
color: #000;
|
790
|
-
cursor: default;
|
791
|
-
}
|
792
|
-
.ke-tabs-li-on {
|
793
|
-
background-color: #F0F0EE;
|
794
|
-
color: #000;
|
795
|
-
}
|
796
|
-
/* emoticons */
|
797
|
-
.ke-plugin-emoticons {
|
798
|
-
position: relative;
|
799
|
-
}
|
800
|
-
.ke-plugin-emoticons .ke-preview {
|
801
|
-
position: absolute;
|
802
|
-
text-align: center;
|
803
|
-
margin: 2px;
|
804
|
-
padding: 10px;
|
805
|
-
top: 0;
|
806
|
-
border: 1px solid #A0A0A0;
|
807
|
-
background-color: #FFFFFF;
|
808
|
-
display: none;
|
809
|
-
}
|
810
|
-
.ke-plugin-emoticons .ke-preview-img {
|
811
|
-
border:0;
|
812
|
-
margin:0;
|
813
|
-
padding:0;
|
814
|
-
}
|
815
|
-
.ke-plugin-emoticons .ke-table {
|
816
|
-
border:0;
|
817
|
-
margin:0;
|
818
|
-
padding:0;
|
819
|
-
border-collapse:separate;
|
820
|
-
}
|
821
|
-
.ke-plugin-emoticons .ke-cell {
|
822
|
-
margin:0;
|
823
|
-
padding:1px;
|
824
|
-
border:1px solid #F0F0EE;
|
825
|
-
cursor:pointer;
|
826
|
-
}
|
827
|
-
.ke-plugin-emoticons .ke-on {
|
828
|
-
border: 1px solid #5690D2;
|
829
|
-
background-color: #E9EFF6;
|
830
|
-
}
|
831
|
-
.ke-plugin-emoticons .ke-img {
|
832
|
-
display:block;
|
833
|
-
background-repeat:no-repeat;
|
834
|
-
overflow:hidden;
|
835
|
-
margin:2px;
|
836
|
-
width:24px;
|
837
|
-
height:24px;
|
838
|
-
margin: 0;
|
839
|
-
padding: 0;
|
840
|
-
border: 0;
|
841
|
-
}
|
842
|
-
.ke-plugin-emoticons .ke-page {
|
843
|
-
text-align: right;
|
844
|
-
margin: 5px;
|
845
|
-
padding: 0;
|
846
|
-
border: 0;
|
847
|
-
font: 12px/1 "sans serif",tahoma,verdana,helvetica;
|
848
|
-
color: #333;
|
849
|
-
text-decoration: none;
|
850
|
-
}
|
851
|
-
.ke-plugin-plainpaste-textarea,
|
852
|
-
.ke-plugin-wordpaste-iframe {
|
853
|
-
display: block;
|
854
|
-
width: 408px;
|
855
|
-
height: 260px;
|
856
|
-
font-family: "sans serif",tahoma,verdana,helvetica;
|
857
|
-
font-size: 12px;
|
858
|
-
border-color: #848484 #E0E0E0 #E0E0E0 #848484;
|
859
|
-
border-style: solid;
|
860
|
-
border-width: 1px;
|
861
|
-
}
|
862
|
-
/* filemanager */
|
863
|
-
.ke-plugin-filemanager-header {
|
864
|
-
width: 100%;
|
865
|
-
margin-bottom: 10px;
|
866
|
-
}
|
867
|
-
.ke-plugin-filemanager-header .ke-left {
|
868
|
-
float: left;
|
869
|
-
}
|
870
|
-
.ke-plugin-filemanager-header .ke-right {
|
871
|
-
float: right;
|
872
|
-
}
|
873
|
-
.ke-plugin-filemanager-body {
|
874
|
-
overflow: scroll;
|
875
|
-
background-color:#FFFFFF;
|
876
|
-
border-color: #848484 #E0E0E0 #E0E0E0 #848484;
|
877
|
-
border-style: solid;
|
878
|
-
border-width: 1px;
|
879
|
-
width: 470px;
|
880
|
-
height: 370px;
|
881
|
-
padding: 5px;
|
882
|
-
}
|
883
|
-
.ke-plugin-filemanager-body .ke-item {
|
884
|
-
width: 100px;
|
885
|
-
margin: 5px;
|
886
|
-
}
|
887
|
-
.ke-plugin-filemanager-body .ke-photo {
|
888
|
-
border: 1px solid #DDDDDD;
|
889
|
-
background-color:#FFFFFF;
|
890
|
-
padding: 10px;
|
891
|
-
}
|
892
|
-
.ke-plugin-filemanager-body .ke-name {
|
893
|
-
width: 100px;
|
894
|
-
text-align: center;
|
895
|
-
overflow: hidden;
|
896
|
-
}
|
897
|
-
.ke-plugin-filemanager-body .ke-on {
|
898
|
-
border: 1px solid #5690D2;
|
899
|
-
background-color: #E9EFF6;
|
900
|
-
}
|
901
|
-
.ke-plugin-filemanager-body .ke-table {
|
902
|
-
width: 95%;
|
903
|
-
border: 0;
|
904
|
-
margin: 0;
|
905
|
-
padding: 0;
|
906
|
-
border-collapse: separate;
|
907
|
-
}
|
908
|
-
.ke-plugin-filemanager-body .ke-table .ke-cell {
|
909
|
-
margin: 0;
|
910
|
-
padding: 0;
|
911
|
-
border: 0;
|
912
|
-
}
|
913
|
-
.ke-plugin-filemanager-body .ke-table .ke-name {
|
914
|
-
width: 55%;
|
915
|
-
text-align: left;
|
916
|
-
}
|
917
|
-
.ke-plugin-filemanager-body .ke-table .ke-size {
|
918
|
-
width: 15%;
|
919
|
-
text-align: left;
|
920
|
-
}
|
921
|
-
.ke-plugin-filemanager-body .ke-table .ke-datetime {
|
922
|
-
width: 30%;
|
923
|
-
text-align: center;
|
924
|
-
}
|
925
|
-
/* template */
|
926
|
-
.ke-plugin-template .ke-header {
|
927
|
-
width: 100%;
|
928
|
-
margin-bottom: 10px;
|
929
|
-
}
|
930
|
-
.ke-plugin-template label {
|
931
|
-
margin-right: 0;
|
932
|
-
cursor: pointer;
|
933
|
-
font-weight: normal;
|
934
|
-
display: inline;
|
935
|
-
vertical-align: top;
|
936
|
-
}
|
937
|
-
.ke-plugin-template .ke-left {
|
938
|
-
float: left;
|
939
|
-
}
|
940
|
-
.ke-plugin-template .ke-right {
|
941
|
-
float: right;
|
942
|
-
}
|