@ckeditor/ckeditor5-track-changes 29.0.0 → 31.0.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/translations/de.po +3 -3
- package/lang/translations/gl.po +3 -3
- package/lang/translations/it.po +3 -3
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- 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/suggestionmarker.css +1 -0
- package/src/integrations/exportpdf.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;
|
|
@@ -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 _0x5ba1=['get','editor','plugins','afterInit','has','ExportPdf'];(function(_0x2915dd,_0x5ba1e0){const _0xb4e27b=function(_0x438c56){while(--_0x438c56){_0x2915dd['push'](_0x2915dd['shift']());}};_0xb4e27b(++_0x5ba1e0);}(_0x5ba1,0x110));const _0xb4e2=function(_0x2915dd,_0x5ba1e0){_0x2915dd=_0x2915dd-0x0;let _0xb4e27b=_0x5ba1[_0x2915dd];return _0xb4e27b;};import{Plugin as _0x204bda}from'ckeditor5/src/core';export default class z extends _0x204bda{[_0xb4e2('0x1')](){const _0x36dc25=this[_0xb4e2('0x5')];_0x36dc25[_0xb4e2('0x0')][_0xb4e2('0x2')](_0xb4e2('0x3'))&&_0x36dc25[_0xb4e2('0x0')][_0xb4e2('0x4')]('TrackChangesEditing')['enableCommand']('exportPdf');}}
|
|
@@ -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 _0x2c84=['afterInit','get','plugins','TrackChangesEditing','editor','enableCommand','has','SelectAll','selectAll'];(function(_0x751115,_0x2c84de){const _0x2edeb6=function(_0x17d785){while(--_0x17d785){_0x751115['push'](_0x751115['shift']());}};_0x2edeb6(++_0x2c84de);}(_0x2c84,0x82));const _0x2ede=function(_0x751115,_0x2c84de){_0x751115=_0x751115-0x0;let _0x2edeb6=_0x2c84[_0x751115];return _0x2edeb6;};import{Plugin as _0x5c4eaf}from'ckeditor5/src/core';export default class ct extends _0x5c4eaf{[_0x2ede('0x5')](){const _0x1faca0=this[_0x2ede('0x0')];if(!_0x1faca0[_0x2ede('0x7')][_0x2ede('0x2')](_0x2ede('0x3')))return;_0x1faca0[_0x2ede('0x7')][_0x2ede('0x6')](_0x2ede('0x8'))[_0x2ede('0x1')](_0x2ede('0x4'));}}
|