@ckeditor/ckeditor5-comments 29.2.0 → 32.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/LICENSE.md +2 -2
- package/README.md +2 -2
- package/lang/translations/bs.po +80 -0
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +79 -0
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/id.po +78 -0
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +8 -8
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +2 -2
- package/src/annotations/annotations.js +2 -2
- package/src/annotations/annotationsuis.js +2 -2
- package/src/annotations/editorannotations.js +2 -2
- package/src/annotations/inlineannotations.js +2 -2
- package/src/annotations/narrowsidebar.js +2 -2
- package/src/annotations/sidebar.js +2 -2
- package/src/annotations/view/annotationcounterbuttonview.js +2 -2
- package/src/annotations/view/annotationview.js +2 -2
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +2 -2
- package/src/comments/addcommentthreadcommand.js +2 -2
- package/src/comments/commentsediting.js +2 -2
- package/src/comments/commentsrepository.js +2 -2
- package/src/comments/commentsui.js +2 -2
- package/src/comments/integrations/commentsrestrictededitingmode.js +2 -2
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +2 -2
- package/src/comments/ui/commenteditor/commenteditoruiview.js +2 -2
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +2 -2
- package/src/comments/ui/view/basecommentview.js +2 -2
- package/src/comments/ui/view/collapsedcommentsview.js +2 -2
- package/src/comments/ui/view/commentcontentview.js +2 -2
- package/src/comments/ui/view/commentinputview.js +2 -2
- package/src/comments/ui/view/commentslistview.js +2 -2
- package/src/comments/ui/view/commentthreadinputview.js +2 -2
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments/ui/view/confirmmixin.js +2 -2
- package/src/comments/ui/view/confirmview.js +2 -2
- package/src/comments.js +2 -2
- package/src/commentsonly.js +2 -2
- package/src/utils/common-translations.js +2 -2
- package/src/utils/createmutationobserver.js +2 -2
- package/src/utils/getdatetimeformatter.js +2 -2
- package/src/utils/getmarkerdomelement.js +2 -2
- package/src/utils/trim-html.js +2 -2
- package/theme/annotation-inline.css +1 -1
- package/theme/annotation.css +1 -1
- package/theme/comment.css +1 -1
- package/theme/commentinput.css +1 -1
- package/theme/commentmarker.css +1 -1
- package/theme/commentthread.css +1 -1
- package/theme/icons/add-comment.svg +2 -2
- package/theme/icons/edit-comment.svg +1 -1
- package/theme/icons/remove-comment.svg +1 -1
- package/theme/sidebar-narrow.css +3 -3
- package/theme/sidebar.css +1 -1
- package/theme/icons/add-comment-inverted.svg +0 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2308=['view','values','markerNameToElements','mapper','name','domConverter'];(function(_0x1c9957,_0x2308df){const _0x3f1e9a=function(_0x2580e8){while(--_0x2580e8){_0x1c9957['push'](_0x1c9957['shift']());}};_0x3f1e9a(++_0x2308df);}(_0x2308,0xdc));const _0x3f1e=function(_0x1c9957,_0x2308df){_0x1c9957=_0x1c9957-0x0;let _0x3f1e9a=_0x2308[_0x1c9957];return _0x3f1e9a;};import _0x1fd79d from'@ckeditor/ckeditor5-utils/src/first';export default function R(_0x49ed19,_0x70beeb){const _0x59a5d0=_0x49ed19[_0x3f1e('0x5')][_0x3f1e('0x4')](_0x70beeb[_0x3f1e('0x0')]),_0x544208=_0x1fd79d(_0x59a5d0[_0x3f1e('0x3')]());return _0x49ed19[_0x3f1e('0x2')][_0x3f1e('0x1')]['mapViewToDom'](_0x544208);}
|
package/src/utils/trim-html.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c71=['indexOf','push','split','slice','pop','substring','match','length','join','startsWith','replace'];(function(_0x223938,_0x1c712a){const _0x535f87=function(_0x505c7a){while(--_0x505c7a){_0x223938['push'](_0x223938['shift']());}};_0x535f87(++_0x1c712a);}(_0x1c71,0xf3));const _0x535f=function(_0x223938,_0x1c712a){_0x223938=_0x223938-0x0;let _0x535f87=_0x1c71[_0x223938];return _0x535f87;};export default function nn(_0x493643,{limit:_0x3c3d5e,suffix:_0x56369c='...'}){const _0x321e04=[];let _0x2b466d=0x0;const _0x3ce519=_0x493643[_0x535f('0x9')](/</g,'\x0a<')[_0x535f('0x9')](/>/g,'>\x0a')[_0x535f('0x9')](/^\n/g,'')[_0x535f('0x9')](/\n$/g,'')[_0x535f('0x1')]('\x0a');for(let _0x343a9b=0x0;_0x343a9b<_0x3ce519[_0x535f('0x6')];_0x343a9b++){let _0x4fad0d=_0x3ce519[_0x343a9b];const _0x42d1aa=tn(_0x4fad0d);if(_0x4fad0d[_0x535f('0x8')]('<')){if(_0x2b466d>=_0x3c3d5e){const _0x171217=_0x4fad0d[_0x535f('0x5')](/[a-zA-Z]+/)[0x0];_0x4fad0d['startsWith']('</')?(_0x321e04[_0x535f('0x6')]&&(_0x4fad0d=''),_0x321e04[_0x535f('0x3')]()):(_0x321e04[_0x535f('0x0')](_0x171217),_0x4fad0d='');}}else{if(_0x2b466d>=_0x3c3d5e)_0x4fad0d='';else{if(_0x2b466d+_0x42d1aa['length']>=_0x3c3d5e){let _0x49c6c0=_0x3c3d5e-_0x2b466d;if('\x20'===_0x42d1aa[_0x49c6c0-0x1])_0x49c6c0--;else{const _0x442cb7=_0x42d1aa[_0x535f('0x2')](_0x49c6c0)[_0x535f('0xa')]('\x20');-0x1!==_0x442cb7?_0x49c6c0+=_0x442cb7:_0x49c6c0=_0x4fad0d[_0x535f('0x6')];}_0x4fad0d=_0x42d1aa['slice'](0x0,_0x49c6c0)[_0x535f('0x7')]('')+_0x56369c,_0x2b466d=_0x3c3d5e;}else _0x2b466d+=_0x42d1aa[_0x535f('0x6')];}}_0x3ce519[_0x343a9b]=_0x4fad0d;}return _0x3ce519[_0x535f('0x7')]('\x0a')[_0x535f('0x9')](/\n/g,'');}function tn(_0x48e28b){const _0x506f3a=[];for(let _0x5df431=0x0;_0x5df431<_0x48e28b[_0x535f('0x6')];_0x5df431++){const _0x235e66=_0x48e28b[_0x535f('0x4')](_0x5df431)['match'](/^&[a-z0-9#]+;/);if(_0x235e66){const _0x3598c2=_0x235e66[0x0];_0x506f3a[_0x535f('0x0')](_0x3598c2),_0x5df431+=_0x3598c2[_0x535f('0x6')]-0x1;}else _0x506f3a[_0x535f('0x0')](_0x48e28b[_0x5df431]);}return _0x506f3a;}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-2021, CKSource
|
|
6
|
+
* Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/* Common styles for inline comment and inline suggestion. */
|
package/theme/annotation.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-2021, CKSource
|
|
6
|
+
* Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/* Common styles for single comment and single suggestion. */
|
package/theme/comment.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-2021, CKSource
|
|
6
|
+
* Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
:root {
|
package/theme/commentinput.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-2021, CKSource
|
|
6
|
+
* Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
.ck .ck-comment__input-container {
|
package/theme/commentmarker.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-2021, CKSource
|
|
6
|
+
* Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
:root {
|
package/theme/commentthread.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-2021, CKSource
|
|
6
|
+
* Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
:root {
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
5
5
|
all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
6
6
|
|
|
7
|
-
Copyright (c) 2003-2021, CKSource
|
|
7
|
+
Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
|
|
8
8
|
|
|
9
9
|
!-->
|
|
10
10
|
|
|
11
|
-
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="
|
|
11
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 1.5h12A3.5 3.5 0 0 1 19.5 5v8l-.005.192a3.501 3.501 0 0 1-2.927 3.262l-.062.008v1.813a1.5 1.5 0 0 1-2.193 1.33l-.371-.193-.38-.212a13.452 13.452 0 0 1-3.271-2.63l-.062-.07H4A3.5 3.5 0 0 1 .5 13V5A3.5 3.5 0 0 1 4 1.5ZM4 3a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h6.924a11.916 11.916 0 0 0 3.71 3.081l.372.194v-3.268L14.962 15H16a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H4Zm1.55 5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm4.5 0a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm4.5 0a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Z"/></svg>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
5
5
|
all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
6
6
|
|
|
7
|
-
Copyright (c) 2003-2021, CKSource
|
|
7
|
+
Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
|
|
8
8
|
|
|
9
9
|
!-->
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
5
5
|
all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
6
6
|
|
|
7
|
-
Copyright (c) 2003-2021, CKSource
|
|
7
|
+
Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
|
|
8
8
|
|
|
9
9
|
!-->
|
|
10
10
|
|
package/theme/sidebar-narrow.css
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-2021, CKSource
|
|
6
|
+
* Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
--ck-annotation-counter-icon-size:
|
|
10
|
+
--ck-annotation-counter-icon-size: 16px;
|
|
11
11
|
--ck-annotation-counter-number-size: 10px;
|
|
12
12
|
--ck-color-annotation-counter-comment: hsl(55, 98%, 48%);
|
|
13
13
|
--ck-color-annotation-counter-suggestion-insertion: hsl(128, 62%, 60%);
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
font-size: var(--ck-annotation-counter-number-size);
|
|
52
52
|
font-family: var(--ck-font-face);
|
|
53
53
|
right: 0;
|
|
54
|
-
top:
|
|
54
|
+
top: -6px;
|
|
55
55
|
|
|
56
56
|
/* Improve visibility of counter number. */
|
|
57
57
|
text-shadow: -1px 0 2px #444, 1px 0 2px #444;
|
package/theme/sidebar.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-2021, CKSource
|
|
6
|
+
* Copyright (c) 2003-2021, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
:root {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
4
|
-
CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
5
|
-
all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
6
|
-
|
|
7
|
-
Copyright (c) 2003-2021, CKSource Frederico Knabben. All rights reserved.
|
|
8
|
-
|
|
9
|
-
!-->
|
|
10
|
-
|
|
11
|
-
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12 9.4a1 1 0 0 1 2 0c0 .5-.5 1-1 1a1 1 0 0 1-1-1zM8.7 9.4c0-.5.4-1 1-1 .5 0 .9.5.9 1s-.4 1-1 1a1 1 0 0 1-1-1zM6.3 8.5c.5 0 1 .4 1 1 0 .4-.5.9-1 .9a1 1 0 0 1-1-1c0-.5.4-1 1-1z"/><path d="M16 17.4c.6.2 1 .2 1.3-.2V16l-.5-1.1-.3-.7-.3-1.3c.8-1 1.2-2.3 1.2-3.6 0-3.8-3.5-6.9-7.8-6.9-4.2 0-7.7 3-7.7 7 0 3.7 3.5 6.8 7.7 6.8 1 0 2-.1 3-.5 1.4.8 1.6 1 3.4 1.6zm-3.2-2.6h-.4c-.9.4-1.8.5-2.8.5C6 15.3 3 12.7 3 9.4c0-3.2 3-5.9 6.7-5.9 3.8 0 6.8 2.7 6.8 6 0 1-.4 2.2-1 3l-.2.2v.2c0 .7.2 1.2.4 1.8l.3.7a10.4 10.4 0 0 1 .4 1c-1.8-.6-2-.7-3.5-1.6z"/></svg>
|