biso24-editor 1.3.0 → 1.3.1
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.
- package/CKEditor4/CHANGES.md +2182 -2182
- package/CKEditor4/LICENSE.md +1436 -1436
- package/CKEditor4/README.md +39 -39
- package/CKEditor4/SECURITY.md +10 -10
- package/CKEditor4/adapters/jquery.js +158 -158
- package/CKEditor4/bender-runner.config.json +16 -16
- package/CKEditor4/build-config.js +100 -100
- package/CKEditor4/ckeditor.js +30065 -30065
- package/CKEditor4/config.js +39 -39
- package/CKEditor4/contents.css +161 -161
- package/CKEditor4/lang/vi.js +475 -475
- package/CKEditor4/plugins/a11yhelp/dialogs/a11yhelp.js +143 -143
- package/CKEditor4/plugins/a11yhelp/dialogs/lang/vi.js +122 -122
- package/CKEditor4/plugins/custompaste/plugin.js +57 -57
- package/CKEditor4/plugins/dialog/dialogDefinition.js +4 -4
- package/CKEditor4/plugins/dialog/styles/dialog.css +18 -18
- package/CKEditor4/plugins/font/lang/vi.js +14 -14
- package/CKEditor4/plugins/font/plugin.js +535 -535
- package/CKEditor4/plugins/image2/dialogs/image2.js +558 -558
- package/CKEditor4/plugins/image2/lang/vi.js +21 -21
- package/CKEditor4/plugins/image2/plugin.js +1715 -1708
- package/CKEditor4/plugins/justify/plugin.js +266 -266
- package/CKEditor4/plugins/justify_group/plugin.js +64 -64
- package/CKEditor4/plugins/lineheight/LICENSE +22 -22
- package/CKEditor4/plugins/lineheight/README.md +2 -2
- package/CKEditor4/plugins/lineheight/lang/vi.js +3 -3
- package/CKEditor4/plugins/lineheight/plugin.js +99 -99
- package/CKEditor4/plugins/lineheight/readme.txt +30 -30
- package/CKEditor4/plugins/link/dialogs/anchor.js +82 -82
- package/CKEditor4/plugins/link/dialogs/link.js +777 -777
- package/CKEditor4/plugins/menubutton/plugin.js +99 -99
- package/CKEditor4/plugins/pastefromword/filter/default.js +849 -849
- package/CKEditor4/plugins/pastetools/filter/common.js +445 -445
- package/CKEditor4/plugins/pastetools/filter/image.js +163 -163
- package/CKEditor4/plugins/pdffile/plugin.js +36 -36
- package/CKEditor4/plugins/placeholder_button/plugin.js +31 -31
- package/CKEditor4/plugins/sourcedialog/dialogs/sourcedialog.js +88 -88
- package/CKEditor4/plugins/sourcedialog/lang/vi.js +9 -9
- package/CKEditor4/plugins/sourcedialog/plugin.js +30 -30
- package/CKEditor4/plugins/wordfile/plugin.js +161 -161
- package/CKEditor4/skins/moono-lisa/dialog.css +685 -685
- package/CKEditor4/skins/moono-lisa/dialog_ie.css +721 -721
- package/CKEditor4/skins/moono-lisa/dialog_ie8.css +746 -746
- package/CKEditor4/skins/moono-lisa/dialog_iequirks.css +724 -724
- package/CKEditor4/skins/moono-lisa/editor.css +1551 -1551
- package/CKEditor4/skins/moono-lisa/editor_gecko.css +1556 -1556
- package/CKEditor4/skins/moono-lisa/editor_ie.css +1588 -1588
- package/CKEditor4/skins/moono-lisa/editor_ie8.css +1639 -1639
- package/CKEditor4/skins/moono-lisa/editor_iequirks.css +1632 -1632
- package/CKEditor4/skins/moono-lisa/readme.md +46 -46
- package/CKEditor4/styles.js +136 -136
- package/CKEditor4/vendor/promise.js +385 -385
- package/package.json +1 -1
package/CKEditor4/README.md
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
CKEditor 4
|
|
2
|
-
==========
|
|
3
|
-
|
|
4
|
-
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
5
|
-
https://ckeditor.com - See LICENSE.md for license information.
|
|
6
|
-
|
|
7
|
-
CKEditor 4 is a text editor to be used inside web pages. It's not a replacement
|
|
8
|
-
for desktop text editors like Word or OpenOffice, but a component to be used as
|
|
9
|
-
part of web applications and websites.
|
|
10
|
-
|
|
11
|
-
## Documentation
|
|
12
|
-
|
|
13
|
-
The full editor documentation is available online at the following address:
|
|
14
|
-
https://ckeditor.com/docs/
|
|
15
|
-
|
|
16
|
-
## Installation
|
|
17
|
-
|
|
18
|
-
Installing CKEditor is an easy task. Just follow these simple steps:
|
|
19
|
-
|
|
20
|
-
1. **Download** the latest version from the CKEditor website:
|
|
21
|
-
https://ckeditor.com. You should have already completed this step, but be
|
|
22
|
-
sure you have the very latest version.
|
|
23
|
-
2. **Extract** (decompress) the downloaded file into the root of your website.
|
|
24
|
-
|
|
25
|
-
**Note:** CKEditor is by default installed in the `ckeditor` folder. You can
|
|
26
|
-
place the files in whichever you want though.
|
|
27
|
-
|
|
28
|
-
## Checking Your Installation
|
|
29
|
-
|
|
30
|
-
The editor comes with a few sample pages that can be used to verify that
|
|
31
|
-
installation proceeded properly. Take a look at the `samples` directory.
|
|
32
|
-
|
|
33
|
-
To test your installation, just call the following page at your website:
|
|
34
|
-
|
|
35
|
-
http://<your site>/<CKEditor installation path>/samples/index.html
|
|
36
|
-
|
|
37
|
-
For example:
|
|
38
|
-
|
|
39
|
-
http://www.example.com/ckeditor/samples/index.html
|
|
1
|
+
CKEditor 4
|
|
2
|
+
==========
|
|
3
|
+
|
|
4
|
+
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
5
|
+
https://ckeditor.com - See LICENSE.md for license information.
|
|
6
|
+
|
|
7
|
+
CKEditor 4 is a text editor to be used inside web pages. It's not a replacement
|
|
8
|
+
for desktop text editors like Word or OpenOffice, but a component to be used as
|
|
9
|
+
part of web applications and websites.
|
|
10
|
+
|
|
11
|
+
## Documentation
|
|
12
|
+
|
|
13
|
+
The full editor documentation is available online at the following address:
|
|
14
|
+
https://ckeditor.com/docs/
|
|
15
|
+
|
|
16
|
+
## Installation
|
|
17
|
+
|
|
18
|
+
Installing CKEditor is an easy task. Just follow these simple steps:
|
|
19
|
+
|
|
20
|
+
1. **Download** the latest version from the CKEditor website:
|
|
21
|
+
https://ckeditor.com. You should have already completed this step, but be
|
|
22
|
+
sure you have the very latest version.
|
|
23
|
+
2. **Extract** (decompress) the downloaded file into the root of your website.
|
|
24
|
+
|
|
25
|
+
**Note:** CKEditor is by default installed in the `ckeditor` folder. You can
|
|
26
|
+
place the files in whichever you want though.
|
|
27
|
+
|
|
28
|
+
## Checking Your Installation
|
|
29
|
+
|
|
30
|
+
The editor comes with a few sample pages that can be used to verify that
|
|
31
|
+
installation proceeded properly. Take a look at the `samples` directory.
|
|
32
|
+
|
|
33
|
+
To test your installation, just call the following page at your website:
|
|
34
|
+
|
|
35
|
+
http://<your site>/<CKEditor installation path>/samples/index.html
|
|
36
|
+
|
|
37
|
+
For example:
|
|
38
|
+
|
|
39
|
+
http://www.example.com/ckeditor/samples/index.html
|
package/CKEditor4/SECURITY.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# Reporting a security issues
|
|
2
|
-
|
|
3
|
-
If you believe you have found a security issue in the CKEditor 4 software, please contact us immediately.
|
|
4
|
-
|
|
5
|
-
When reporting a potential security problem, please bear this in mind:
|
|
6
|
-
|
|
7
|
-
* Make sure to provide as many details as possible about the vulnerability.
|
|
8
|
-
* Please do not disclose publicly any security issues until we fix them and publish security releases.
|
|
9
|
-
|
|
10
|
-
Contact the security team at security@cksource.com. As soon as we receive the security report, we will work promptly to confirm the issue and then to provide a security fix.
|
|
1
|
+
# Reporting a security issues
|
|
2
|
+
|
|
3
|
+
If you believe you have found a security issue in the CKEditor 4 software, please contact us immediately.
|
|
4
|
+
|
|
5
|
+
When reporting a potential security problem, please bear this in mind:
|
|
6
|
+
|
|
7
|
+
* Make sure to provide as many details as possible about the vulnerability.
|
|
8
|
+
* Please do not disclose publicly any security issues until we fix them and publish security releases.
|
|
9
|
+
|
|
10
|
+
Contact the security team at security@cksource.com. As soon as we receive the security report, we will work promptly to confirm the issue and then to provide a security fix.
|
|
@@ -1,158 +1,158 @@
|
|
|
1
|
-
|
|
2
|
-
/*
|
|
3
|
-
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
|
-
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
(function (a) {
|
|
8
|
-
if ('undefined' == typeof a) throw Error('jQuery should be loaded before CKEditor jQuery adapter.');
|
|
9
|
-
if ('undefined' == typeof CKEDITOR) throw Error('CKEditor should be loaded before CKEditor jQuery adapter.');
|
|
10
|
-
CKEDITOR.config.jqueryOverrideVal =
|
|
11
|
-
'undefined' == typeof CKEDITOR.config.jqueryOverrideVal ? !0 : CKEDITOR.config.jqueryOverrideVal;
|
|
12
|
-
a.extend(a.fn, {
|
|
13
|
-
ckeditorGet: function () {
|
|
14
|
-
var a = this.eq(0).data('ckeditorInstance');
|
|
15
|
-
if (!a) throw 'CKEditor is not initialized yet, use ckeditor() with a callback.';
|
|
16
|
-
return a;
|
|
17
|
-
},
|
|
18
|
-
ckeditor: function (g, e) {
|
|
19
|
-
if (!CKEDITOR.env.isCompatible) throw Error('The environment is incompatible.');
|
|
20
|
-
if ('function' !== typeof g) {
|
|
21
|
-
var m = e;
|
|
22
|
-
e = g;
|
|
23
|
-
g = m;
|
|
24
|
-
}
|
|
25
|
-
var k = [];
|
|
26
|
-
e = e || {};
|
|
27
|
-
this.each(function () {
|
|
28
|
-
var b = a(this),
|
|
29
|
-
c = b.data('ckeditorInstance'),
|
|
30
|
-
f = b.data('_ckeditorInstanceLock'),
|
|
31
|
-
h = this,
|
|
32
|
-
l = new a.Deferred();
|
|
33
|
-
k.push(l.promise());
|
|
34
|
-
if (c && !f) g && g.apply(c, [this]), l.resolve();
|
|
35
|
-
else if (f)
|
|
36
|
-
c.once(
|
|
37
|
-
'instanceReady',
|
|
38
|
-
function () {
|
|
39
|
-
setTimeout(function d() {
|
|
40
|
-
c.element ? (c.element.$ == h && g && g.apply(c, [h]), l.resolve()) : setTimeout(d, 100);
|
|
41
|
-
}, 0);
|
|
42
|
-
},
|
|
43
|
-
null,
|
|
44
|
-
null,
|
|
45
|
-
9999,
|
|
46
|
-
);
|
|
47
|
-
else {
|
|
48
|
-
if (e.autoUpdateElement || ('undefined' == typeof e.autoUpdateElement && CKEDITOR.config.autoUpdateElement))
|
|
49
|
-
e.autoUpdateElementJquery = !0;
|
|
50
|
-
e.autoUpdateElement = !1;
|
|
51
|
-
b.data('_ckeditorInstanceLock', !0);
|
|
52
|
-
c = a(this).is('textarea') ? CKEDITOR.replace(h, e) : CKEDITOR.inline(h, e);
|
|
53
|
-
b.data('ckeditorInstance', c);
|
|
54
|
-
c.on(
|
|
55
|
-
'instanceReady',
|
|
56
|
-
function (e) {
|
|
57
|
-
var d = e.editor;
|
|
58
|
-
setTimeout(function n() {
|
|
59
|
-
if (d.element) {
|
|
60
|
-
e.removeListener();
|
|
61
|
-
d.on('dataReady', function () {
|
|
62
|
-
b.trigger('dataReady.ckeditor', [d]);
|
|
63
|
-
});
|
|
64
|
-
d.on('setData', function (a) {
|
|
65
|
-
b.trigger('setData.ckeditor', [d, a.data]);
|
|
66
|
-
});
|
|
67
|
-
d.on(
|
|
68
|
-
'getData',
|
|
69
|
-
function (a) {
|
|
70
|
-
b.trigger('getData.ckeditor', [d, a.data]);
|
|
71
|
-
},
|
|
72
|
-
999,
|
|
73
|
-
);
|
|
74
|
-
d.on('destroy', function () {
|
|
75
|
-
b.trigger('destroy.ckeditor', [d]);
|
|
76
|
-
});
|
|
77
|
-
d.on(
|
|
78
|
-
'save',
|
|
79
|
-
function () {
|
|
80
|
-
a(h.form).trigger('submit');
|
|
81
|
-
return !1;
|
|
82
|
-
},
|
|
83
|
-
null,
|
|
84
|
-
null,
|
|
85
|
-
20,
|
|
86
|
-
);
|
|
87
|
-
if (d.config.autoUpdateElementJquery && b.is('textarea') && a(h.form).length) {
|
|
88
|
-
var c = function () {
|
|
89
|
-
b.ckeditor(function () {
|
|
90
|
-
d.updateElement();
|
|
91
|
-
});
|
|
92
|
-
};
|
|
93
|
-
a(h.form).on('submit', c);
|
|
94
|
-
a(h.form).on('form-pre-serialize', c);
|
|
95
|
-
b.on('destroy.ckeditor', function () {
|
|
96
|
-
a(h.form).off('submit', c);
|
|
97
|
-
a(h.form).off('form-pre-serialize', c);
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
d.on('destroy', function () {
|
|
101
|
-
b.removeData('ckeditorInstance');
|
|
102
|
-
});
|
|
103
|
-
b.removeData('_ckeditorInstanceLock');
|
|
104
|
-
b.trigger('instanceReady.ckeditor', [d]);
|
|
105
|
-
g && g.apply(d, [h]);
|
|
106
|
-
l.resolve();
|
|
107
|
-
} else setTimeout(n, 100);
|
|
108
|
-
}, 0);
|
|
109
|
-
},
|
|
110
|
-
null,
|
|
111
|
-
null,
|
|
112
|
-
9999,
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
|
-
});
|
|
116
|
-
var f = new a.Deferred();
|
|
117
|
-
this.promise = f.promise();
|
|
118
|
-
a.when.apply(this, k).then(function () {
|
|
119
|
-
f.resolve();
|
|
120
|
-
});
|
|
121
|
-
this.editor = this.eq(0).data('ckeditorInstance');
|
|
122
|
-
return this;
|
|
123
|
-
},
|
|
124
|
-
});
|
|
125
|
-
CKEDITOR.config.jqueryOverrideVal &&
|
|
126
|
-
(a.fn.val = CKEDITOR.tools.override(a.fn.val, function (g) {
|
|
127
|
-
return function (e) {
|
|
128
|
-
if (arguments.length) {
|
|
129
|
-
var m = this,
|
|
130
|
-
k = [],
|
|
131
|
-
f = this.each(function () {
|
|
132
|
-
var b = a(this),
|
|
133
|
-
c = b.data('ckeditorInstance');
|
|
134
|
-
if (b.is('textarea') && c) {
|
|
135
|
-
var f = new a.Deferred();
|
|
136
|
-
c.setData(e, function () {
|
|
137
|
-
f.resolve();
|
|
138
|
-
});
|
|
139
|
-
k.push(f.promise());
|
|
140
|
-
return !0;
|
|
141
|
-
}
|
|
142
|
-
return g.call(b, e);
|
|
143
|
-
});
|
|
144
|
-
if (k.length) {
|
|
145
|
-
var b = new a.Deferred();
|
|
146
|
-
a.when.apply(this, k).done(function () {
|
|
147
|
-
b.resolveWith(m);
|
|
148
|
-
});
|
|
149
|
-
return b.promise();
|
|
150
|
-
}
|
|
151
|
-
return f;
|
|
152
|
-
}
|
|
153
|
-
var f = a(this).eq(0),
|
|
154
|
-
c = f.data('ckeditorInstance');
|
|
155
|
-
return f.is('textarea') && c ? c.getData() : g.call(f);
|
|
156
|
-
};
|
|
157
|
-
}));
|
|
158
|
-
})(window.jQuery);
|
|
1
|
+
|
|
2
|
+
/*
|
|
3
|
+
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
|
+
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
(function (a) {
|
|
8
|
+
if ('undefined' == typeof a) throw Error('jQuery should be loaded before CKEditor jQuery adapter.');
|
|
9
|
+
if ('undefined' == typeof CKEDITOR) throw Error('CKEditor should be loaded before CKEditor jQuery adapter.');
|
|
10
|
+
CKEDITOR.config.jqueryOverrideVal =
|
|
11
|
+
'undefined' == typeof CKEDITOR.config.jqueryOverrideVal ? !0 : CKEDITOR.config.jqueryOverrideVal;
|
|
12
|
+
a.extend(a.fn, {
|
|
13
|
+
ckeditorGet: function () {
|
|
14
|
+
var a = this.eq(0).data('ckeditorInstance');
|
|
15
|
+
if (!a) throw 'CKEditor is not initialized yet, use ckeditor() with a callback.';
|
|
16
|
+
return a;
|
|
17
|
+
},
|
|
18
|
+
ckeditor: function (g, e) {
|
|
19
|
+
if (!CKEDITOR.env.isCompatible) throw Error('The environment is incompatible.');
|
|
20
|
+
if ('function' !== typeof g) {
|
|
21
|
+
var m = e;
|
|
22
|
+
e = g;
|
|
23
|
+
g = m;
|
|
24
|
+
}
|
|
25
|
+
var k = [];
|
|
26
|
+
e = e || {};
|
|
27
|
+
this.each(function () {
|
|
28
|
+
var b = a(this),
|
|
29
|
+
c = b.data('ckeditorInstance'),
|
|
30
|
+
f = b.data('_ckeditorInstanceLock'),
|
|
31
|
+
h = this,
|
|
32
|
+
l = new a.Deferred();
|
|
33
|
+
k.push(l.promise());
|
|
34
|
+
if (c && !f) g && g.apply(c, [this]), l.resolve();
|
|
35
|
+
else if (f)
|
|
36
|
+
c.once(
|
|
37
|
+
'instanceReady',
|
|
38
|
+
function () {
|
|
39
|
+
setTimeout(function d() {
|
|
40
|
+
c.element ? (c.element.$ == h && g && g.apply(c, [h]), l.resolve()) : setTimeout(d, 100);
|
|
41
|
+
}, 0);
|
|
42
|
+
},
|
|
43
|
+
null,
|
|
44
|
+
null,
|
|
45
|
+
9999,
|
|
46
|
+
);
|
|
47
|
+
else {
|
|
48
|
+
if (e.autoUpdateElement || ('undefined' == typeof e.autoUpdateElement && CKEDITOR.config.autoUpdateElement))
|
|
49
|
+
e.autoUpdateElementJquery = !0;
|
|
50
|
+
e.autoUpdateElement = !1;
|
|
51
|
+
b.data('_ckeditorInstanceLock', !0);
|
|
52
|
+
c = a(this).is('textarea') ? CKEDITOR.replace(h, e) : CKEDITOR.inline(h, e);
|
|
53
|
+
b.data('ckeditorInstance', c);
|
|
54
|
+
c.on(
|
|
55
|
+
'instanceReady',
|
|
56
|
+
function (e) {
|
|
57
|
+
var d = e.editor;
|
|
58
|
+
setTimeout(function n() {
|
|
59
|
+
if (d.element) {
|
|
60
|
+
e.removeListener();
|
|
61
|
+
d.on('dataReady', function () {
|
|
62
|
+
b.trigger('dataReady.ckeditor', [d]);
|
|
63
|
+
});
|
|
64
|
+
d.on('setData', function (a) {
|
|
65
|
+
b.trigger('setData.ckeditor', [d, a.data]);
|
|
66
|
+
});
|
|
67
|
+
d.on(
|
|
68
|
+
'getData',
|
|
69
|
+
function (a) {
|
|
70
|
+
b.trigger('getData.ckeditor', [d, a.data]);
|
|
71
|
+
},
|
|
72
|
+
999,
|
|
73
|
+
);
|
|
74
|
+
d.on('destroy', function () {
|
|
75
|
+
b.trigger('destroy.ckeditor', [d]);
|
|
76
|
+
});
|
|
77
|
+
d.on(
|
|
78
|
+
'save',
|
|
79
|
+
function () {
|
|
80
|
+
a(h.form).trigger('submit');
|
|
81
|
+
return !1;
|
|
82
|
+
},
|
|
83
|
+
null,
|
|
84
|
+
null,
|
|
85
|
+
20,
|
|
86
|
+
);
|
|
87
|
+
if (d.config.autoUpdateElementJquery && b.is('textarea') && a(h.form).length) {
|
|
88
|
+
var c = function () {
|
|
89
|
+
b.ckeditor(function () {
|
|
90
|
+
d.updateElement();
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
a(h.form).on('submit', c);
|
|
94
|
+
a(h.form).on('form-pre-serialize', c);
|
|
95
|
+
b.on('destroy.ckeditor', function () {
|
|
96
|
+
a(h.form).off('submit', c);
|
|
97
|
+
a(h.form).off('form-pre-serialize', c);
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
d.on('destroy', function () {
|
|
101
|
+
b.removeData('ckeditorInstance');
|
|
102
|
+
});
|
|
103
|
+
b.removeData('_ckeditorInstanceLock');
|
|
104
|
+
b.trigger('instanceReady.ckeditor', [d]);
|
|
105
|
+
g && g.apply(d, [h]);
|
|
106
|
+
l.resolve();
|
|
107
|
+
} else setTimeout(n, 100);
|
|
108
|
+
}, 0);
|
|
109
|
+
},
|
|
110
|
+
null,
|
|
111
|
+
null,
|
|
112
|
+
9999,
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
var f = new a.Deferred();
|
|
117
|
+
this.promise = f.promise();
|
|
118
|
+
a.when.apply(this, k).then(function () {
|
|
119
|
+
f.resolve();
|
|
120
|
+
});
|
|
121
|
+
this.editor = this.eq(0).data('ckeditorInstance');
|
|
122
|
+
return this;
|
|
123
|
+
},
|
|
124
|
+
});
|
|
125
|
+
CKEDITOR.config.jqueryOverrideVal &&
|
|
126
|
+
(a.fn.val = CKEDITOR.tools.override(a.fn.val, function (g) {
|
|
127
|
+
return function (e) {
|
|
128
|
+
if (arguments.length) {
|
|
129
|
+
var m = this,
|
|
130
|
+
k = [],
|
|
131
|
+
f = this.each(function () {
|
|
132
|
+
var b = a(this),
|
|
133
|
+
c = b.data('ckeditorInstance');
|
|
134
|
+
if (b.is('textarea') && c) {
|
|
135
|
+
var f = new a.Deferred();
|
|
136
|
+
c.setData(e, function () {
|
|
137
|
+
f.resolve();
|
|
138
|
+
});
|
|
139
|
+
k.push(f.promise());
|
|
140
|
+
return !0;
|
|
141
|
+
}
|
|
142
|
+
return g.call(b, e);
|
|
143
|
+
});
|
|
144
|
+
if (k.length) {
|
|
145
|
+
var b = new a.Deferred();
|
|
146
|
+
a.when.apply(this, k).done(function () {
|
|
147
|
+
b.resolveWith(m);
|
|
148
|
+
});
|
|
149
|
+
return b.promise();
|
|
150
|
+
}
|
|
151
|
+
return f;
|
|
152
|
+
}
|
|
153
|
+
var f = a(this).eq(0),
|
|
154
|
+
c = f.data('ckeditorInstance');
|
|
155
|
+
return f.is('textarea') && c ? c.getData() : g.call(f);
|
|
156
|
+
};
|
|
157
|
+
}));
|
|
158
|
+
})(window.jQuery);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
{
|
|
2
|
-
"bender": {
|
|
3
|
-
"port": 9001
|
|
4
|
-
},
|
|
5
|
-
"server": {
|
|
6
|
-
"port": 9002
|
|
7
|
-
},
|
|
8
|
-
"paths": {
|
|
9
|
-
"ckeditor4": "../ckeditor4/",
|
|
10
|
-
"runner": "./src/runner.html"
|
|
11
|
-
},
|
|
12
|
-
"browsers": {
|
|
13
|
-
"linux": [ "chrome", "firefox" ],
|
|
14
|
-
"macos": [ "safari" ]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"bender": {
|
|
3
|
+
"port": 9001
|
|
4
|
+
},
|
|
5
|
+
"server": {
|
|
6
|
+
"port": 9002
|
|
7
|
+
},
|
|
8
|
+
"paths": {
|
|
9
|
+
"ckeditor4": "../ckeditor4/",
|
|
10
|
+
"runner": "./src/runner.html"
|
|
11
|
+
},
|
|
12
|
+
"browsers": {
|
|
13
|
+
"linux": [ "chrome", "firefox" ],
|
|
14
|
+
"macos": [ "safari" ]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license/
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* This file was added automatically by CKEditor builder.
|
|
8
|
-
* You may re-use it at any time to build CKEditor again.
|
|
9
|
-
*
|
|
10
|
-
* If you would like to build CKEditor online again
|
|
11
|
-
* (for example to upgrade), visit one the following links:
|
|
12
|
-
*
|
|
13
|
-
* (1) https://ckeditor.com/cke4/builder
|
|
14
|
-
* Visit online builder to build CKEditor from scratch.
|
|
15
|
-
*
|
|
16
|
-
* (2) https://ckeditor.com/cke4/builder/77b7f4a7ecb4a3785f61c6aac7706e79
|
|
17
|
-
* Visit online builder to build CKEditor, starting with the same setup as before.
|
|
18
|
-
*
|
|
19
|
-
* (3) https://ckeditor.com/cke4/builder/download/77b7f4a7ecb4a3785f61c6aac7706e79
|
|
20
|
-
* Straight download link to the latest version of CKEditor (Optimized) with the same setup as before.
|
|
21
|
-
*
|
|
22
|
-
* NOTE:
|
|
23
|
-
* This file is not used by CKEditor, you may remove it.
|
|
24
|
-
* Changing this file will not change your CKEditor configuration.
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
var CKBUILDER_CONFIG = {
|
|
28
|
-
skin: 'moono-lisa',
|
|
29
|
-
preset: 'standard',
|
|
30
|
-
ignore: [
|
|
31
|
-
'.DS_Store',
|
|
32
|
-
'.bender',
|
|
33
|
-
'.editorconfig',
|
|
34
|
-
'.gitattributes',
|
|
35
|
-
'.gitignore',
|
|
36
|
-
'.idea',
|
|
37
|
-
'.jscsrc',
|
|
38
|
-
'.jshintignore',
|
|
39
|
-
'.jshintrc',
|
|
40
|
-
'.mailmap',
|
|
41
|
-
'.npm',
|
|
42
|
-
'.nvmrc',
|
|
43
|
-
'.travis.yml',
|
|
44
|
-
'bender-err.log',
|
|
45
|
-
'bender-out.log',
|
|
46
|
-
'bender.ci.js',
|
|
47
|
-
'bender.js',
|
|
48
|
-
'dev',
|
|
49
|
-
'gruntfile.js',
|
|
50
|
-
'less',
|
|
51
|
-
'node_modules',
|
|
52
|
-
'package-lock.json',
|
|
53
|
-
'package.json',
|
|
54
|
-
'tests',
|
|
55
|
-
],
|
|
56
|
-
plugins: {
|
|
57
|
-
a11yhelp: 1,
|
|
58
|
-
about: 1,
|
|
59
|
-
basicstyles: 1,
|
|
60
|
-
blockquote: 1,
|
|
61
|
-
clipboard: 1,
|
|
62
|
-
colorbutton: 1,
|
|
63
|
-
contextmenu: 1,
|
|
64
|
-
elementspath: 1,
|
|
65
|
-
enterkey: 1,
|
|
66
|
-
entities: 1,
|
|
67
|
-
filebrowser: 1,
|
|
68
|
-
floatingspace: 1,
|
|
69
|
-
format: 1,
|
|
70
|
-
horizontalrule: 1,
|
|
71
|
-
htmlwriter: 1,
|
|
72
|
-
image: 1,
|
|
73
|
-
indentlist: 1,
|
|
74
|
-
link: 1,
|
|
75
|
-
list: 1,
|
|
76
|
-
magicline: 1,
|
|
77
|
-
maximize: 1,
|
|
78
|
-
pasteFromGoogleDoc: 1,
|
|
79
|
-
pastetext: 1,
|
|
80
|
-
removeformat: 1,
|
|
81
|
-
resize: 1,
|
|
82
|
-
scayt: 1,
|
|
83
|
-
showborders: 1,
|
|
84
|
-
sourcearea: 1,
|
|
85
|
-
specialchar: 1,
|
|
86
|
-
stylescombo: 1,
|
|
87
|
-
tab: 1,
|
|
88
|
-
table: 1,
|
|
89
|
-
tableselection: 1,
|
|
90
|
-
tabletools: 1,
|
|
91
|
-
toolbar: 1,
|
|
92
|
-
undo: 1,
|
|
93
|
-
uploadimage: 1,
|
|
94
|
-
wysiwygarea: 1,
|
|
95
|
-
},
|
|
96
|
-
languages: {
|
|
97
|
-
en: 1,
|
|
98
|
-
vi: 1,
|
|
99
|
-
},
|
|
100
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license/
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* This file was added automatically by CKEditor builder.
|
|
8
|
+
* You may re-use it at any time to build CKEditor again.
|
|
9
|
+
*
|
|
10
|
+
* If you would like to build CKEditor online again
|
|
11
|
+
* (for example to upgrade), visit one the following links:
|
|
12
|
+
*
|
|
13
|
+
* (1) https://ckeditor.com/cke4/builder
|
|
14
|
+
* Visit online builder to build CKEditor from scratch.
|
|
15
|
+
*
|
|
16
|
+
* (2) https://ckeditor.com/cke4/builder/77b7f4a7ecb4a3785f61c6aac7706e79
|
|
17
|
+
* Visit online builder to build CKEditor, starting with the same setup as before.
|
|
18
|
+
*
|
|
19
|
+
* (3) https://ckeditor.com/cke4/builder/download/77b7f4a7ecb4a3785f61c6aac7706e79
|
|
20
|
+
* Straight download link to the latest version of CKEditor (Optimized) with the same setup as before.
|
|
21
|
+
*
|
|
22
|
+
* NOTE:
|
|
23
|
+
* This file is not used by CKEditor, you may remove it.
|
|
24
|
+
* Changing this file will not change your CKEditor configuration.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
var CKBUILDER_CONFIG = {
|
|
28
|
+
skin: 'moono-lisa',
|
|
29
|
+
preset: 'standard',
|
|
30
|
+
ignore: [
|
|
31
|
+
'.DS_Store',
|
|
32
|
+
'.bender',
|
|
33
|
+
'.editorconfig',
|
|
34
|
+
'.gitattributes',
|
|
35
|
+
'.gitignore',
|
|
36
|
+
'.idea',
|
|
37
|
+
'.jscsrc',
|
|
38
|
+
'.jshintignore',
|
|
39
|
+
'.jshintrc',
|
|
40
|
+
'.mailmap',
|
|
41
|
+
'.npm',
|
|
42
|
+
'.nvmrc',
|
|
43
|
+
'.travis.yml',
|
|
44
|
+
'bender-err.log',
|
|
45
|
+
'bender-out.log',
|
|
46
|
+
'bender.ci.js',
|
|
47
|
+
'bender.js',
|
|
48
|
+
'dev',
|
|
49
|
+
'gruntfile.js',
|
|
50
|
+
'less',
|
|
51
|
+
'node_modules',
|
|
52
|
+
'package-lock.json',
|
|
53
|
+
'package.json',
|
|
54
|
+
'tests',
|
|
55
|
+
],
|
|
56
|
+
plugins: {
|
|
57
|
+
a11yhelp: 1,
|
|
58
|
+
about: 1,
|
|
59
|
+
basicstyles: 1,
|
|
60
|
+
blockquote: 1,
|
|
61
|
+
clipboard: 1,
|
|
62
|
+
colorbutton: 1,
|
|
63
|
+
contextmenu: 1,
|
|
64
|
+
elementspath: 1,
|
|
65
|
+
enterkey: 1,
|
|
66
|
+
entities: 1,
|
|
67
|
+
filebrowser: 1,
|
|
68
|
+
floatingspace: 1,
|
|
69
|
+
format: 1,
|
|
70
|
+
horizontalrule: 1,
|
|
71
|
+
htmlwriter: 1,
|
|
72
|
+
image: 1,
|
|
73
|
+
indentlist: 1,
|
|
74
|
+
link: 1,
|
|
75
|
+
list: 1,
|
|
76
|
+
magicline: 1,
|
|
77
|
+
maximize: 1,
|
|
78
|
+
pasteFromGoogleDoc: 1,
|
|
79
|
+
pastetext: 1,
|
|
80
|
+
removeformat: 1,
|
|
81
|
+
resize: 1,
|
|
82
|
+
scayt: 1,
|
|
83
|
+
showborders: 1,
|
|
84
|
+
sourcearea: 1,
|
|
85
|
+
specialchar: 1,
|
|
86
|
+
stylescombo: 1,
|
|
87
|
+
tab: 1,
|
|
88
|
+
table: 1,
|
|
89
|
+
tableselection: 1,
|
|
90
|
+
tabletools: 1,
|
|
91
|
+
toolbar: 1,
|
|
92
|
+
undo: 1,
|
|
93
|
+
uploadimage: 1,
|
|
94
|
+
wysiwygarea: 1,
|
|
95
|
+
},
|
|
96
|
+
languages: {
|
|
97
|
+
en: 1,
|
|
98
|
+
vi: 1,
|
|
99
|
+
},
|
|
100
|
+
};
|