@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.
Files changed (61) hide show
  1. package/lang/translations/de.po +3 -3
  2. package/lang/translations/gl.po +3 -3
  3. package/lang/translations/it.po +3 -3
  4. package/lang/translations/sr-latn.po +1 -1
  5. package/lang/translations/sr.po +1 -1
  6. package/package.json +7 -7
  7. package/src/commands/acceptallsuggestionscommand.js +1 -1
  8. package/src/commands/acceptselectedsuggestionscommand.js +1 -1
  9. package/src/commands/acceptsuggestioncommand.js +1 -1
  10. package/src/commands/discardallsuggestionscommand.js +1 -1
  11. package/src/commands/discardselectedsuggestionscommand.js +1 -1
  12. package/src/commands/discardsuggestioncommand.js +1 -1
  13. package/src/commands/trackchangescommand.js +1 -1
  14. package/src/integrations/alignment.js +1 -1
  15. package/src/integrations/basicstyles.js +1 -1
  16. package/src/integrations/blockquote.js +1 -1
  17. package/src/integrations/codeblock.js +1 -1
  18. package/src/integrations/comments.js +1 -1
  19. package/src/integrations/deletecommand.js +1 -1
  20. package/src/integrations/entercommand.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/indent.js +1 -1
  27. package/src/integrations/inputcommand.js +1 -1
  28. package/src/integrations/link.js +1 -1
  29. package/src/integrations/list.js +1 -1
  30. package/src/integrations/mediaembed.js +1 -1
  31. package/src/integrations/mention.js +1 -1
  32. package/src/integrations/pagebreak.js +1 -1
  33. package/src/integrations/paragraph.js +1 -1
  34. package/src/integrations/removeformat.js +1 -1
  35. package/src/integrations/restrictededitingmode.js +1 -1
  36. package/src/integrations/shiftentercommand.js +1 -1
  37. package/src/integrations/standardeditingmode.js +1 -1
  38. package/src/integrations/table.js +1 -1
  39. package/src/integrations/tableclipboard.js +1 -1
  40. package/src/integrations/tableheadings.js +1 -1
  41. package/src/integrations/tablemergesplit.js +1 -1
  42. package/src/integrations/title.js +1 -1
  43. package/src/integrations/undo.js +1 -1
  44. package/src/integrations/utils.js +1 -1
  45. package/src/suggestion.js +1 -1
  46. package/src/suggestiondescriptionfactory.js +1 -1
  47. package/src/trackchanges.js +1 -1
  48. package/src/trackchangesdata.js +1 -1
  49. package/src/trackchangesediting.js +1 -1
  50. package/src/trackchangesui.js +1 -1
  51. package/src/ui/suggestioncontroller.js +1 -1
  52. package/src/ui/view/basesuggestionthreadview.js +1 -1
  53. package/src/ui/view/suggestionthreadview.js +1 -1
  54. package/src/utils/getselectedsuggestions.js +1 -1
  55. package/src/utils/hashobject.js +1 -1
  56. package/src/utils/normalizedescription.js +1 -1
  57. package/src/utils/sortsuggestions.js +1 -1
  58. package/theme/integrations/table.css +57 -48
  59. package/theme/suggestionmarker.css +1 -0
  60. package/src/integrations/exportpdf.js +0 -23
  61. package/src/integrations/selectall.js +0 -23
@@ -14,69 +14,82 @@
14
14
  }
15
15
  }
16
16
 
17
- .ck-content .ck-suggestion-marker-deletion.table {
18
- & table {
19
- border-color: var(--ck-color-suggestion-marker-deletion-border);
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-deletion-background);
24
- border-color: var(--ck-color-suggestion-marker-deletion-border);
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-deletion-background);
30
- border-color: var(--ck-color-suggestion-marker-deletion-border);
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
- &.ck-suggestion-marker--active {
35
- & table {
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
- & th {
40
- background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
41
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
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
- & td {
45
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
46
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
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-insertion.table {
52
- & table {
53
- border-color: var(--ck-color-suggestion-marker-insertion-border);
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-insertion-background);
58
- border-color: var(--ck-color-suggestion-marker-insertion-border);
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-insertion-background);
63
- border-color: var(--ck-color-suggestion-marker-insertion-border);
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
- &.ck-suggestion-marker--active {
67
- & table {
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
- & th {
72
- background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
73
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
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
- & td {
77
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
78
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
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'));}}