@ckeditor/ckeditor5-track-changes 29.1.0 → 31.1.0
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/lang/contexts.json +8 -7
- package/lang/translations/cs.po +27 -23
- package/lang/translations/da.po +387 -0
- package/lang/translations/de.po +29 -25
- package/lang/translations/en-au.po +27 -23
- package/lang/translations/en.po +27 -23
- package/lang/translations/es.po +26 -22
- package/lang/translations/et.po +26 -22
- package/lang/translations/fr.po +27 -23
- package/lang/translations/gl.po +29 -25
- package/lang/translations/hi.po +27 -23
- package/lang/translations/hr.po +27 -23
- package/lang/translations/it.po +29 -25
- package/lang/translations/nl.po +26 -22
- package/lang/translations/pl.po +27 -23
- package/lang/translations/pt-br.po +49 -45
- package/lang/translations/sk.po +27 -23
- package/lang/translations/sr-latn.po +27 -23
- package/lang/translations/sr.po +27 -23
- package/lang/translations/tk.po +27 -23
- package/lang/translations/tr.po +27 -23
- package/lang/translations/zh-cn.po +27 -23
- package/lang/translations/zh.po +370 -0
- package/package.json +7 -7
- package/src/commands/acceptallsuggestionscommand.js +1 -1
- package/src/commands/acceptselectedsuggestionscommand.js +1 -1
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardallsuggestionscommand.js +1 -1
- package/src/commands/discardselectedsuggestionscommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/getselectedsuggestions.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/normalizedescription.js +1 -1
- package/src/utils/sortsuggestions.js +1 -1
- package/theme/integrations/table.css +57 -48
- package/theme/suggestion.css +10 -0
- package/theme/suggestionmarker.css +1 -0
- package/src/integrations/exportpdf.js +0 -23
- package/src/integrations/exportword.js +0 -23
- package/src/integrations/selectall.js +0 -23
|
@@ -14,69 +14,82 @@
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.ck-content .ck-suggestion-marker-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
.ck-content .ck-suggestion-marker-insertion.table > table {
|
|
18
|
+
border-color: var(--ck-color-suggestion-marker-insertion-border);
|
|
19
|
+
|
|
20
|
+
& > tbody > tr > th {
|
|
21
|
+
background-color: var(--ck-color-suggestion-widget-th-insertion-background);
|
|
22
|
+
border-color: var(--ck-color-suggestion-marker-insertion-border);
|
|
20
23
|
}
|
|
21
24
|
|
|
22
|
-
& th {
|
|
23
|
-
background-color: var(--ck-color-suggestion-widget-th-
|
|
24
|
-
border-color: var(--ck-color-suggestion-marker-
|
|
25
|
-
text-decoration: none;
|
|
25
|
+
& > thead > tr > th {
|
|
26
|
+
background-color: var(--ck-color-suggestion-widget-th-insertion-background);
|
|
27
|
+
border-color: var(--ck-color-suggestion-marker-insertion-border);
|
|
26
28
|
}
|
|
27
29
|
|
|
28
|
-
& td {
|
|
29
|
-
background-color: var(--ck-color-suggestion-widget-
|
|
30
|
-
border-color: var(--ck-color-suggestion-marker-
|
|
31
|
-
text-decoration: none;
|
|
30
|
+
& > tbody > tr > td {
|
|
31
|
+
background-color: var(--ck-color-suggestion-widget-insertion-background);
|
|
32
|
+
border-color: var(--ck-color-suggestion-marker-insertion-border);
|
|
32
33
|
}
|
|
34
|
+
}
|
|
33
35
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
border-color: var(--ck-color-suggestion-marker-deletion-border-active);
|
|
37
|
-
}
|
|
36
|
+
.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table > table {
|
|
37
|
+
border-color: var(--ck-color-suggestion-marker-insertion-border-active);
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
& > tbody > tr > th {
|
|
40
|
+
background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
|
|
41
|
+
border-color: var(--ck-color-suggestion-marker-insertion-border-active);
|
|
42
|
+
}
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
& > thead > tr > th {
|
|
45
|
+
background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
|
|
46
|
+
border-color: var(--ck-color-suggestion-marker-insertion-border-active);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
& > tbody > tr > td {
|
|
50
|
+
background-color: var(--ck-color-suggestion-widget-insertion-background-active);
|
|
51
|
+
border-color: var(--ck-color-suggestion-marker-insertion-border-active);
|
|
48
52
|
}
|
|
49
53
|
}
|
|
50
54
|
|
|
51
|
-
.ck-content .ck-suggestion-marker-
|
|
52
|
-
|
|
53
|
-
|
|
55
|
+
.ck-content .ck-suggestion-marker-deletion.table > table {
|
|
56
|
+
border-color: var(--ck-color-suggestion-marker-deletion-border);
|
|
57
|
+
|
|
58
|
+
& > tbody > tr > th {
|
|
59
|
+
background-color: var(--ck-color-suggestion-widget-th-deletion-background);
|
|
60
|
+
border-color: var(--ck-color-suggestion-marker-deletion-border);
|
|
61
|
+
text-decoration: none;
|
|
54
62
|
}
|
|
55
63
|
|
|
56
|
-
& th {
|
|
57
|
-
background-color: var(--ck-color-suggestion-widget-th-
|
|
58
|
-
border-color: var(--ck-color-suggestion-marker-
|
|
64
|
+
& > thead > tr > th {
|
|
65
|
+
background-color: var(--ck-color-suggestion-widget-th-deletion-background);
|
|
66
|
+
border-color: var(--ck-color-suggestion-marker-deletion-border);
|
|
67
|
+
text-decoration: none;
|
|
59
68
|
}
|
|
60
69
|
|
|
61
|
-
& td {
|
|
62
|
-
background-color: var(--ck-color-suggestion-widget-
|
|
63
|
-
border-color: var(--ck-color-suggestion-marker-
|
|
70
|
+
& > tbody > tr > td {
|
|
71
|
+
background-color: var(--ck-color-suggestion-widget-deletion-background);
|
|
72
|
+
border-color: var(--ck-color-suggestion-marker-deletion-border);
|
|
73
|
+
text-decoration: none;
|
|
64
74
|
}
|
|
75
|
+
}
|
|
65
76
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
border-color: var(--ck-color-suggestion-marker-insertion-border-active);
|
|
69
|
-
}
|
|
77
|
+
.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table > table {
|
|
78
|
+
border-color: var(--ck-color-suggestion-marker-deletion-border-active);
|
|
70
79
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
80
|
+
& > tbody > tr > th {
|
|
81
|
+
background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
|
|
82
|
+
border-color: var(--ck-color-suggestion-marker-deletion-border-active);
|
|
83
|
+
}
|
|
75
84
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
85
|
+
& > thead > tr > th {
|
|
86
|
+
background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
|
|
87
|
+
border-color: var(--ck-color-suggestion-marker-deletion-border-active);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
& > tbody > tr > td {
|
|
91
|
+
background-color: var(--ck-color-suggestion-widget-deletion-background-active);
|
|
92
|
+
border-color: var(--ck-color-suggestion-marker-deletion-border-active);
|
|
80
93
|
}
|
|
81
94
|
}
|
|
82
95
|
|
|
@@ -85,7 +98,6 @@
|
|
|
85
98
|
* See: https://github.com/ckeditor/ckeditor5-table/blob/master/theme/table.css#L29
|
|
86
99
|
*/
|
|
87
100
|
.ck-content .table {
|
|
88
|
-
& th.ck-suggestion-marker-insertion,
|
|
89
101
|
& th.ck-suggestion-marker-insertion {
|
|
90
102
|
background-color: var(--ck-color-suggestion-widget-th-insertion-background);
|
|
91
103
|
|
|
@@ -94,7 +106,6 @@
|
|
|
94
106
|
}
|
|
95
107
|
}
|
|
96
108
|
|
|
97
|
-
& th.ck-suggestion-marker-deletion,
|
|
98
109
|
& th.ck-suggestion-marker-deletion {
|
|
99
110
|
background-color: var(--ck-color-suggestion-widget-th-deletion-background);
|
|
100
111
|
text-decoration: none;
|
|
@@ -104,7 +115,6 @@
|
|
|
104
115
|
}
|
|
105
116
|
}
|
|
106
117
|
|
|
107
|
-
& td.ck-suggestion-marker-insertion,
|
|
108
118
|
& td.ck-suggestion-marker-insertion {
|
|
109
119
|
background-color: var(--ck-color-suggestion-widget-insertion-background);
|
|
110
120
|
|
|
@@ -113,7 +123,6 @@
|
|
|
113
123
|
}
|
|
114
124
|
}
|
|
115
125
|
|
|
116
|
-
& td.ck-suggestion-marker-deletion,
|
|
117
126
|
& td.ck-suggestion-marker-deletion {
|
|
118
127
|
background-color: var(--ck-color-suggestion-widget-deletion-background);
|
|
119
128
|
text-decoration: none;
|
package/theme/suggestion.css
CHANGED
|
@@ -52,6 +52,16 @@ With track-changes feature enabled, we need to distinguish various types of anno
|
|
|
52
52
|
font-weight: bold;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
.ck .ck-suggestion-color {
|
|
56
|
+
display: inline-block;
|
|
57
|
+
width: 14px;
|
|
58
|
+
height: 14px;
|
|
59
|
+
border-radius: 14px;
|
|
60
|
+
vertical-align: text-bottom;
|
|
61
|
+
margin: 0 5px;
|
|
62
|
+
box-shadow: 0 0 0 1px #444;
|
|
63
|
+
}
|
|
64
|
+
|
|
55
65
|
/* Comments inside suggestion. */
|
|
56
66
|
|
|
57
67
|
/* Handle comments inside suggestion keep same border-color. */
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
/* #2810. Safari doesn't support combined text-decoration values. */
|
|
61
61
|
text-decoration: line-through;
|
|
62
62
|
text-decoration-color: var(--ck-color-suggestion-marker-deletion-stroke);
|
|
63
|
+
text-decoration-thickness: 3px;
|
|
63
64
|
|
|
64
65
|
background: var(--ck-color-suggestion-marker-deletion-background);
|
|
65
66
|
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x5341=['exportPdf','TrackChangesEditing','editor','get','afterInit','enableCommand','has'];(function(_0x509cce,_0x5341e1){const _0x19e98e=function(_0x5e146e){while(--_0x5e146e){_0x509cce['push'](_0x509cce['shift']());}};_0x19e98e(++_0x5341e1);}(_0x5341,0x1b6));const _0x19e9=function(_0x509cce,_0x5341e1){_0x509cce=_0x509cce-0x0;let _0x19e98e=_0x5341[_0x509cce];return _0x19e98e;};import{Plugin as _0x3df831}from'ckeditor5/src/core';export default class z extends _0x3df831{[_0x19e9('0x0')](){const _0x180a3d=this[_0x19e9('0x5')];_0x180a3d['plugins'][_0x19e9('0x2')]('ExportPdf')&&_0x180a3d['plugins'][_0x19e9('0x6')](_0x19e9('0x4'))[_0x19e9('0x1')](_0x19e9('0x3'));}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x9ff0=['TrackChangesEditing','editor','exportWord','plugins','enableCommand','afterInit'];(function(_0x49087c,_0x9ff07){const _0x5509f8=function(_0x188333){while(--_0x188333){_0x49087c['push'](_0x49087c['shift']());}};_0x5509f8(++_0x9ff07);}(_0x9ff0,0x197));const _0x5509=function(_0x49087c,_0x9ff07){_0x49087c=_0x49087c-0x0;let _0x5509f8=_0x9ff0[_0x49087c];return _0x5509f8;};import{Plugin as _0x211ca4}from'ckeditor5/src/core';export default class J extends _0x211ca4{[_0x5509('0x0')](){const _0xe49c19=this[_0x5509('0x2')];_0xe49c19[_0x5509('0x4')]['has']('ExportWord')&&_0xe49c19[_0x5509('0x4')]['get'](_0x5509('0x1'))[_0x5509('0x5')](_0x5509('0x3'));}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x4705=['has','TrackChangesEditing','plugins','SelectAll','afterInit','get','editor','selectAll'];(function(_0x2f278a,_0x4705f6){const _0x1f4eb7=function(_0x456f7c){while(--_0x456f7c){_0x2f278a['push'](_0x2f278a['shift']());}};_0x1f4eb7(++_0x4705f6);}(_0x4705,0x12a));const _0x1f4e=function(_0x2f278a,_0x4705f6){_0x2f278a=_0x2f278a-0x0;let _0x1f4eb7=_0x4705[_0x2f278a];return _0x1f4eb7;};import{Plugin as _0x12a56f}from'ckeditor5/src/core';export default class ht extends _0x12a56f{[_0x1f4e('0x2')](){const _0x42d2c0=this[_0x1f4e('0x4')];if(!_0x42d2c0['plugins'][_0x1f4e('0x6')](_0x1f4e('0x1')))return;_0x42d2c0[_0x1f4e('0x0')][_0x1f4e('0x3')](_0x1f4e('0x7'))['enableCommand'](_0x1f4e('0x5'));}}
|