biso24-editor 1.3.0 → 1.3.2
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 +1716 -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/config.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
CKEDITOR.editorConfig = function (config) {
|
|
7
|
-
// Define changes to default configuration here.
|
|
8
|
-
// For complete reference see:
|
|
9
|
-
// https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html
|
|
10
|
-
|
|
11
|
-
// The toolbar groups arrangement, optimized for two toolbar rows.
|
|
12
|
-
config.toolbarGroups = [
|
|
13
|
-
{ name: 'clipboard', groups: ['clipboard', 'undo'] },
|
|
14
|
-
{ name: 'editing', groups: ['find', 'selection', 'spellchecker'] },
|
|
15
|
-
{ name: 'links' },
|
|
16
|
-
{ name: 'insert' },
|
|
17
|
-
{ name: 'forms' },
|
|
18
|
-
{ name: 'tools' },
|
|
19
|
-
{ name: 'basicstyles', groups: ['basicstyles', 'cleanup'] },
|
|
20
|
-
{ name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'] },
|
|
21
|
-
{ name: 'styles' },
|
|
22
|
-
{ name: 'colors' },
|
|
23
|
-
{ name: 'document', groups: ['mode', 'document', 'doctools'] },
|
|
24
|
-
{ name: 'others' },
|
|
25
|
-
'/',
|
|
26
|
-
|
|
27
|
-
{ name: 'about' },
|
|
28
|
-
];
|
|
29
|
-
|
|
30
|
-
// Remove some buttons provided by the standard plugins, which are
|
|
31
|
-
// not needed in the Standard(s) toolbar.
|
|
32
|
-
config.removeButtons = 'Underline,Subscript,Superscript';
|
|
33
|
-
|
|
34
|
-
// Set the most common block elements.
|
|
35
|
-
config.format_tags = 'p;h1;h2;h3;pre';
|
|
36
|
-
|
|
37
|
-
// Simplify the dialog windows.
|
|
38
|
-
config.removeDialogTabs = 'image:advanced;link:advanced';
|
|
39
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
CKEDITOR.editorConfig = function (config) {
|
|
7
|
+
// Define changes to default configuration here.
|
|
8
|
+
// For complete reference see:
|
|
9
|
+
// https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html
|
|
10
|
+
|
|
11
|
+
// The toolbar groups arrangement, optimized for two toolbar rows.
|
|
12
|
+
config.toolbarGroups = [
|
|
13
|
+
{ name: 'clipboard', groups: ['clipboard', 'undo'] },
|
|
14
|
+
{ name: 'editing', groups: ['find', 'selection', 'spellchecker'] },
|
|
15
|
+
{ name: 'links' },
|
|
16
|
+
{ name: 'insert' },
|
|
17
|
+
{ name: 'forms' },
|
|
18
|
+
{ name: 'tools' },
|
|
19
|
+
{ name: 'basicstyles', groups: ['basicstyles', 'cleanup'] },
|
|
20
|
+
{ name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'] },
|
|
21
|
+
{ name: 'styles' },
|
|
22
|
+
{ name: 'colors' },
|
|
23
|
+
{ name: 'document', groups: ['mode', 'document', 'doctools'] },
|
|
24
|
+
{ name: 'others' },
|
|
25
|
+
'/',
|
|
26
|
+
|
|
27
|
+
{ name: 'about' },
|
|
28
|
+
];
|
|
29
|
+
|
|
30
|
+
// Remove some buttons provided by the standard plugins, which are
|
|
31
|
+
// not needed in the Standard(s) toolbar.
|
|
32
|
+
config.removeButtons = 'Underline,Subscript,Superscript';
|
|
33
|
+
|
|
34
|
+
// Set the most common block elements.
|
|
35
|
+
config.format_tags = 'p;h1;h2;h3;pre';
|
|
36
|
+
|
|
37
|
+
// Simplify the dialog windows.
|
|
38
|
+
config.removeDialogTabs = 'image:advanced;link:advanced';
|
|
39
|
+
};
|
package/CKEditor4/contents.css
CHANGED
|
@@ -1,161 +1,161 @@
|
|
|
1
|
-
/*
|
|
2
|
-
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
|
-
body {
|
|
7
|
-
/* Font */
|
|
8
|
-
/* Emoji fonts are added to visualise them nicely in Internet Explorer. */
|
|
9
|
-
font-size: 12px;
|
|
10
|
-
|
|
11
|
-
/* Text color */
|
|
12
|
-
color: #333;
|
|
13
|
-
|
|
14
|
-
/* Remove the background color to make it transparent. */
|
|
15
|
-
background-color: #fff;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.cke_editable {
|
|
19
|
-
word-wrap: break-word;
|
|
20
|
-
font-family: 'Roboto', sans-serif;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
a[href] {
|
|
24
|
-
color: #0782c1;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
ol,
|
|
28
|
-
ul,
|
|
29
|
-
dl {
|
|
30
|
-
padding: 0 40px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
h1,
|
|
34
|
-
h2,
|
|
35
|
-
h3,
|
|
36
|
-
h4,
|
|
37
|
-
h5,
|
|
38
|
-
h6 {
|
|
39
|
-
font-weight: normal;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
hr {
|
|
43
|
-
border: 0px;
|
|
44
|
-
border-top: 1px solid #ccc;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
img.right {
|
|
48
|
-
border: 1px solid #ccc;
|
|
49
|
-
float: right;
|
|
50
|
-
margin-left: 15px;
|
|
51
|
-
padding: 5px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
img.left {
|
|
55
|
-
border: 1px solid #ccc;
|
|
56
|
-
float: left;
|
|
57
|
-
margin-right: 15px;
|
|
58
|
-
padding: 5px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
pre {
|
|
62
|
-
white-space: pre-wrap;
|
|
63
|
-
/* CSS 2.1 */
|
|
64
|
-
word-wrap: break-word;
|
|
65
|
-
/* IE7 */
|
|
66
|
-
-moz-tab-size: 4;
|
|
67
|
-
tab-size: 4;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.marker {
|
|
71
|
-
background-color: Yellow;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
figure {
|
|
75
|
-
text-align: center;
|
|
76
|
-
outline: solid 1px #ccc;
|
|
77
|
-
background: rgba(0, 0, 0, 0.05);
|
|
78
|
-
padding: 10px;
|
|
79
|
-
margin: 10px 20px;
|
|
80
|
-
display: inline-block;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
figure > figcaption {
|
|
84
|
-
text-align: center;
|
|
85
|
-
display: block;
|
|
86
|
-
/* For IE8 */
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
a > img {
|
|
90
|
-
padding: 1px;
|
|
91
|
-
margin: 1px;
|
|
92
|
-
border: none;
|
|
93
|
-
outline: 1px solid #0782c1;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/* Widget Styles */
|
|
97
|
-
.code-featured {
|
|
98
|
-
border: 5px solid red;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.math-featured {
|
|
102
|
-
padding: 20px;
|
|
103
|
-
box-shadow: 0 0 2px rgba(200, 0, 0, 1);
|
|
104
|
-
background-color: rgba(255, 0, 0, 0.05);
|
|
105
|
-
margin: 10px;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.image-clean {
|
|
109
|
-
border: 0;
|
|
110
|
-
background: none;
|
|
111
|
-
padding: 0;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.image-clean > figcaption {
|
|
115
|
-
font-size: 0.9em;
|
|
116
|
-
text-align: right;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.image-grayscale {
|
|
120
|
-
background-color: white;
|
|
121
|
-
color: #666;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.image-grayscale img,
|
|
125
|
-
img.image-grayscale {
|
|
126
|
-
filter: grayscale(100%);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.embed-240p {
|
|
130
|
-
max-width: 426px;
|
|
131
|
-
max-height: 240px;
|
|
132
|
-
margin: 0 auto;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.embed-360p {
|
|
136
|
-
max-width: 640px;
|
|
137
|
-
max-height: 360px;
|
|
138
|
-
margin: 0 auto;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.embed-480p {
|
|
142
|
-
max-width: 854px;
|
|
143
|
-
max-height: 480px;
|
|
144
|
-
margin: 0 auto;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.embed-720p {
|
|
148
|
-
max-width: 1280px;
|
|
149
|
-
max-height: 720px;
|
|
150
|
-
margin: 0 auto;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.embed-1080p {
|
|
154
|
-
max-width: 1920px;
|
|
155
|
-
max-height: 1080px;
|
|
156
|
-
margin: 0 auto;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
table {
|
|
160
|
-
width: 100% !important;
|
|
161
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
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
|
+
body {
|
|
7
|
+
/* Font */
|
|
8
|
+
/* Emoji fonts are added to visualise them nicely in Internet Explorer. */
|
|
9
|
+
font-size: 12px;
|
|
10
|
+
|
|
11
|
+
/* Text color */
|
|
12
|
+
color: #333;
|
|
13
|
+
|
|
14
|
+
/* Remove the background color to make it transparent. */
|
|
15
|
+
background-color: #fff;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.cke_editable {
|
|
19
|
+
word-wrap: break-word;
|
|
20
|
+
font-family: 'Roboto', sans-serif;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
a[href] {
|
|
24
|
+
color: #0782c1;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
ol,
|
|
28
|
+
ul,
|
|
29
|
+
dl {
|
|
30
|
+
padding: 0 40px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
h1,
|
|
34
|
+
h2,
|
|
35
|
+
h3,
|
|
36
|
+
h4,
|
|
37
|
+
h5,
|
|
38
|
+
h6 {
|
|
39
|
+
font-weight: normal;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
hr {
|
|
43
|
+
border: 0px;
|
|
44
|
+
border-top: 1px solid #ccc;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
img.right {
|
|
48
|
+
border: 1px solid #ccc;
|
|
49
|
+
float: right;
|
|
50
|
+
margin-left: 15px;
|
|
51
|
+
padding: 5px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
img.left {
|
|
55
|
+
border: 1px solid #ccc;
|
|
56
|
+
float: left;
|
|
57
|
+
margin-right: 15px;
|
|
58
|
+
padding: 5px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
pre {
|
|
62
|
+
white-space: pre-wrap;
|
|
63
|
+
/* CSS 2.1 */
|
|
64
|
+
word-wrap: break-word;
|
|
65
|
+
/* IE7 */
|
|
66
|
+
-moz-tab-size: 4;
|
|
67
|
+
tab-size: 4;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.marker {
|
|
71
|
+
background-color: Yellow;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
figure {
|
|
75
|
+
text-align: center;
|
|
76
|
+
outline: solid 1px #ccc;
|
|
77
|
+
background: rgba(0, 0, 0, 0.05);
|
|
78
|
+
padding: 10px;
|
|
79
|
+
margin: 10px 20px;
|
|
80
|
+
display: inline-block;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
figure > figcaption {
|
|
84
|
+
text-align: center;
|
|
85
|
+
display: block;
|
|
86
|
+
/* For IE8 */
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
a > img {
|
|
90
|
+
padding: 1px;
|
|
91
|
+
margin: 1px;
|
|
92
|
+
border: none;
|
|
93
|
+
outline: 1px solid #0782c1;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Widget Styles */
|
|
97
|
+
.code-featured {
|
|
98
|
+
border: 5px solid red;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.math-featured {
|
|
102
|
+
padding: 20px;
|
|
103
|
+
box-shadow: 0 0 2px rgba(200, 0, 0, 1);
|
|
104
|
+
background-color: rgba(255, 0, 0, 0.05);
|
|
105
|
+
margin: 10px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.image-clean {
|
|
109
|
+
border: 0;
|
|
110
|
+
background: none;
|
|
111
|
+
padding: 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.image-clean > figcaption {
|
|
115
|
+
font-size: 0.9em;
|
|
116
|
+
text-align: right;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.image-grayscale {
|
|
120
|
+
background-color: white;
|
|
121
|
+
color: #666;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.image-grayscale img,
|
|
125
|
+
img.image-grayscale {
|
|
126
|
+
filter: grayscale(100%);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.embed-240p {
|
|
130
|
+
max-width: 426px;
|
|
131
|
+
max-height: 240px;
|
|
132
|
+
margin: 0 auto;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.embed-360p {
|
|
136
|
+
max-width: 640px;
|
|
137
|
+
max-height: 360px;
|
|
138
|
+
margin: 0 auto;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.embed-480p {
|
|
142
|
+
max-width: 854px;
|
|
143
|
+
max-height: 480px;
|
|
144
|
+
margin: 0 auto;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.embed-720p {
|
|
148
|
+
max-width: 1280px;
|
|
149
|
+
max-height: 720px;
|
|
150
|
+
margin: 0 auto;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.embed-1080p {
|
|
154
|
+
max-width: 1920px;
|
|
155
|
+
max-height: 1080px;
|
|
156
|
+
margin: 0 auto;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
table {
|
|
160
|
+
width: 100% !important;
|
|
161
|
+
}
|