loyal_rails_kindeditor 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (207) hide show
  1. data/lib/loyal_rails_kindeditor.rb +1 -0
  2. metadata +27 -231
  3. data/.gitignore +0 -5
  4. data/Gemfile +0 -6
  5. data/loyal_rails_kindeditor.gemspec +0 -24
  6. data/rails_kindeditor.gemspec +0 -23
  7. data/screenshots/rails_kindeditor.png +0 -0
  8. data/screenshots/simple_mode.png +0 -0
  9. data/vendor/assets/javascripts/kindeditor/kindeditor.js +0 -5827
  10. data/vendor/assets/javascripts/kindeditor/lang/ar.js +0 -232
  11. data/vendor/assets/javascripts/kindeditor/lang/en.js +0 -231
  12. data/vendor/assets/javascripts/kindeditor/lang/ko.js +0 -237
  13. data/vendor/assets/javascripts/kindeditor/lang/zh_CN.js +0 -235
  14. data/vendor/assets/javascripts/kindeditor/lang/zh_TW.js +0 -234
  15. data/vendor/assets/javascripts/kindeditor/plugins/anchor/anchor.js +0 -46
  16. data/vendor/assets/javascripts/kindeditor/plugins/autoheight/autoheight.js +0 -27
  17. data/vendor/assets/javascripts/kindeditor/plugins/baidumap/baidumap.js +0 -93
  18. data/vendor/assets/javascripts/kindeditor/plugins/baidumap/index.html +0 -83
  19. data/vendor/assets/javascripts/kindeditor/plugins/baidumap/map.html +0 -43
  20. data/vendor/assets/javascripts/kindeditor/plugins/clearhtml/clearhtml.js +0 -29
  21. data/vendor/assets/javascripts/kindeditor/plugins/code/code.js +0 -92
  22. data/vendor/assets/javascripts/kindeditor/plugins/code/prettify.css +0 -13
  23. data/vendor/assets/javascripts/kindeditor/plugins/code/prettify.js +0 -28
  24. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/emoticons.js +0 -129
  25. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/0.gif +0 -0
  26. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/1.gif +0 -0
  27. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/10.gif +0 -0
  28. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/100.gif +0 -0
  29. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/101.gif +0 -0
  30. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/102.gif +0 -0
  31. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/103.gif +0 -0
  32. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/104.gif +0 -0
  33. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/105.gif +0 -0
  34. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/106.gif +0 -0
  35. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/107.gif +0 -0
  36. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/108.gif +0 -0
  37. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/109.gif +0 -0
  38. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/11.gif +0 -0
  39. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/110.gif +0 -0
  40. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/111.gif +0 -0
  41. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/112.gif +0 -0
  42. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/113.gif +0 -0
  43. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/114.gif +0 -0
  44. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/115.gif +0 -0
  45. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/116.gif +0 -0
  46. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/117.gif +0 -0
  47. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/118.gif +0 -0
  48. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/119.gif +0 -0
  49. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/12.gif +0 -0
  50. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/120.gif +0 -0
  51. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/121.gif +0 -0
  52. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/122.gif +0 -0
  53. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/123.gif +0 -0
  54. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/124.gif +0 -0
  55. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/125.gif +0 -0
  56. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/126.gif +0 -0
  57. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/127.gif +0 -0
  58. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/128.gif +0 -0
  59. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/129.gif +0 -0
  60. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/13.gif +0 -0
  61. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/130.gif +0 -0
  62. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/131.gif +0 -0
  63. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/132.gif +0 -0
  64. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/133.gif +0 -0
  65. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/134.gif +0 -0
  66. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/14.gif +0 -0
  67. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/15.gif +0 -0
  68. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/16.gif +0 -0
  69. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/17.gif +0 -0
  70. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/18.gif +0 -0
  71. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/19.gif +0 -0
  72. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/2.gif +0 -0
  73. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/20.gif +0 -0
  74. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/21.gif +0 -0
  75. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/22.gif +0 -0
  76. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/23.gif +0 -0
  77. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/24.gif +0 -0
  78. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/25.gif +0 -0
  79. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/26.gif +0 -0
  80. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/27.gif +0 -0
  81. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/28.gif +0 -0
  82. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/29.gif +0 -0
  83. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/3.gif +0 -0
  84. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/30.gif +0 -0
  85. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/31.gif +0 -0
  86. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/32.gif +0 -0
  87. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/33.gif +0 -0
  88. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/34.gif +0 -0
  89. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/35.gif +0 -0
  90. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/36.gif +0 -0
  91. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/37.gif +0 -0
  92. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/38.gif +0 -0
  93. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/39.gif +0 -0
  94. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/4.gif +0 -0
  95. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/40.gif +0 -0
  96. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/41.gif +0 -0
  97. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/42.gif +0 -0
  98. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/43.gif +0 -0
  99. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/44.gif +0 -0
  100. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/45.gif +0 -0
  101. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/46.gif +0 -0
  102. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/47.gif +0 -0
  103. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/48.gif +0 -0
  104. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/49.gif +0 -0
  105. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/5.gif +0 -0
  106. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/50.gif +0 -0
  107. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/51.gif +0 -0
  108. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/52.gif +0 -0
  109. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/53.gif +0 -0
  110. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/54.gif +0 -0
  111. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/55.gif +0 -0
  112. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/56.gif +0 -0
  113. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/57.gif +0 -0
  114. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/58.gif +0 -0
  115. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/59.gif +0 -0
  116. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/6.gif +0 -0
  117. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/60.gif +0 -0
  118. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/61.gif +0 -0
  119. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/62.gif +0 -0
  120. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/63.gif +0 -0
  121. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/64.gif +0 -0
  122. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/65.gif +0 -0
  123. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/66.gif +0 -0
  124. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/67.gif +0 -0
  125. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/68.gif +0 -0
  126. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/69.gif +0 -0
  127. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/7.gif +0 -0
  128. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/70.gif +0 -0
  129. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/71.gif +0 -0
  130. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/72.gif +0 -0
  131. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/73.gif +0 -0
  132. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/74.gif +0 -0
  133. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/75.gif +0 -0
  134. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/76.gif +0 -0
  135. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/77.gif +0 -0
  136. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/78.gif +0 -0
  137. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/79.gif +0 -0
  138. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/8.gif +0 -0
  139. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/80.gif +0 -0
  140. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/81.gif +0 -0
  141. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/82.gif +0 -0
  142. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/83.gif +0 -0
  143. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/84.gif +0 -0
  144. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/85.gif +0 -0
  145. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/86.gif +0 -0
  146. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/87.gif +0 -0
  147. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/88.gif +0 -0
  148. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/89.gif +0 -0
  149. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/9.gif +0 -0
  150. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/90.gif +0 -0
  151. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/91.gif +0 -0
  152. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/92.gif +0 -0
  153. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/93.gif +0 -0
  154. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/94.gif +0 -0
  155. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/95.gif +0 -0
  156. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/96.gif +0 -0
  157. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/97.gif +0 -0
  158. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/98.gif +0 -0
  159. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/99.gif +0 -0
  160. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/static.gif +0 -0
  161. data/vendor/assets/javascripts/kindeditor/plugins/filemanager/filemanager.js +0 -190
  162. data/vendor/assets/javascripts/kindeditor/plugins/filemanager/images/file-16.gif +0 -0
  163. data/vendor/assets/javascripts/kindeditor/plugins/filemanager/images/file-64.gif +0 -0
  164. data/vendor/assets/javascripts/kindeditor/plugins/filemanager/images/folder-16.gif +0 -0
  165. data/vendor/assets/javascripts/kindeditor/plugins/filemanager/images/folder-64.gif +0 -0
  166. data/vendor/assets/javascripts/kindeditor/plugins/filemanager/images/go-up.gif +0 -0
  167. data/vendor/assets/javascripts/kindeditor/plugins/flash/flash.js +0 -160
  168. data/vendor/assets/javascripts/kindeditor/plugins/image/image.js +0 -316
  169. data/vendor/assets/javascripts/kindeditor/plugins/image/images/align_left.gif +0 -0
  170. data/vendor/assets/javascripts/kindeditor/plugins/image/images/align_right.gif +0 -0
  171. data/vendor/assets/javascripts/kindeditor/plugins/image/images/align_top.gif +0 -0
  172. data/vendor/assets/javascripts/kindeditor/plugins/image/images/refresh.png +0 -0
  173. data/vendor/assets/javascripts/kindeditor/plugins/insertfile/insertfile.js +0 -139
  174. data/vendor/assets/javascripts/kindeditor/plugins/lineheight/lineheight.js +0 -38
  175. data/vendor/assets/javascripts/kindeditor/plugins/link/link.js +0 -66
  176. data/vendor/assets/javascripts/kindeditor/plugins/map/map.html +0 -57
  177. data/vendor/assets/javascripts/kindeditor/plugins/map/map.js +0 -137
  178. data/vendor/assets/javascripts/kindeditor/plugins/media/media.js +0 -169
  179. data/vendor/assets/javascripts/kindeditor/plugins/multiimage/images/image.png +0 -0
  180. data/vendor/assets/javascripts/kindeditor/plugins/multiimage/images/select-files-en.png +0 -0
  181. data/vendor/assets/javascripts/kindeditor/plugins/multiimage/images/select-files-zh_CN.png +0 -0
  182. data/vendor/assets/javascripts/kindeditor/plugins/multiimage/images/swfupload.swf +0 -0
  183. data/vendor/assets/javascripts/kindeditor/plugins/multiimage/multiimage.js +0 -1385
  184. data/vendor/assets/javascripts/kindeditor/plugins/pagebreak/pagebreak.js +0 -29
  185. data/vendor/assets/javascripts/kindeditor/plugins/plainpaste/plainpaste.js +0 -41
  186. data/vendor/assets/javascripts/kindeditor/plugins/preview/preview.js +0 -31
  187. data/vendor/assets/javascripts/kindeditor/plugins/quickformat/quickformat.js +0 -81
  188. data/vendor/assets/javascripts/kindeditor/plugins/table/table.js +0 -705
  189. data/vendor/assets/javascripts/kindeditor/plugins/template/html/1.html +0 -14
  190. data/vendor/assets/javascripts/kindeditor/plugins/template/html/2.html +0 -42
  191. data/vendor/assets/javascripts/kindeditor/plugins/template/html/3.html +0 -36
  192. data/vendor/assets/javascripts/kindeditor/plugins/template/template.js +0 -58
  193. data/vendor/assets/javascripts/kindeditor/plugins/wordpaste/wordpaste.js +0 -51
  194. data/vendor/assets/javascripts/kindeditor/themes/common/anchor.gif +0 -0
  195. data/vendor/assets/javascripts/kindeditor/themes/common/blank.gif +0 -0
  196. data/vendor/assets/javascripts/kindeditor/themes/common/blockquote.gif +0 -0
  197. data/vendor/assets/javascripts/kindeditor/themes/common/flash.gif +0 -0
  198. data/vendor/assets/javascripts/kindeditor/themes/common/iframe.css +0 -98
  199. data/vendor/assets/javascripts/kindeditor/themes/common/loading.gif +0 -0
  200. data/vendor/assets/javascripts/kindeditor/themes/common/media.gif +0 -0
  201. data/vendor/assets/javascripts/kindeditor/themes/common/rm.gif +0 -0
  202. data/vendor/assets/javascripts/kindeditor/themes/default/background.png +0 -0
  203. data/vendor/assets/javascripts/kindeditor/themes/default/default.css +0 -1148
  204. data/vendor/assets/javascripts/kindeditor/themes/default/default.png +0 -0
  205. data/vendor/assets/javascripts/kindeditor/themes/qq/editor.gif +0 -0
  206. data/vendor/assets/javascripts/kindeditor/themes/qq/qq.css +0 -143
  207. data/vendor/assets/javascripts/kindeditor/themes/simple/simple.css +0 -100
@@ -1,14 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- </head>
6
- <body>
7
- <h3>
8
- <img align="left" height="100" style="margin-right: 10px" width="100" />在此处输入标题
9
- </h3>
10
- <p>
11
- 在此处输入内容
12
- </p>
13
- </body>
14
- </html>
@@ -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 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,51 +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 = K.clearMsWord(str, self.filterMode ? self.htmlTags : K.options.htmlTags);
28
- self.insertHtml(str).hideDialog().focus();
29
- }
30
- }
31
- }),
32
- div = dialog.div,
33
- iframe = K('iframe', div),
34
- doc = K.iframeDoc(iframe);
35
- if (!K.IE) {
36
- doc.designMode = 'on';
37
- }
38
- doc.open();
39
- doc.write('<!doctype html><html><head><title>WordPaste</title></head>');
40
- doc.write('<body style="background-color:#FFF;font-size:12px;margin:2px;">');
41
- if (!K.IE) {
42
- doc.write('<br />');
43
- }
44
- doc.write('</body></html>');
45
- doc.close();
46
- if (K.IE) {
47
- doc.body.contentEditable = 'true';
48
- }
49
- iframe[0].contentWindow.focus();
50
- });
51
- });
@@ -1,98 +0,0 @@
1
- html {margin:0;padding:0;}
2
- body {margin:0;padding:5px;}
3
- body, td {
4
- font: 12px "sans serif",tahoma,verdana,helvetica;
5
- }
6
- body, p, div {word-wrap: break-word;}
7
- p {margin:5px 0;}
8
- table {border-collapse:collapse;}
9
- img {border:0;}
10
- noscript {display:none;}
11
- table.ke-zeroborder td {border:1px dotted #AAA;}
12
- img.ke-flash {
13
- border:1px solid #AAA;
14
- background-image:url(./flash.gif);
15
- background-position:center center;
16
- background-repeat:no-repeat;
17
- width:100px;
18
- height:100px;
19
- }
20
- img.ke-rm {
21
- border:1px solid #AAA;
22
- background-image:url(./rm.gif);
23
- background-position:center center;
24
- background-repeat:no-repeat;
25
- width:100px;
26
- height:100px;
27
- }
28
- img.ke-media {
29
- border:1px solid #AAA;
30
- background-image:url(./media.gif);
31
- background-position:center center;
32
- background-repeat:no-repeat;
33
- width:100px;
34
- height:100px;
35
- }
36
- img.ke-anchor {
37
- border:1px dashed #666;
38
- width:16px;
39
- height:16px;
40
- }
41
- .ke-script, .ke-noscript, .ke-display-none {
42
- display:none;
43
- font-size:0;
44
- width:0;
45
- height:0;
46
- }
47
- .ke-pagebreak {
48
- border:1px dotted #AAA;
49
- font-size:0;
50
- height:2px;
51
- }
52
-
53
- .ke-content {
54
- font-size: 10pt;
55
- }
56
- .ke-content pre {
57
- font-size:9pt;
58
- font-family:Courier New,Arial;
59
- border:1px solid #ddd;
60
- border-left:5px solid #666;
61
- background:#f6f6f6;
62
- padding:5px;
63
- }
64
-
65
- .ke-content code {
66
- margin: 0 2px;
67
- padding: 0 5px;
68
- white-space: nowrap;
69
- border: 1px solid #DDD;
70
- background-color: #F6F6F6;
71
- border-radius: 3px;
72
- }
73
-
74
- .ke-content pre>code {
75
- margin: 0;
76
- padding: 0;
77
- white-space: pre;
78
- border: none;
79
- background: transparent;
80
- }
81
-
82
- .ke-content pre code {
83
- background-color: transparent;
84
- border: none;
85
- }
86
-
87
- .ke-content p {
88
- margin: 0 0 15px 0;
89
- margin-bottom:15pt;
90
- line-height:1.5;
91
- letter-spacing: 1px;
92
- }
93
-
94
- .ke-content div.ref {border:1px solid #ddd;margin:0 0 10px 0;padding:2px;font-size:9pt;background:#ffe;}
95
- .ke-content div.ref h4 {margin:0;padding:1px 3px;background:#CC9966;color:#fff;font-size:9pt;font-weight:normal;}
96
- .ke-content div.ref .ref_body {margin:0;padding:2px;line-height:20px;color:#666;font-size:9pt;}
97
-
98
- .ke-content blockquote {margin:15px 10px;border:2px solid #eee;padding:5px 5px 5px 35px;background:#f4f5f7 url('./blockquote.gif') no-repeat left top;color:#060;font-size:9pt;}
@@ -1,1148 +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-shadow {
22
- box-shadow: 1px 1px 3px #A0A0A0;
23
- -moz-box-shadow: 1px 1px 3px #A0A0A0;
24
- -webkit-box-shadow: 1px 1px 3px #A0A0A0;
25
- filter: progid:DXImageTransform.Microsoft.Shadow(color='#A0A0A0', Direction=135, Strength=3);
26
- background-color: #F0F0EE;
27
- }
28
- .ke-menu a,
29
- .ke-menu a:hover,
30
- .ke-dialog a,
31
- .ke-dialog a:hover {
32
- color: #337FE5;
33
- text-decoration: none;
34
- }
35
- /* icons */
36
- .ke-icon-source {
37
- background-position: 0px 0px;
38
- width: 16px;
39
- height: 16px;
40
- }
41
- .ke-icon-preview {
42
- background-position: 0px -16px;
43
- width: 16px;
44
- height: 16px;
45
- }
46
- .ke-icon-print {
47
- background-position: 0px -32px;
48
- width: 16px;
49
- height: 16px;
50
- }
51
- .ke-icon-undo {
52
- background-position: 0px -48px;
53
- width: 16px;
54
- height: 16px;
55
- }
56
- .ke-icon-redo {
57
- background-position: 0px -64px;
58
- width: 16px;
59
- height: 16px;
60
- }
61
- .ke-icon-cut {
62
- background-position: 0px -80px;
63
- width: 16px;
64
- height: 16px;
65
- }
66
- .ke-icon-copy {
67
- background-position: 0px -96px;
68
- width: 16px;
69
- height: 16px;
70
- }
71
- .ke-icon-paste {
72
- background-position: 0px -112px;
73
- width: 16px;
74
- height: 16px;
75
- }
76
- .ke-icon-selectall {
77
- background-position: 0px -128px;
78
- width: 16px;
79
- height: 16px;
80
- }
81
- .ke-icon-justifyleft {
82
- background-position: 0px -144px;
83
- width: 16px;
84
- height: 16px;
85
- }
86
- .ke-icon-justifycenter {
87
- background-position: 0px -160px;
88
- width: 16px;
89
- height: 16px;
90
- }
91
- .ke-icon-justifyright {
92
- background-position: 0px -176px;
93
- width: 16px;
94
- height: 16px;
95
- }
96
- .ke-icon-justifyfull {
97
- background-position: 0px -192px;
98
- width: 16px;
99
- height: 16px;
100
- }
101
- .ke-icon-insertorderedlist {
102
- background-position: 0px -208px;
103
- width: 16px;
104
- height: 16px;
105
- }
106
- .ke-icon-insertunorderedlist {
107
- background-position: 0px -224px;
108
- width: 16px;
109
- height: 16px;
110
- }
111
- .ke-icon-indent {
112
- background-position: 0px -240px;
113
- width: 16px;
114
- height: 16px;
115
- }
116
- .ke-icon-outdent {
117
- background-position: 0px -256px;
118
- width: 16px;
119
- height: 16px;
120
- }
121
- .ke-icon-subscript {
122
- background-position: 0px -272px;
123
- width: 16px;
124
- height: 16px;
125
- }
126
- .ke-icon-superscript {
127
- background-position: 0px -288px;
128
- width: 16px;
129
- height: 16px;
130
- }
131
- .ke-icon-date {
132
- background-position: 0px -304px;
133
- width: 25px;
134
- height: 16px;
135
- }
136
- .ke-icon-time {
137
- background-position: 0px -320px;
138
- width: 25px;
139
- height: 16px;
140
- }
141
- .ke-icon-formatblock {
142
- background-position: 0px -336px;
143
- width: 25px;
144
- height: 16px;
145
- }
146
- .ke-icon-fontname {
147
- background-position: 0px -352px;
148
- width: 21px;
149
- height: 16px;
150
- }
151
- .ke-icon-fontsize {
152
- background-position: 0px -368px;
153
- width: 23px;
154
- height: 16px;
155
- }
156
- .ke-icon-forecolor {
157
- background-position: 0px -384px;
158
- width: 20px;
159
- height: 16px;
160
- }
161
- .ke-icon-hilitecolor {
162
- background-position: 0px -400px;
163
- width: 23px;
164
- height: 16px;
165
- }
166
- .ke-icon-bold {
167
- background-position: 0px -416px;
168
- width: 16px;
169
- height: 16px;
170
- }
171
- .ke-icon-italic {
172
- background-position: 0px -432px;
173
- width: 16px;
174
- height: 16px;
175
- }
176
- .ke-icon-underline {
177
- background-position: 0px -448px;
178
- width: 16px;
179
- height: 16px;
180
- }
181
- .ke-icon-strikethrough {
182
- background-position: 0px -464px;
183
- width: 16px;
184
- height: 16px;
185
- }
186
- .ke-icon-removeformat {
187
- background-position: 0px -480px;
188
- width: 16px;
189
- height: 16px;
190
- }
191
- .ke-icon-image {
192
- background-position: 0px -496px;
193
- width: 16px;
194
- height: 16px;
195
- }
196
- .ke-icon-flash {
197
- background-position: 0px -512px;
198
- width: 16px;
199
- height: 16px;
200
- }
201
- .ke-icon-media {
202
- background-position: 0px -528px;
203
- width: 16px;
204
- height: 16px;
205
- }
206
- .ke-icon-div {
207
- background-position: 0px -544px;
208
- width: 16px;
209
- height: 16px;
210
- }
211
- .ke-icon-formula {
212
- background-position: 0px -576px;
213
- width: 16px;
214
- height: 16px;
215
- }
216
- .ke-icon-hr {
217
- background-position: 0px -592px;
218
- width: 16px;
219
- height: 16px;
220
- }
221
- .ke-icon-emoticons {
222
- background-position: 0px -608px;
223
- width: 16px;
224
- height: 16px;
225
- }
226
- .ke-icon-link {
227
- background-position: 0px -624px;
228
- width: 16px;
229
- height: 16px;
230
- }
231
- .ke-icon-unlink {
232
- background-position: 0px -640px;
233
- width: 16px;
234
- height: 16px;
235
- }
236
- .ke-icon-fullscreen {
237
- background-position: 0px -656px;
238
- width: 16px;
239
- height: 16px;
240
- }
241
- .ke-icon-about {
242
- background-position: 0px -672px;
243
- width: 16px;
244
- height: 16px;
245
- }
246
- .ke-icon-plainpaste {
247
- background-position: 0px -704px;
248
- width: 16px;
249
- height: 16px;
250
- }
251
- .ke-icon-wordpaste {
252
- background-position: 0px -720px;
253
- width: 16px;
254
- height: 16px;
255
- }
256
- .ke-icon-table {
257
- background-position: 0px -784px;
258
- width: 16px;
259
- height: 16px;
260
- }
261
- .ke-icon-tablemenu {
262
- background-position: 0px -768px;
263
- width: 16px;
264
- height: 16px;
265
- }
266
- .ke-icon-tableinsert {
267
- background-position: 0px -784px;
268
- width: 16px;
269
- height: 16px;
270
- }
271
- .ke-icon-tabledelete {
272
- background-position: 0px -800px;
273
- width: 16px;
274
- height: 16px;
275
- }
276
- .ke-icon-tablecolinsertleft {
277
- background-position: 0px -816px;
278
- width: 16px;
279
- height: 16px;
280
- }
281
- .ke-icon-tablecolinsertright {
282
- background-position: 0px -832px;
283
- width: 16px;
284
- height: 16px;
285
- }
286
- .ke-icon-tablerowinsertabove {
287
- background-position: 0px -848px;
288
- width: 16px;
289
- height: 16px;
290
- }
291
- .ke-icon-tablerowinsertbelow {
292
- background-position: 0px -864px;
293
- width: 16px;
294
- height: 16px;
295
- }
296
- .ke-icon-tablecoldelete {
297
- background-position: 0px -880px;
298
- width: 16px;
299
- height: 16px;
300
- }
301
- .ke-icon-tablerowdelete {
302
- background-position: 0px -896px;
303
- width: 16px;
304
- height: 16px;
305
- }
306
- .ke-icon-tablecellprop {
307
- background-position: 0px -912px;
308
- width: 16px;
309
- height: 16px;
310
- }
311
- .ke-icon-tableprop {
312
- background-position: 0px -928px;
313
- width: 16px;
314
- height: 16px;
315
- }
316
- .ke-icon-checked {
317
- background-position: 0px -944px;
318
- width: 16px;
319
- height: 16px;
320
- }
321
- .ke-icon-code {
322
- background-position: 0px -960px;
323
- width: 16px;
324
- height: 16px;
325
- }
326
- .ke-icon-map {
327
- background-position: 0px -976px;
328
- width: 16px;
329
- height: 16px;
330
- }
331
- .ke-icon-baidumap {
332
- background-position: 0px -976px;
333
- width: 16px;
334
- height: 16px;
335
- }
336
- .ke-icon-lineheight {
337
- background-position: 0px -992px;
338
- width: 16px;
339
- height: 16px;
340
- }
341
- .ke-icon-clearhtml {
342
- background-position: 0px -1008px;
343
- width: 16px;
344
- height: 16px;
345
- }
346
- .ke-icon-pagebreak {
347
- background-position: 0px -1024px;
348
- width: 16px;
349
- height: 16px;
350
- }
351
- .ke-icon-insertfile {
352
- background-position: 0px -1040px;
353
- width: 16px;
354
- height: 16px;
355
- }
356
- .ke-icon-quickformat {
357
- background-position: 0px -1056px;
358
- width: 16px;
359
- height: 16px;
360
- }
361
- .ke-icon-template {
362
- background-position: 0px -1072px;
363
- width: 16px;
364
- height: 16px;
365
- }
366
- .ke-icon-tablecellsplit {
367
- background-position: 0px -1088px;
368
- width: 16px;
369
- height: 16px;
370
- }
371
- .ke-icon-tablerowmerge {
372
- background-position: 0px -1104px;
373
- width: 16px;
374
- height: 16px;
375
- }
376
- .ke-icon-tablerowsplit {
377
- background-position: 0px -1120px;
378
- width: 16px;
379
- height: 16px;
380
- }
381
- .ke-icon-tablecolmerge {
382
- background-position: 0px -1136px;
383
- width: 16px;
384
- height: 16px;
385
- }
386
- .ke-icon-tablecolsplit {
387
- background-position: 0px -1152px;
388
- width: 16px;
389
- height: 16px;
390
- }
391
- .ke-icon-anchor {
392
- background-position: 0px -1168px;
393
- width: 16px;
394
- height: 16px;
395
- }
396
- .ke-icon-search {
397
- background-position: 0px -1184px;
398
- width: 16px;
399
- height: 16px;
400
- }
401
- .ke-icon-new {
402
- background-position: 0px -1200px;
403
- width: 16px;
404
- height: 16px;
405
- }
406
- .ke-icon-specialchar {
407
- background-position: 0px -1216px;
408
- width: 16px;
409
- height: 16px;
410
- }
411
- .ke-icon-multiimage {
412
- background-position: 0px -1232px;
413
- width: 16px;
414
- height: 16px;
415
- }
416
- /* container */
417
- .ke-container {
418
- display: block;
419
- border: 1px solid #CCCCCC;
420
- background-color: #FFF;
421
- overflow: hidden;
422
- margin: 0;
423
- padding: 0;
424
- }
425
- /* toolbar */
426
- .ke-toolbar {
427
- border-bottom: 1px solid #CCC;
428
- background-color: #F0F0EE;
429
- padding: 2px 5px;
430
- text-align: left;
431
- overflow: hidden;
432
- zoom: 1;
433
- }
434
- .ke-toolbar-icon {
435
- background-repeat: no-repeat;
436
- font-size: 0;
437
- line-height: 0;
438
- overflow: hidden;
439
- display: block;
440
- }
441
- .ke-toolbar-icon-url {
442
- background-image: url(default.png);
443
- }
444
- .ke-toolbar .ke-outline {
445
- border: 1px solid #F0F0EE;
446
- margin: 1px;
447
- padding: 1px 2px;
448
- font-size: 0;
449
- line-height: 0;
450
- overflow: hidden;
451
- cursor: pointer;
452
- display: block;
453
- float: left;
454
- }
455
- .ke-toolbar .ke-on {
456
- border: 1px solid #5690D2;
457
- }
458
- .ke-toolbar .ke-selected {
459
- border: 1px solid #5690D2;
460
- background-color: #E9EFF6;
461
- }
462
- .ke-toolbar .ke-disabled {
463
- cursor: default;
464
- }
465
- .ke-toolbar .ke-separator {
466
- height: 16px;
467
- margin: 2px 3px;
468
- border-left: 1px solid #A0A0A0;
469
- border-right: 1px solid #FFFFFF;
470
- border-top:0;
471
- border-bottom:0;
472
- width: 0;
473
- font-size: 0;
474
- line-height: 0;
475
- overflow: hidden;
476
- display: block;
477
- float: left;
478
- }
479
- .ke-toolbar .ke-hr {
480
- overflow: hidden;
481
- height: 1px;
482
- clear: both;
483
- }
484
- /* edit */
485
- .ke-edit {
486
- padding: 0;
487
- }
488
- .ke-edit-iframe,
489
- .ke-edit-textarea {
490
- border: 0;
491
- margin: 0;
492
- padding: 0;
493
- overflow: auto;
494
- }
495
- .ke-edit-textarea {
496
- font: 12px/1.5 "Consolas", "Monaco", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
497
- color: #000;
498
- overflow: auto;
499
- resize: none;
500
- }
501
- .ke-edit-textarea:focus {
502
- outline: none;
503
- }
504
- /* statusbar */
505
- .ke-statusbar {
506
- position: relative;
507
- background-color: #F0F0EE;
508
- border-top: 1px solid #CCCCCC;
509
- font-size: 0;
510
- line-height: 0;
511
- *height: 12px;
512
- overflow: hidden;
513
- text-align: center;
514
- cursor: s-resize;
515
- }
516
- .ke-statusbar-center-icon {
517
- background-position: -0px -754px;
518
- width: 15px;
519
- height: 11px;
520
- background-image: url(default.png);
521
- }
522
- .ke-statusbar-right-icon {
523
- position: absolute;
524
- right: 0;
525
- bottom: 0;
526
- cursor: se-resize;
527
- background-position: -5px -741px;
528
- width: 11px;
529
- height: 11px;
530
- background-image: url(default.png);
531
- }
532
- /* menu */
533
- .ke-menu {
534
- border: 1px solid #A0A0A0;
535
- background-color: #F1F1F1;
536
- color: #222222;
537
- padding: 2px;
538
- font-family: "sans serif",tahoma,verdana,helvetica;
539
- font-size: 12px;
540
- text-align: left;
541
- overflow: hidden;
542
- }
543
- .ke-menu-item {
544
- border: 1px solid #F1F1F1;
545
- background-color: #F1F1F1;
546
- color: #222222;
547
- height: 24px;
548
- overflow: hidden;
549
- cursor: pointer;
550
- }
551
- .ke-menu-item-on {
552
- border: 1px solid #5690D2;
553
- background-color: #E9EFF6;
554
- }
555
- .ke-menu-item-left {
556
- width: 27px;
557
- text-align: center;
558
- overflow: hidden;
559
- }
560
- .ke-menu-item-center {
561
- width: 0;
562
- height: 24px;
563
- border-left: 1px solid #E3E3E3;
564
- border-right: 1px solid #FFFFFF;
565
- border-top: 0;
566
- border-bottom: 0;
567
- }
568
- .ke-menu-item-center-on {
569
- border-left: 1px solid #E9EFF6;
570
- border-right: 1px solid #E9EFF6;
571
- }
572
- .ke-menu-item-right {
573
- border: 0;
574
- padding: 0 0 0 5px;
575
- line-height: 24px;
576
- text-align: left;
577
- overflow: hidden;
578
- }
579
- .ke-menu-separator {
580
- margin: 2px 0;
581
- height: 0;
582
- overflow: hidden;
583
- border-top: 1px solid #CCCCCC;
584
- border-bottom: 1px solid #FFFFFF;
585
- border-left: 0;
586
- border-right: 0;
587
- }
588
- /* colorpicker */
589
- .ke-colorpicker {
590
- border: 1px solid #A0A0A0;
591
- background-color: #F1F1F1;
592
- color: #222222;
593
- padding: 2px;
594
- }
595
- .ke-colorpicker-table {
596
- border:0;
597
- margin:0;
598
- padding:0;
599
- border-collapse: separate;
600
- }
601
- .ke-colorpicker-cell {
602
- font-size: 0;
603
- line-height: 0;
604
- border: 1px solid #F0F0EE;
605
- cursor: pointer;
606
- margin:3px;
607
- padding:0;
608
- }
609
- .ke-colorpicker-cell-top {
610
- font-family: "sans serif",tahoma,verdana,helvetica;
611
- font-size: 12px;
612
- line-height: 24px;
613
- border: 1px solid #F0F0EE;
614
- cursor: pointer;
615
- margin:0;
616
- padding:0;
617
- text-align: center;
618
- }
619
- .ke-colorpicker-cell-on {
620
- border: 1px solid #5690D2;
621
- }
622
- .ke-colorpicker-cell-selected {
623
- border: 1px solid #2446AB;
624
- }
625
- .ke-colorpicker-cell-color {
626
- width: 14px;
627
- height: 14px;
628
- margin: 3px;
629
- padding: 0;
630
- border: 0;
631
- }
632
- /* dialog */
633
- .ke-dialog {
634
- position: absolute;
635
- margin: 0;
636
- padding: 0;
637
- }
638
- .ke-dialog .ke-header {
639
- width: 100%;
640
- margin-bottom: 10px;
641
- }
642
- .ke-dialog .ke-header .ke-left {
643
- float: left;
644
- }
645
- .ke-dialog .ke-header .ke-right {
646
- float: right;
647
- }
648
- .ke-dialog .ke-header label {
649
- margin-right: 0;
650
- cursor: pointer;
651
- font-weight: normal;
652
- display: inline;
653
- vertical-align: top;
654
- }
655
- .ke-dialog-content {
656
- background-color: #FFF;
657
- width: 100%;
658
- height: 100%;
659
- color: #333;
660
- border: 1px solid #A0A0A0;
661
- }
662
- .ke-dialog-shadow {
663
- position: absolute;
664
- z-index: -1;
665
- top: 0;
666
- left: 0;
667
- width: 100%;
668
- height: 100%;
669
- box-shadow: 3px 3px 7px #999;
670
- -moz-box-shadow: 3px 3px 7px #999;
671
- -webkit-box-shadow: 3px 3px 7px #999;
672
- filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='3', MakeShadow='true', ShadowOpacity='0.4');
673
- background-color: #F0F0EE;
674
- }
675
- .ke-dialog-header {
676
- border:0;
677
- margin:0;
678
- padding: 0 10px;
679
- background: url(background.png) repeat scroll 0 0 #F0F0EE;
680
- border-bottom: 1px solid #CFCFCF;
681
- height: 24px;
682
- font: 12px/24px "sans serif",tahoma,verdana,helvetica;
683
- text-align: left;
684
- color: #222;
685
- cursor: move;
686
- }
687
- .ke-dialog-icon-close {
688
- display: block;
689
- background: url(default.png) no-repeat scroll 0px -688px;
690
- width: 16px;
691
- height: 16px;
692
- position: absolute;
693
- right: 6px;
694
- top: 6px;
695
- cursor: pointer;
696
- }
697
- .ke-dialog-body {
698
- font: 12px/1.5 "sans serif",tahoma,verdana,helvetica;
699
- text-align: left;
700
- overflow: hidden;
701
- width: 100%;
702
- }
703
- .ke-dialog-body textarea {
704
- display: block;
705
- overflow: auto;
706
- padding: 0;
707
- resize: none;
708
- }
709
- .ke-dialog-body textarea:focus,
710
- .ke-dialog-body input:focus,
711
- .ke-dialog-body select:focus {
712
- outline: none;
713
- }
714
- .ke-dialog-body label {
715
- margin-right: 10px;
716
- cursor: pointer;
717
- display: -moz-inline-stack;
718
- display: inline-block;
719
- vertical-align: middle;
720
- zoom: 1;
721
- *display: inline;
722
- }
723
- .ke-dialog-body img {
724
- display: -moz-inline-stack;
725
- display: inline-block;
726
- vertical-align: middle;
727
- zoom: 1;
728
- *display: inline;
729
- }
730
- .ke-dialog-body select {
731
- display: -moz-inline-stack;
732
- display: inline-block;
733
- vertical-align: middle;
734
- zoom: 1;
735
- *display: inline;
736
- width: auto;
737
- }
738
- .ke-dialog-body .ke-textarea {
739
- display: block;
740
- width: 408px;
741
- height: 260px;
742
- font-family: "sans serif",tahoma,verdana,helvetica;
743
- font-size: 12px;
744
- border-color: #848484 #E0E0E0 #E0E0E0 #848484;
745
- border-style: solid;
746
- border-width: 1px;
747
- }
748
- .ke-dialog-body .ke-form {
749
- margin: 0;
750
- padding: 0;
751
- }
752
- .ke-dialog-loading {
753
- position: absolute;
754
- top: 0;
755
- left: 1px;
756
- z-index: 1;
757
- text-align: center;
758
- }
759
- .ke-dialog-loading-content {
760
- background: url("../common/loading.gif") no-repeat;
761
- color: #666;
762
- font-size: 14px;
763
- font-weight: bold;
764
- height: 31px;
765
- line-height: 31px;
766
- padding-left: 36px;
767
- }
768
- .ke-dialog-row {
769
- margin-bottom: 10px;
770
- }
771
- .ke-dialog-footer {
772
- font: 12px/1 "sans serif",tahoma,verdana,helvetica;
773
- text-align: right;
774
- padding:0 0 5px 0;
775
- background-color: #FFF;
776
- width: 100%;
777
- }
778
- .ke-dialog-preview,
779
- .ke-dialog-yes {
780
- margin: 5px;
781
- }
782
- .ke-dialog-no {
783
- margin: 5px 10px 5px 5px;
784
- }
785
- .ke-dialog-mask {
786
- background-color:#FFF;
787
- filter:alpha(opacity=50);
788
- opacity:0.5;
789
- }
790
- .ke-button-common {
791
- background: url(background.png) no-repeat scroll 0 -25px transparent;
792
- cursor: pointer;
793
- height: 23px;
794
- line-height: 23px;
795
- overflow: visible;
796
- display: inline-block;
797
- vertical-align: top;
798
- cursor: pointer;
799
- }
800
- .ke-button-outer {
801
- background-position: 0 -25px;
802
- padding: 0;
803
- position: relative;
804
- display: -moz-inline-stack;
805
- display: inline-block;
806
- vertical-align: middle;
807
- zoom: 1;
808
- *display: inline;
809
- }
810
- .ke-button {
811
- background-position: right -25px;
812
- padding: 0 12px;
813
- margin: 0;
814
- font-family: "sans serif",tahoma,verdana,helvetica;
815
- border: 0 none;
816
- color: #333;
817
- font-size: 12px;
818
- left: 2px;
819
- text-decoration: none;
820
- }
821
- /* inputbox */
822
- .ke-input-text {
823
- background-color:#FFFFFF;
824
- font-family: "sans serif",tahoma,verdana,helvetica;
825
- font-size: 12px;
826
- line-height: 17px;
827
- height: 17px;
828
- padding: 2px 4px;
829
- border-color: #848484 #E0E0E0 #E0E0E0 #848484;
830
- border-style: solid;
831
- border-width: 1px;
832
- display: -moz-inline-stack;
833
- display: inline-block;
834
- vertical-align: middle;
835
- zoom: 1;
836
- *display: inline;
837
- }
838
- .ke-input-number {
839
- width: 50px;
840
- }
841
- .ke-input-color {
842
- border: 1px solid #A0A0A0;
843
- background-color: #FFFFFF;
844
- font-size: 12px;
845
- width: 60px;
846
- height: 20px;
847
- line-height: 20px;
848
- padding-left: 5px;
849
- overflow: hidden;
850
- cursor: pointer;
851
- display: -moz-inline-stack;
852
- display: inline-block;
853
- vertical-align: middle;
854
- zoom: 1;
855
- *display: inline;
856
- }
857
- .ke-upload-button {
858
- position: relative;
859
- }
860
- .ke-upload-area {
861
- position: relative;
862
- overflow: hidden;
863
- margin: 0;
864
- padding: 0;
865
- }
866
- .ke-upload-area .ke-upload-file {
867
- position: absolute;
868
- top: 0;
869
- right: 0;
870
- height: 25px;
871
- padding: 0;
872
- margin: 0;
873
- z-index: 811212;
874
- border: 0 none;
875
- opacity: 0;
876
- filter: alpha(opacity=0);
877
- }
878
- /* tabs */
879
- .ke-tabs {
880
- font: 12px/1 "sans serif",tahoma,verdana,helvetica;
881
- border-bottom:1px solid #A0A0A0;
882
- padding-left:5px;
883
- margin-bottom:20px;
884
- }
885
- .ke-tabs-ul {
886
- list-style-image:none;
887
- list-style-position:outside;
888
- list-style-type:none;
889
- margin:0;
890
- padding:0;
891
- }
892
- .ke-tabs-li {
893
- position: relative;
894
- border: 1px solid #A0A0A0;
895
- background-color: #F0F0EE;
896
- margin: 0 2px -1px 0;
897
- padding: 0 20px;
898
- float: left;
899
- line-height: 25px;
900
- text-align: center;
901
- color: #555555;
902
- cursor: pointer;
903
- }
904
- .ke-tabs-li-selected {
905
- background-color: #FFF;
906
- border-bottom: 1px solid #FFF;
907
- color: #000;
908
- cursor: default;
909
- }
910
- .ke-tabs-li-on {
911
- background-color: #FFF;
912
- color: #000;
913
- }
914
- /* progressbar */
915
- .ke-progressbar {
916
- position: relative;
917
- margin: 0;
918
- padding: 0;
919
- }
920
- .ke-progressbar-bar {
921
- border: 1px solid #6FA5DB;
922
- width: 80px;
923
- height: 5px;
924
- margin: 10px 10px 0 10px;
925
- padding: 0;
926
- }
927
- .ke-progressbar-bar-inner {
928
- width: 0;
929
- height: 5px;
930
- background-color: #6FA5DB;
931
- overflow: hidden;
932
- margin: 0;
933
- padding: 0;
934
- }
935
- .ke-progressbar-percent {
936
- position: absolute;
937
- top: 0;
938
- left: 40%;
939
- display: none;
940
- }
941
- /* swfupload */
942
- .ke-swfupload-top {
943
- position: relative;
944
- margin-bottom: 10px;
945
- _width: 608px;
946
- }
947
- .ke-swfupload-button {
948
- height: 23px;
949
- line-height: 23px;
950
- }
951
- .ke-swfupload-desc {
952
- padding: 0 10px;
953
- height: 23px;
954
- line-height: 23px;
955
- }
956
- .ke-swfupload-startupload {
957
- position: absolute;
958
- top: 0;
959
- right: 0;
960
- }
961
- .ke-swfupload-body {
962
- overflow: scroll;
963
- background-color:#FFFFFF;
964
- border-color: #848484 #E0E0E0 #E0E0E0 #848484;
965
- border-style: solid;
966
- border-width: 1px;
967
- width: auto;
968
- height: 370px;
969
- padding: 5px;
970
- }
971
- .ke-swfupload-body .ke-item {
972
- width: 100px;
973
- margin: 5px;
974
- }
975
- .ke-swfupload-body .ke-photo {
976
- position: relative;
977
- border: 1px solid #DDDDDD;
978
- background-color:#FFFFFF;
979
- padding: 10px;
980
- }
981
- .ke-swfupload-body .ke-delete {
982
- display: block;
983
- background: url(default.png) no-repeat scroll 0px -688px;
984
- width: 16px;
985
- height: 16px;
986
- position: absolute;
987
- right: 0;
988
- top: 0;
989
- cursor: pointer;
990
- }
991
- .ke-swfupload-body .ke-status {
992
- position: absolute;
993
- left: 0;
994
- bottom: 5px;
995
- width: 100px;
996
- height: 17px;
997
- }
998
- .ke-swfupload-body .ke-message {
999
- width: 100px;
1000
- text-align: center;
1001
- overflow: hidden;
1002
- height:17px;
1003
- }
1004
- .ke-swfupload-body .ke-error {
1005
- color: red;
1006
- }
1007
- .ke-swfupload-body .ke-name {
1008
- width: 100px;
1009
- text-align: center;
1010
- overflow: hidden;
1011
- height:16px;
1012
- }
1013
- .ke-swfupload-body .ke-on {
1014
- border: 1px solid #5690D2;
1015
- background-color: #E9EFF6;
1016
- }
1017
-
1018
- /* emoticons */
1019
- .ke-plugin-emoticons {
1020
- position: relative;
1021
- }
1022
- .ke-plugin-emoticons .ke-preview {
1023
- position: absolute;
1024
- text-align: center;
1025
- margin: 2px;
1026
- padding: 10px;
1027
- top: 0;
1028
- border: 1px solid #A0A0A0;
1029
- background-color: #FFFFFF;
1030
- display: none;
1031
- }
1032
- .ke-plugin-emoticons .ke-preview-img {
1033
- border:0;
1034
- margin:0;
1035
- padding:0;
1036
- }
1037
- .ke-plugin-emoticons .ke-table {
1038
- border:0;
1039
- margin:0;
1040
- padding:0;
1041
- border-collapse:separate;
1042
- }
1043
- .ke-plugin-emoticons .ke-cell {
1044
- margin:0;
1045
- padding:1px;
1046
- border:1px solid #F0F0EE;
1047
- cursor:pointer;
1048
- }
1049
- .ke-plugin-emoticons .ke-on {
1050
- border: 1px solid #5690D2;
1051
- background-color: #E9EFF6;
1052
- }
1053
- .ke-plugin-emoticons .ke-img {
1054
- display:block;
1055
- background-repeat:no-repeat;
1056
- overflow:hidden;
1057
- margin:2px;
1058
- width:24px;
1059
- height:24px;
1060
- margin: 0;
1061
- padding: 0;
1062
- border: 0;
1063
- }
1064
- .ke-plugin-emoticons .ke-page {
1065
- text-align: right;
1066
- margin: 5px;
1067
- padding: 0;
1068
- border: 0;
1069
- font: 12px/1 "sans serif",tahoma,verdana,helvetica;
1070
- color: #333;
1071
- text-decoration: none;
1072
- }
1073
- .ke-plugin-plainpaste-textarea,
1074
- .ke-plugin-wordpaste-iframe {
1075
- display: block;
1076
- width: 408px;
1077
- height: 260px;
1078
- font-family: "sans serif",tahoma,verdana,helvetica;
1079
- font-size: 12px;
1080
- border-color: #848484 #E0E0E0 #E0E0E0 #848484;
1081
- border-style: solid;
1082
- border-width: 1px;
1083
- }
1084
- /* filemanager */
1085
- .ke-plugin-filemanager-header {
1086
- width: 100%;
1087
- margin-bottom: 10px;
1088
- }
1089
- .ke-plugin-filemanager-header .ke-left {
1090
- float: left;
1091
- }
1092
- .ke-plugin-filemanager-header .ke-right {
1093
- float: right;
1094
- }
1095
- .ke-plugin-filemanager-body {
1096
- overflow: scroll;
1097
- background-color:#FFFFFF;
1098
- border-color: #848484 #E0E0E0 #E0E0E0 #848484;
1099
- border-style: solid;
1100
- border-width: 1px;
1101
- width: auto;
1102
- height: 370px;
1103
- padding: 5px;
1104
- }
1105
- .ke-plugin-filemanager-body .ke-item {
1106
- width: 100px;
1107
- margin: 5px;
1108
- }
1109
- .ke-plugin-filemanager-body .ke-photo {
1110
- border: 1px solid #DDDDDD;
1111
- background-color:#FFFFFF;
1112
- padding: 10px;
1113
- }
1114
- .ke-plugin-filemanager-body .ke-name {
1115
- width: 100px;
1116
- text-align: center;
1117
- overflow: hidden;
1118
- height:16px;
1119
- }
1120
- .ke-plugin-filemanager-body .ke-on {
1121
- border: 1px solid #5690D2;
1122
- background-color: #E9EFF6;
1123
- }
1124
- .ke-plugin-filemanager-body .ke-table {
1125
- width: 95%;
1126
- border: 0;
1127
- margin: 0;
1128
- padding: 0;
1129
- border-collapse: separate;
1130
- }
1131
- .ke-plugin-filemanager-body .ke-table .ke-cell {
1132
- margin: 0;
1133
- padding: 0;
1134
- border: 0;
1135
- }
1136
- .ke-plugin-filemanager-body .ke-table .ke-name {
1137
- width: 55%;
1138
- text-align: left;
1139
- }
1140
- .ke-plugin-filemanager-body .ke-table .ke-size {
1141
- width: 15%;
1142
- text-align: left;
1143
- }
1144
- .ke-plugin-filemanager-body .ke-table .ke-datetime {
1145
- width: 30%;
1146
- text-align: center;
1147
- }
1148
-