rails_kindeditor 0.3.13 → 0.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/rails_kindeditor/version.rb +1 -1
- data/vendor/assets/javascripts/kindeditor/kindeditor.js +51 -43
- data/vendor/assets/javascripts/kindeditor/lang/ar.js +2 -1
- data/vendor/assets/javascripts/kindeditor/lang/en.js +2 -1
- data/vendor/assets/javascripts/kindeditor/lang/ko.js +237 -0
- data/vendor/assets/javascripts/kindeditor/lang/zh_CN.js +2 -1
- data/vendor/assets/javascripts/kindeditor/lang/zh_TW.js +1 -0
- data/vendor/assets/javascripts/kindeditor/plugins/anchor/anchor.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/autoheight/autoheight.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/baidumap/baidumap.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/baidumap/index.html +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/baidumap/map.html +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/clearhtml/clearhtml.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/code/code.js +5 -0
- data/vendor/assets/javascripts/kindeditor/plugins/code/prettify.css +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/code/prettify.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/emoticons.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/0.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/1.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/10.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/100.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/101.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/102.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/103.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/104.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/105.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/106.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/107.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/108.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/109.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/11.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/110.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/111.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/112.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/113.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/114.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/115.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/116.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/117.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/118.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/119.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/12.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/120.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/121.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/122.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/123.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/124.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/125.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/126.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/127.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/128.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/129.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/13.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/130.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/131.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/132.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/133.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/134.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/14.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/15.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/16.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/17.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/18.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/19.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/2.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/20.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/21.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/22.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/23.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/24.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/25.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/26.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/27.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/28.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/29.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/3.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/30.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/31.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/32.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/33.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/34.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/35.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/36.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/37.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/38.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/39.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/4.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/40.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/41.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/42.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/43.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/44.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/45.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/46.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/47.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/48.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/49.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/5.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/50.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/51.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/52.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/53.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/54.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/55.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/56.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/57.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/58.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/59.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/6.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/60.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/61.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/62.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/63.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/64.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/65.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/66.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/67.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/68.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/69.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/7.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/70.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/71.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/72.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/73.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/74.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/75.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/76.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/77.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/78.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/79.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/8.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/80.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/81.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/82.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/83.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/84.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/85.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/86.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/87.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/88.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/89.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/9.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/90.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/91.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/92.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/93.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/94.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/95.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/96.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/97.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/98.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/99.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/static.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/filemanager/filemanager.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/filemanager/images/file-16.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/filemanager/images/file-64.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/filemanager/images/folder-16.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/filemanager/images/folder-64.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/filemanager/images/go-up.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/flash/flash.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/image/image.js +2 -1
- data/vendor/assets/javascripts/kindeditor/plugins/image/images/align_left.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/image/images/align_right.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/image/images/align_top.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/image/images/refresh.png +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/insertfile/insertfile.js +1 -1
- data/vendor/assets/javascripts/kindeditor/plugins/lineheight/lineheight.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/link/link.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/map/map.html +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/map/map.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/media/media.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/multiimage/images/image.png +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/multiimage/images/select-files-en.png +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/multiimage/images/select-files-zh_CN.png +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/multiimage/images/swfupload.swf +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/multiimage/multiimage.js +4 -1
- data/vendor/assets/javascripts/kindeditor/plugins/pagebreak/pagebreak.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/plainpaste/plainpaste.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/preview/preview.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/quickformat/quickformat.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/table/table.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/template/html/1.html +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/template/html/2.html +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/template/html/3.html +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/template/template.js +0 -0
- data/vendor/assets/javascripts/kindeditor/plugins/wordpaste/wordpaste.js +0 -0
- data/vendor/assets/javascripts/kindeditor/themes/common/anchor.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/themes/common/blank.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/themes/common/flash.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/themes/common/loading.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/themes/common/media.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/themes/common/rm.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/themes/default/background.png +0 -0
- data/vendor/assets/javascripts/kindeditor/themes/default/default.css +0 -0
- data/vendor/assets/javascripts/kindeditor/themes/default/default.png +0 -0
- data/vendor/assets/javascripts/kindeditor/themes/qq/editor.gif +0 -0
- data/vendor/assets/javascripts/kindeditor/themes/qq/qq.css +0 -0
- data/vendor/assets/javascripts/kindeditor/themes/simple/simple.css +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49f55735781f4a21a72d13431378b822de72b0a0
|
4
|
+
data.tar.gz: a0f0ba28aade0c9ecb1368b0e9dc4791158cc4cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2f21d45a23f0d912b1263d70c697305e617a407d7db698961fc1ff8f2604baf14a1f86aba7972598ae2a69da85a873469e01df57d4dd20c51b994e46efb731e
|
7
|
+
data.tar.gz: 6c1b0a19dd78a0380960044c2d9429cc6b88c6b091c179684fc24f0e0a83ee18ea48d64b5516fdac28a760884f1babce7d7d3b4da5dda0eef2d44cd6ce3f6c3b
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
* @author Roddy <luolonghao@gmail.com>
|
6
6
|
* @website http://www.kindsoft.net/
|
7
7
|
* @licence http://www.kindsoft.net/license.php
|
8
|
-
* @version 4.1.
|
8
|
+
* @version 4.1.6 (2013-03-24)
|
9
9
|
*******************************************************************************/
|
10
10
|
(function (window, undefined) {
|
11
11
|
if (window.KindEditor) {
|
@@ -17,7 +17,7 @@ if (!window.console) {
|
|
17
17
|
if (!console.log) {
|
18
18
|
console.log = function () {};
|
19
19
|
}
|
20
|
-
var _VERSION = '4.1.
|
20
|
+
var _VERSION = '4.1.6 (2013-03-24)',
|
21
21
|
_ua = navigator.userAgent.toLowerCase(),
|
22
22
|
_IE = _ua.indexOf('msie') > -1 && _ua.indexOf('opera') == -1,
|
23
23
|
_GECKO = _ua.indexOf('gecko') > -1 && _ua.indexOf('khtml') == -1,
|
@@ -2603,7 +2603,10 @@ function _getInnerNode(knode) {
|
|
2603
2603
|
return inner;
|
2604
2604
|
}
|
2605
2605
|
function _isEmptyNode(knode) {
|
2606
|
-
|
2606
|
+
if (knode.type != 1 || knode.isSingle()) {
|
2607
|
+
return false;
|
2608
|
+
}
|
2609
|
+
return knode.html().replace(/<[^>]+>/g, '') === '';
|
2607
2610
|
}
|
2608
2611
|
function _mergeWrapper(a, b) {
|
2609
2612
|
a = a.clone(true);
|
@@ -2733,8 +2736,10 @@ _extend(KCmd, {
|
|
2733
2736
|
rng = range.get(true);
|
2734
2737
|
sel.removeAllRanges();
|
2735
2738
|
sel.addRange(rng);
|
2736
|
-
|
2737
|
-
|
2739
|
+
if (doc !== document) {
|
2740
|
+
var pos = K(rng.endContainer).pos();
|
2741
|
+
win.scrollTo(pos.x, pos.y);
|
2742
|
+
}
|
2738
2743
|
}
|
2739
2744
|
win.focus();
|
2740
2745
|
return self;
|
@@ -3635,13 +3640,14 @@ _extend(KEdit, KWidget, {
|
|
3635
3640
|
});
|
3636
3641
|
}
|
3637
3642
|
if (_IE) {
|
3638
|
-
|
3639
|
-
|
3643
|
+
self._mousedownHandler = function() {
|
3644
|
+
var newRange = cmd.range.cloneRange();
|
3645
|
+
newRange.shrink();
|
3646
|
+
if (newRange.isControl()) {
|
3640
3647
|
self.blur();
|
3641
3648
|
}
|
3642
|
-
}
|
3643
|
-
|
3644
|
-
if (_IE) {
|
3649
|
+
};
|
3650
|
+
K(document).mousedown(self._mousedownHandler);
|
3645
3651
|
K(doc).keydown(function(e) {
|
3646
3652
|
if (e.which == 8) {
|
3647
3653
|
cmd.selection();
|
@@ -3702,6 +3708,9 @@ _extend(KEdit, KWidget, {
|
|
3702
3708
|
K(doc.body).unbind();
|
3703
3709
|
K(doc).unbind();
|
3704
3710
|
K(self.win).unbind();
|
3711
|
+
if (self._mousedownHandler) {
|
3712
|
+
K(document).unbind('mousedown', self._mousedownHandler);
|
3713
|
+
}
|
3705
3714
|
_elementVal(self.srcElement, self.html());
|
3706
3715
|
self.srcElement.show();
|
3707
3716
|
doc.write('');
|
@@ -4152,6 +4161,7 @@ _extend(KUploadButton, {
|
|
4152
4161
|
} else {
|
4153
4162
|
str = doc.body.innerHTML;
|
4154
4163
|
}
|
4164
|
+
str = _unescape(str);
|
4155
4165
|
iframe[0].src = 'javascript:false';
|
4156
4166
|
try {
|
4157
4167
|
data = K.json(str);
|
@@ -5006,36 +5016,22 @@ KEditor.prototype = {
|
|
5006
5016
|
statusbar.removeClass('statusbar').addClass('ke-statusbar')
|
5007
5017
|
.append('<span class="ke-inline-block ke-statusbar-center-icon"></span>')
|
5008
5018
|
.append('<span class="ke-inline-block ke-statusbar-right-icon"></span>');
|
5009
|
-
|
5019
|
+
function fullscreenResizeHandler(e) {
|
5020
|
+
if (self.isCreated) {
|
5021
|
+
self.resize(_docElement().clientWidth, _docElement().clientHeight, false);
|
5022
|
+
}
|
5023
|
+
}
|
5024
|
+
K(window).unbind('resize', fullscreenResizeHandler);
|
5010
5025
|
function initResize() {
|
5011
5026
|
if (statusbar.height() === 0) {
|
5012
5027
|
setTimeout(initResize, 100);
|
5013
5028
|
return;
|
5014
5029
|
}
|
5015
|
-
self.resize(width, height);
|
5030
|
+
self.resize(width, height, false);
|
5016
5031
|
}
|
5017
5032
|
initResize();
|
5018
|
-
function newResize(width, height, updateProp) {
|
5019
|
-
updateProp = _undef(updateProp, true);
|
5020
|
-
if (width && width >= self.minWidth) {
|
5021
|
-
self.resize(width, null);
|
5022
|
-
if (updateProp) {
|
5023
|
-
self.width = _addUnit(width);
|
5024
|
-
}
|
5025
|
-
}
|
5026
|
-
if (height && height >= self.minHeight) {
|
5027
|
-
self.resize(null, height);
|
5028
|
-
if (updateProp) {
|
5029
|
-
self.height = _addUnit(height);
|
5030
|
-
}
|
5031
|
-
}
|
5032
|
-
}
|
5033
5033
|
if (fullscreenMode) {
|
5034
|
-
K(window).bind('resize',
|
5035
|
-
if (self.isCreated) {
|
5036
|
-
newResize(_docElement().clientWidth, _docElement().clientHeight, false);
|
5037
|
-
}
|
5038
|
-
});
|
5034
|
+
K(window).bind('resize', fullscreenResizeHandler);
|
5039
5035
|
toolbar.select('fullscreen');
|
5040
5036
|
statusbar.first().css('visibility', 'hidden');
|
5041
5037
|
statusbar.last().css('visibility', 'hidden');
|
@@ -5051,7 +5047,7 @@ KEditor.prototype = {
|
|
5051
5047
|
clickEl : statusbar,
|
5052
5048
|
moveFn : function(x, y, width, height, diffX, diffY) {
|
5053
5049
|
height += diffY;
|
5054
|
-
|
5050
|
+
self.resize(null, height);
|
5055
5051
|
}
|
5056
5052
|
});
|
5057
5053
|
} else {
|
@@ -5064,7 +5060,7 @@ KEditor.prototype = {
|
|
5064
5060
|
moveFn : function(x, y, width, height, diffX, diffY) {
|
5065
5061
|
width += diffX;
|
5066
5062
|
height += diffY;
|
5067
|
-
|
5063
|
+
self.resize(width, height);
|
5068
5064
|
}
|
5069
5065
|
});
|
5070
5066
|
} else {
|
@@ -5097,17 +5093,26 @@ KEditor.prototype = {
|
|
5097
5093
|
self.isCreated = false;
|
5098
5094
|
return self;
|
5099
5095
|
},
|
5100
|
-
resize : function(width, height) {
|
5096
|
+
resize : function(width, height, updateProp) {
|
5101
5097
|
var self = this;
|
5102
|
-
|
5103
|
-
|
5104
|
-
|
5098
|
+
updateProp = _undef(updateProp, true);
|
5099
|
+
if (width) {
|
5100
|
+
if (!/%/.test(width)) {
|
5101
|
+
width = _removeUnit(width);
|
5102
|
+
width = width < self.minWidth ? self.minWidth : width;
|
5103
|
+
}
|
5104
|
+
self.container.css('width', _addUnit(width));
|
5105
|
+
if (updateProp) {
|
5106
|
+
self.width = _addUnit(width);
|
5105
5107
|
}
|
5106
5108
|
}
|
5107
|
-
if (height
|
5108
|
-
height = _removeUnit(height)
|
5109
|
-
|
5110
|
-
|
5109
|
+
if (height) {
|
5110
|
+
height = _removeUnit(height);
|
5111
|
+
editHeight = _removeUnit(height) - self.toolbar.div.height() - self.statusbar.height();
|
5112
|
+
editHeight = editHeight < self.minHeight ? self.minHeight : editHeight;
|
5113
|
+
self.edit.setHeight(editHeight);
|
5114
|
+
if (updateProp) {
|
5115
|
+
self.height = _addUnit(height);
|
5111
5116
|
}
|
5112
5117
|
}
|
5113
5118
|
return self;
|
@@ -5122,6 +5127,9 @@ KEditor.prototype = {
|
|
5122
5127
|
return self.isCreated ? self.edit.html() : _elementVal(self.srcElement);
|
5123
5128
|
}
|
5124
5129
|
self.isCreated ? self.edit.html(val) : _elementVal(self.srcElement, val);
|
5130
|
+
if (self.isCreated) {
|
5131
|
+
self.cmd.selection();
|
5132
|
+
}
|
5125
5133
|
return self;
|
5126
5134
|
},
|
5127
5135
|
fullHtml : function() {
|
@@ -5603,7 +5611,7 @@ _plugin('core', function(K) {
|
|
5603
5611
|
'</div>';
|
5604
5612
|
self.createDialog({
|
5605
5613
|
name : 'about',
|
5606
|
-
width :
|
5614
|
+
width : 350,
|
5607
5615
|
title : self.lang('about'),
|
5608
5616
|
body : html
|
5609
5617
|
});
|
@@ -49,7 +49,7 @@ KindEditor.lang({
|
|
49
49
|
emoticons : 'إدراج وجه ضاحك',
|
50
50
|
link : 'رابط',
|
51
51
|
unlink : 'إزالة الرابط',
|
52
|
-
fullscreen : 'محرر ملئ الشاشة
|
52
|
+
fullscreen : 'محرر ملئ الشاشة',
|
53
53
|
about : 'حول',
|
54
54
|
print : 'طباعة',
|
55
55
|
filemanager : 'مدير الملفات',
|
@@ -110,6 +110,7 @@ KindEditor.lang({
|
|
110
110
|
uploadError : 'Upload Error',
|
111
111
|
'plainpaste.comment' : 'إستخدم إختصار لوحة المفاتيح (Ctrl+V) للصق داخل النافذة.',
|
112
112
|
'wordpaste.comment' : 'إستخدم إختصار لوحة المفاتيح (Ctrl+V) للصق داخل النافذة.',
|
113
|
+
'code.pleaseInput' : 'Please input code.',
|
113
114
|
'link.url' : 'الرابط',
|
114
115
|
'link.linkType' : 'الهدف',
|
115
116
|
'link.newWindow' : 'نافذة جديدة',
|
@@ -48,7 +48,7 @@ KindEditor.lang({
|
|
48
48
|
emoticons : 'Insert emoticon',
|
49
49
|
link : 'Link',
|
50
50
|
unlink : 'Unlink',
|
51
|
-
fullscreen : 'Toggle fullscreen mode
|
51
|
+
fullscreen : 'Toggle fullscreen mode',
|
52
52
|
about : 'About',
|
53
53
|
print : 'Print',
|
54
54
|
filemanager : 'File Manager',
|
@@ -109,6 +109,7 @@ KindEditor.lang({
|
|
109
109
|
uploadError : 'Upload Error',
|
110
110
|
'plainpaste.comment' : 'Use keyboard shortcut(Ctrl+V) to paste the text into the window.',
|
111
111
|
'wordpaste.comment' : 'Use keyboard shortcut(Ctrl+V) to paste the text into the window.',
|
112
|
+
'code.pleaseInput' : 'Please input code.',
|
112
113
|
'link.url' : 'URL',
|
113
114
|
'link.linkType' : 'Target',
|
114
115
|
'link.newWindow' : 'New window',
|
@@ -0,0 +1,237 @@
|
|
1
|
+
/*******************************************************************************
|
2
|
+
* KindEditor - WYSIWYG HTML Editor for Internet
|
3
|
+
* Copyright (C) 2006-2011 kindsoft.net
|
4
|
+
*
|
5
|
+
* @author Composite <ukjinplant@gmail.com>
|
6
|
+
* @site http://www.kindsoft.net/
|
7
|
+
* @licence http://www.kindsoft.net/license.php
|
8
|
+
*******************************************************************************/
|
9
|
+
|
10
|
+
KindEditor.lang({
|
11
|
+
source : '소스',
|
12
|
+
preview : '미리보기',
|
13
|
+
undo : '작업취소(Ctrl+Z)',
|
14
|
+
redo : '작업재개(Ctrl+Y)',
|
15
|
+
cut : '잘라내기(Ctrl+X)',
|
16
|
+
copy : '복사(Ctrl+C)',
|
17
|
+
paste : '붙여넣기(Ctrl+V)',
|
18
|
+
plainpaste : '일반 텍스트로 붙여넣기',
|
19
|
+
wordpaste : '워드 문서로 붙여넣기',
|
20
|
+
selectall : '전체 선택',
|
21
|
+
justifyleft : '왼쪽 정렬',
|
22
|
+
justifycenter : '가운데 정렬',
|
23
|
+
justifyright : '오른쪽 정렬',
|
24
|
+
justifyfull : '양쪽 정렬',
|
25
|
+
insertorderedlist : '순서 목록',
|
26
|
+
insertunorderedlist : '비순서 목록',
|
27
|
+
indent : '들여쓰기',
|
28
|
+
outdent : '내어쓰기',
|
29
|
+
subscript : '아랫첨자',
|
30
|
+
superscript : '윗첨자',
|
31
|
+
formatblock : '문단 형식',
|
32
|
+
fontname : '글꼴',
|
33
|
+
fontsize : '글자 크기',
|
34
|
+
forecolor : '글자색',
|
35
|
+
hilitecolor : '강조색',
|
36
|
+
bold : '굵게(Ctrl+B)',
|
37
|
+
italic : '이텔릭(Ctrl+I)',
|
38
|
+
underline : '빝줄(Ctrl+U)',
|
39
|
+
strikethrough : '취소선',
|
40
|
+
removeformat : '형식 제거',
|
41
|
+
image : '이미지 추가',
|
42
|
+
multiimage : '여러 이미지 추가',
|
43
|
+
flash : '플래시 추가',
|
44
|
+
media : '미디어 추가',
|
45
|
+
table : '표',
|
46
|
+
tablecell : '열',
|
47
|
+
hr : '구분선 추가',
|
48
|
+
emoticons : '이모티콘 추가',
|
49
|
+
link : '링크',
|
50
|
+
unlink : '링크 제거',
|
51
|
+
fullscreen : '전체 화면 모드',
|
52
|
+
about : '이 에디터는...',
|
53
|
+
print : '인쇄',
|
54
|
+
filemanager : '파일 관리자',
|
55
|
+
code : '코드 추가',
|
56
|
+
map : '구글 맵 추가',
|
57
|
+
baidumap : '바이두 맵 추가',
|
58
|
+
lineheight : '행 간격',
|
59
|
+
clearhtml : 'HTML 코드 정리',
|
60
|
+
pagebreak : '페이지 구분 추가',
|
61
|
+
quickformat : '빠른 형식',
|
62
|
+
insertfile : '파일 추가',
|
63
|
+
template : '템플릿 추가',
|
64
|
+
anchor : '책갈피',
|
65
|
+
yes : '확인',
|
66
|
+
no : '취소',
|
67
|
+
close : '닫기',
|
68
|
+
editImage : '이미지 속성',
|
69
|
+
deleteImage : '이미지 삭제',
|
70
|
+
editFlash : '플래시 속성',
|
71
|
+
deleteFlash : '플래시 삭제',
|
72
|
+
editMedia : '미디어 속성',
|
73
|
+
deleteMedia : '미디어 삭제',
|
74
|
+
editLink : '링크 속성',
|
75
|
+
deleteLink : '링크 삭제',
|
76
|
+
tableprop : '표 속성',
|
77
|
+
tablecellprop : '열 속성',
|
78
|
+
tableinsert : '표 추가',
|
79
|
+
tabledelete : '표 삭제',
|
80
|
+
tablecolinsertleft : '왼쪽으로 열 추가',
|
81
|
+
tablecolinsertright : '오른쪽으로 열 추가',
|
82
|
+
tablerowinsertabove : '위쪽으로 열 추가',
|
83
|
+
tablerowinsertbelow : '아래쪽으로 열 추가',
|
84
|
+
tablerowmerge : '아래로 병합',
|
85
|
+
tablecolmerge : '오른쪽으로 병합',
|
86
|
+
tablerowsplit : '행 나누기',
|
87
|
+
tablecolsplit : '열 나누기',
|
88
|
+
tablecoldelete : '열 삭제',
|
89
|
+
tablerowdelete : '행 삭제',
|
90
|
+
noColor : '기본색',
|
91
|
+
pleaseSelectFile : '파일 선택',
|
92
|
+
invalidImg : "올바른 주소를 입력하세요.\njpg,gif,bmp,png 형식이 가능합니다.",
|
93
|
+
invalidMedia : "올바른 주소를 입력하세요.\nswf,flv,mp3,wav,wma,wmv,mid,avi,mpg,asf,rm,rmvb 형식이 가능합니다.",
|
94
|
+
invalidWidth : "넓이 값은 숫자여야 합니다.",
|
95
|
+
invalidHeight : "높이 값은 숫자여야 합니다.",
|
96
|
+
invalidBorder : "굵기 값은 숫자여야 합니다.",
|
97
|
+
invalidUrl : "올바른 주소를 입력하세요.",
|
98
|
+
invalidRows : '올바른 행이 아닙니다.',
|
99
|
+
invalidCols : '올바른 열이 아닙니다.',
|
100
|
+
invalidPadding : '안쪽 여백 값은 숫자여야 합니다.',
|
101
|
+
invalidSpacing : '간격 길이 값은 숫자여야 합니다.',
|
102
|
+
invalidJson : '올바른 JSON 형식이 아닙니다.',
|
103
|
+
uploadSuccess : '업로드가 완료되었습니다.',
|
104
|
+
cutError : '브라우저가 잘라내기 기능을 지원하지 않습니다, 단축키로 대신 사용하세요. (Ctrl+X)',
|
105
|
+
copyError : '브라우저가 복사 기능을 지원하지 않습니다, 단축키로 대신 사용하세요. (Ctrl+X)',
|
106
|
+
pasteError : '브라우저가 붙여넣기 기능을 지원하지 않습니다, 단축키로 대신 사용하세요. (Ctrl+X)',
|
107
|
+
ajaxLoading : '불러오는 중 ...',
|
108
|
+
uploadLoading : '업로드 중 ...',
|
109
|
+
uploadError : '업로드 오류',
|
110
|
+
'plainpaste.comment' : '단축키(Ctrl+V)를 통하여 여기에 텍스트를 붙여넣으세요.',
|
111
|
+
'wordpaste.comment' : '단축키(Ctrl+V)를 통하여 여기에 워드 텍스트를 붙여넣으세요.',
|
112
|
+
'code.pleaseInput' : 'Please input code.',
|
113
|
+
'link.url' : '주소',
|
114
|
+
'link.linkType' : '창',
|
115
|
+
'link.newWindow' : '새 창',
|
116
|
+
'link.selfWindow' : '현재 창',
|
117
|
+
'flash.url' : '주소',
|
118
|
+
'flash.width' : '넓이',
|
119
|
+
'flash.height' : '높이',
|
120
|
+
'flash.upload' : '업로드',
|
121
|
+
'flash.viewServer' : '찾아보기',
|
122
|
+
'media.url' : '주소',
|
123
|
+
'media.width' : '넓이',
|
124
|
+
'media.height' : '높이',
|
125
|
+
'media.autostart' : '자동 시작',
|
126
|
+
'media.upload' : '업로드',
|
127
|
+
'media.viewServer' : '찾아보기',
|
128
|
+
'image.remoteImage' : '외부 이미지',
|
129
|
+
'image.localImage' : '내부 이미지',
|
130
|
+
'image.remoteUrl' : '주소',
|
131
|
+
'image.localUrl' : '파일',
|
132
|
+
'image.size' : '크기',
|
133
|
+
'image.width' : '넓이',
|
134
|
+
'image.height' : '높이',
|
135
|
+
'image.resetSize' : '기본 크기로',
|
136
|
+
'image.align' : '정렬',
|
137
|
+
'image.defaultAlign' : '기본',
|
138
|
+
'image.leftAlign' : '왼쪽',
|
139
|
+
'image.rightAlign' : '오른쪽',
|
140
|
+
'image.imgTitle' : '제목',
|
141
|
+
'image.upload' : '찾아보기',
|
142
|
+
'image.viewServer' : '찾아보기',
|
143
|
+
'multiimage.uploadDesc' : '최대 이미지 개수: <%=uploadLimit%>개, 개당 이미지 크기: <%=sizeLimit%>',
|
144
|
+
'multiimage.startUpload' : '업로드 시작',
|
145
|
+
'multiimage.clearAll' : '모두 삭제',
|
146
|
+
'multiimage.insertAll' : '모두 삽입',
|
147
|
+
'multiimage.queueLimitExceeded' : '업로드 개수가 초과되었습니다.',
|
148
|
+
'multiimage.fileExceedsSizeLimit' : '업로드 크기가 초과되었습니다.',
|
149
|
+
'multiimage.zeroByteFile' : '파일 크기가 없습니다.',
|
150
|
+
'multiimage.invalidFiletype' : '올바른 이미지가 아닙니다.',
|
151
|
+
'multiimage.unknownError' : '알 수 없는 업로드 오류가 발생하였습니다.',
|
152
|
+
'multiimage.pending' : '처리 중 ...',
|
153
|
+
'multiimage.uploadError' : '업로드 오류',
|
154
|
+
'filemanager.emptyFolder' : '빈 폴더',
|
155
|
+
'filemanager.moveup' : '위로',
|
156
|
+
'filemanager.viewType' : '보기 방식: ',
|
157
|
+
'filemanager.viewImage' : '미리 보기',
|
158
|
+
'filemanager.listImage' : '목록',
|
159
|
+
'filemanager.orderType' : '정렬 방식: ',
|
160
|
+
'filemanager.fileName' : '이름별',
|
161
|
+
'filemanager.fileSize' : '크기별',
|
162
|
+
'filemanager.fileType' : '종류별',
|
163
|
+
'insertfile.url' : '주소',
|
164
|
+
'insertfile.title' : '제목',
|
165
|
+
'insertfile.upload' : '업로드',
|
166
|
+
'insertfile.viewServer' : '찾아보기',
|
167
|
+
'table.cells' : '열',
|
168
|
+
'table.rows' : '행',
|
169
|
+
'table.cols' : '열',
|
170
|
+
'table.size' : '표 크기',
|
171
|
+
'table.width' : '넓이',
|
172
|
+
'table.height' : '높이',
|
173
|
+
'table.percent' : '%',
|
174
|
+
'table.px' : 'px',
|
175
|
+
'table.space' : '간격',
|
176
|
+
'table.padding' : '안쪽여백',
|
177
|
+
'table.spacing' : '간격',
|
178
|
+
'table.align' : '정렬',
|
179
|
+
'table.textAlign' : '수직',
|
180
|
+
'table.verticalAlign' : '수평',
|
181
|
+
'table.alignDefault' : '기본',
|
182
|
+
'table.alignLeft' : '왼쪽',
|
183
|
+
'table.alignCenter' : '가운데',
|
184
|
+
'table.alignRight' : '오른쪽',
|
185
|
+
'table.alignTop' : '위쪽',
|
186
|
+
'table.alignMiddle' : '중간',
|
187
|
+
'table.alignBottom' : '아래쪽',
|
188
|
+
'table.alignBaseline' : '글자기준',
|
189
|
+
'table.border' : '테두리',
|
190
|
+
'table.borderWidth' : '크기',
|
191
|
+
'table.borderColor' : '색상',
|
192
|
+
'table.backgroundColor' : '배경',
|
193
|
+
'map.address' : '주소: ',
|
194
|
+
'map.search' : '검색',
|
195
|
+
'baidumap.address' : '주소: ',
|
196
|
+
'baidumap.search' : '검색',
|
197
|
+
'baidumap.insertDynamicMap' : '동적 지도',
|
198
|
+
'anchor.name' : '책갈피명',
|
199
|
+
'formatblock.formatBlock' : {
|
200
|
+
h1 : '제목 1',
|
201
|
+
h2 : '제목 2',
|
202
|
+
h3 : '제목 3',
|
203
|
+
h4 : '제목 4',
|
204
|
+
p : '본문'
|
205
|
+
},
|
206
|
+
'fontname.fontName' : {
|
207
|
+
'Gulim' : '굴림',
|
208
|
+
'Dotum' : '돋움',
|
209
|
+
'Batang' : '바탕',
|
210
|
+
'Gungsuh' : '궁서',
|
211
|
+
'Malgun Gothic' : '맑은 고딕',
|
212
|
+
'Arial' : 'Arial',
|
213
|
+
'Arial Black' : 'Arial Black',
|
214
|
+
'Comic Sans MS' : 'Comic Sans MS',
|
215
|
+
'Courier New' : 'Courier New',
|
216
|
+
'Garamond' : 'Garamond',
|
217
|
+
'Georgia' : 'Georgia',
|
218
|
+
'Tahoma' : 'Tahoma',
|
219
|
+
'Times New Roman' : 'Times New Roman',
|
220
|
+
'Trebuchet MS' : 'Trebuchet MS',
|
221
|
+
'Verdana' : 'Verdana'
|
222
|
+
},
|
223
|
+
'lineheight.lineHeight' : [
|
224
|
+
{'1' : '행간 1'},
|
225
|
+
{'1.5' : '행간 1.5'},
|
226
|
+
{'2' : '행간 2'},
|
227
|
+
{'2.5' : '행간 2.5'},
|
228
|
+
{'3' : '행간 3'}
|
229
|
+
],
|
230
|
+
'template.selectTemplate' : '템플릿',
|
231
|
+
'template.replaceContent' : '내용 바꾸기',
|
232
|
+
'template.fileList' : {
|
233
|
+
'1.html' : '이미지와 텍스트',
|
234
|
+
'2.html' : '표',
|
235
|
+
'3.html' : '목록'
|
236
|
+
}
|
237
|
+
}, 'ko');
|
@@ -48,7 +48,7 @@ KindEditor.lang({
|
|
48
48
|
emoticons : '插入表情',
|
49
49
|
link : '超级链接',
|
50
50
|
unlink : '取消超级链接',
|
51
|
-
fullscreen : '全屏显示
|
51
|
+
fullscreen : '全屏显示',
|
52
52
|
about : '关于',
|
53
53
|
print : '打印(Ctrl+P)',
|
54
54
|
filemanager : '文件空间',
|
@@ -111,6 +111,7 @@ KindEditor.lang({
|
|
111
111
|
uploadError : '上传错误',
|
112
112
|
'plainpaste.comment' : '请使用快捷键(Ctrl+V)把内容粘贴到下面的方框里。',
|
113
113
|
'wordpaste.comment' : '请使用快捷键(Ctrl+V)把内容粘贴到下面的方框里。',
|
114
|
+
'code.pleaseInput' : '请输入程序代码。',
|
114
115
|
'link.url' : 'URL',
|
115
116
|
'link.linkType' : '打开类型',
|
116
117
|
'link.newWindow' : '新窗口',
|
@@ -110,6 +110,7 @@ KindEditor.lang({
|
|
110
110
|
uploadError : '上傳錯誤',
|
111
111
|
'plainpaste.comment' : '請使用快捷鍵(Ctrl+V)把內容貼到下方區域裡。',
|
112
112
|
'wordpaste.comment' : '請使用快捷鍵(Ctrl+V)把內容貼到下方區域裡。',
|
113
|
+
'code.pleaseInput' : 'Please input code.',
|
113
114
|
'link.url' : 'URL',
|
114
115
|
'link.linkType' : '打開類型',
|
115
116
|
'link.newWindow' : '新窗口',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -47,6 +47,11 @@ KindEditor.plugin('code', function(K) {
|
|
47
47
|
code = textarea.val(),
|
48
48
|
cls = type === '' ? '' : ' lang-' + type,
|
49
49
|
html = '<pre class="prettyprint' + cls + '">\n' + K.escape(code) + '</pre> ';
|
50
|
+
if (K.trim(code) === '') {
|
51
|
+
alert(lang.pleaseInput);
|
52
|
+
textarea[0].focus();
|
53
|
+
return;
|
54
|
+
}
|
50
55
|
self.insertHtml(html).hideDialog().focus();
|
51
56
|
}
|
52
57
|
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|