@ckeditor/ckeditor5-collaboration-core 39.0.2 → 40.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/LICENSE.md +5 -5
- package/README.md +1 -1
- package/package.json +2 -2
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -1
- package/src/permissions.d.ts +3 -2
- package/src/permissions.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/surroundingmarkersdetector.d.ts +16 -0
- package/src/utils/surroundingmarkersdetector.js +23 -0
- package/src/utils/trim-html.js +1 -1
- package/theme/icons/notification.svg +1 -1
- package/theme/integrations/codeblock.css +9 -0
- package/theme/integrations/horizontalline.css +9 -0
- package/theme/integrations/image.css +9 -0
- package/theme/integrations/mediaembed.css +9 -0
- package/theme/integrations/pagebreak.css +9 -0
- package/theme/integrations/table.css +9 -0
- package/theme/suggestion.css +9 -0
- package/theme/suggestionmarker.css +4 -3
- package/theme/usercolormixin.css +10 -1
- package/theme/usercolors.css +2 -1
- package/theme/users.css +2 -1
package/LICENSE.md
CHANGED
@@ -2,10 +2,10 @@ Software License Agreement
|
|
2
2
|
==========================
|
3
3
|
|
4
4
|
**CKEditor 5 collaboration core** (https://ckeditor.com/collaboration/)<br>
|
5
|
-
Copyright (c) 2003
|
5
|
+
Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
6
6
|
|
7
7
|
CKEditor 5 collaboration core is licensed under a commercial license and is protected by copyright law.
|
8
|
-
|
8
|
+
For more details about available licensing options please contact us at sales@cksource.com.
|
9
9
|
|
10
10
|
Sources of Intellectual Property Included in CKEditor 5 collaboration core
|
11
11
|
--------------------------------------------------------------------------
|
@@ -14,10 +14,10 @@ Where not otherwise indicated, all CKEditor 5 collaboration core content is
|
|
14
14
|
|
15
15
|
The following libraries are included in CKEditor 5 collaboration core under the [MIT license](https://opensource.org/licenses/MIT):
|
16
16
|
|
17
|
-
*
|
18
|
-
*
|
17
|
+
* date-fns - Copyright (c) 2021 Sasha Koss and Lesha Koss https://kossnocorp.mit-license.org.
|
18
|
+
* Lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/.
|
19
19
|
|
20
20
|
Trademarks
|
21
21
|
----------
|
22
22
|
|
23
|
-
**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
|
23
|
+
**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders.
|
package/README.md
CHANGED
@@ -19,7 +19,7 @@ As a licensed CKEditor 5 collaboration features user you can report bugs an
|
|
19
19
|
## License
|
20
20
|
|
21
21
|
**CKEditor 5 collaboration core**<br>
|
22
|
-
Copyright (c) 2003-
|
22
|
+
Copyright (c) 2003-2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
23
23
|
|
24
24
|
CKEditor 5 collaboration core is licensed under a commercial license and is protected by copyright law.
|
25
25
|
For more details about available licensing options please contact us at sales@cksource.com.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-collaboration-core",
|
3
|
-
"version": "
|
3
|
+
"version": "40.1.0",
|
4
4
|
"description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
@@ -31,7 +31,7 @@
|
|
31
31
|
],
|
32
32
|
"main": "src/index.js",
|
33
33
|
"dependencies": {
|
34
|
-
"ckeditor5": "
|
34
|
+
"ckeditor5": "40.1.0",
|
35
35
|
"date-fns": "2.30.0"
|
36
36
|
},
|
37
37
|
"files": [
|
package/src/index.d.ts
CHANGED
@@ -11,6 +11,7 @@ export { default as trimHtml } from './utils/trim-html';
|
|
11
11
|
export { default as ConfirmMixin } from './utils/confirmmixin';
|
12
12
|
export { default as hashObject } from './utils/hashobject';
|
13
13
|
export { default as sanitizeEditorConfig } from './utils/sanitizeEditorConfig';
|
14
|
+
export { default as surroundingMarkersDetector } from './utils/surroundingmarkersdetector';
|
14
15
|
export { default as CollaborationOperation, InsertCollaborationOperation, SplitCollaborationOperation, MarkerCollaborationOperation, MoveCollaborationOperation, MergeCollaborationOperation, RootCollaborationOperation, RootAttributeCollaborationOperation } from './collaborationoperation';
|
15
16
|
export { default as CollaborationHistory } from './collaborationhistory';
|
16
17
|
export type { LocaleConfig, RealTimeCollaborationConfig } from './config';
|
package/src/index.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export{default as Permissions}from'./permissions';export{default as Users}from'./users';export{default as UserView}from'./users/view/userview';export{default as getDateTimeFormatter}from'./utils/getdatetimeformatter';export{default as getMarkerDomElement,getAllMarkersDomElementsSorted}from'./utils/getmarkerdomelement';export{default as trimHtml}from'./utils/trim-html';export{default as ConfirmMixin}from'./utils/confirmmixin';export{default as hashObject}from'./utils/hashobject';export{default as sanitizeEditorConfig}from'./utils/sanitizeEditorConfig';export*from'./suggestionstyles';import'./augmentation';
|
23
|
+
export{default as Permissions}from'./permissions';export{default as Users}from'./users';export{default as UserView}from'./users/view/userview';export{default as getDateTimeFormatter}from'./utils/getdatetimeformatter';export{default as getMarkerDomElement,getAllMarkersDomElementsSorted}from'./utils/getmarkerdomelement';export{default as trimHtml}from'./utils/trim-html';export{default as ConfirmMixin}from'./utils/confirmmixin';export{default as hashObject}from'./utils/hashobject';export{default as sanitizeEditorConfig}from'./utils/sanitizeEditorConfig';export{default as surroundingMarkersDetector}from'./utils/surroundingmarkersdetector';export*from'./suggestionstyles';import'./augmentation';
|
package/src/permissions.d.ts
CHANGED
@@ -12,8 +12,9 @@ import { ContextPlugin } from 'ckeditor5/src/core';
|
|
12
12
|
*
|
13
13
|
* Following is the list of all defined permissions:
|
14
14
|
*
|
15
|
-
* * `document:write` - modify the content of the document,
|
16
|
-
* * `comment:write` - create, edit and remove own comments and create,
|
15
|
+
* * `document:write` - modify the content of the document, and resolve comment threads created by any user,
|
16
|
+
* * `comment:write` - create, edit and remove own comments and create, remove own comment threads,
|
17
|
+
* and resolve comment threads created by any user,
|
17
18
|
* * `comment:admin` - resolve and remove comment threads created by other users (enables `comment:write`).
|
18
19
|
* * `comment:modify_all` - edit and remove any comments created by other users.
|
19
20
|
*
|
package/src/permissions.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x142f=['setPermissions','noPermissions','CommentsRepository','comment:admin','collaboration.channelId','includes','context','no-permissions','forceDisabled','disableReadOnlyMode','addCommentThread','comment:modify_all','has','isEnabled','config','document:write','find','plugins','commands','editors','Permissions','get','permissions-set-permissions-invalid-channel-id','pluginName'];(function(_0x272124,_0x142fff){const _0x791c89=function(_0x4c286a){while(--_0x4c286a){_0x272124['push'](_0x272124['shift']());}};_0x791c89(++_0x142fff);}(_0x142f,0x108));const _0x791c=function(_0x272124,_0x142fff){_0x272124=_0x272124-0x0;let _0x791c89=_0x142f[_0x272124];return _0x791c89;};import{ContextPlugin as _0x2e12ad,Editor as _0x2149cb}from'ckeditor5/src/core';import{CKEditorError as _0xabdcfe}from'ckeditor5/src/utils';export default class n extends _0x2e12ad{static get[_0x791c('0x17')](){return _0x791c('0x14');}[_0x791c('0x0')](_0x2a310c,_0x529305){let _0x951671;if(_0x529305||(_0x529305=this['context'][_0x791c('0xe')][_0x791c('0x15')]('collaboration.channelId')),this[_0x791c('0x6')][_0x791c('0xe')][_0x791c('0x15')](_0x791c('0x4'))==_0x529305?_0x951671=this['context']:_0x791c('0x13')in this[_0x791c('0x6')]&&this[_0x791c('0x6')][_0x791c('0x13')]&&(_0x951671=this['context']['editors'][_0x791c('0x10')](_0x4c499f=>_0x4c499f[_0x791c('0xe')][_0x791c('0x15')](_0x791c('0x4'))==_0x529305)),!_0x951671)throw new _0xabdcfe(_0x791c('0x16'),null);const _0xd932fc=_0x951671[_0x791c('0x11')],_0x9f5c31=_0xd932fc[_0x791c('0xc')](_0x791c('0x2'))?_0xd932fc[_0x791c('0x15')](_0x791c('0x2')):void 0x0,_0x4c88f2=_0xd932fc[_0x791c('0xc')]('CommentsOnly')&&_0xd932fc[_0x791c('0x15')]('CommentsOnly'),_0x3ce590=_0x2a310c[_0x791c('0x5')](_0x791c('0xf')),_0x13205f=_0x2a310c[_0x791c('0x5')](_0x791c('0xb')),_0xc44818=_0x2a310c['includes'](_0x791c('0x3')),_0x985c00=_0x2a310c[_0x791c('0x5')]('comment:write'),_0x223543=_0x985c00||_0xc44818,_0xfdd836=_0x223543||_0x13205f,_0x5804de=_0x3ce590||_0x223543;(_0x4c88f2&&(_0x4c88f2[_0x791c('0xd')]=!_0x3ce590&&_0xfdd836),_0x951671 instanceof _0x2149cb)&&(!(_0x3ce590||_0xfdd836&&_0x9f5c31)?_0x951671['enableReadOnlyMode']('no-permissions'):_0x951671[_0x791c('0x9')](_0x791c('0x7')));if(_0x9f5c31){_0x9f5c31[_0x791c('0x0')]({'admin':_0xc44818,'modifyAll':_0x13205f,'write':_0x985c00,'resolve':_0x5804de},_0x529305);const _0x438456=_0x951671 instanceof _0x2149cb&&_0x951671[_0x791c('0x12')][_0x791c('0x15')](_0x791c('0xa'));_0x438456&&(_0x223543?_0x438456['clearForceDisabled'](_0x791c('0x1')):_0x438456[_0x791c('0x8')](_0x791c('0x1')));}}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x304b=['name','avatar','setTemplate','notificationView','ck-user__avatar','ck-user__anonymous','extendTemplate','ck\x20ck-user__name','push','initials','ck-user','url(\x27','ck\x20ck-user__name\x20ck-user__name--hidden','div'];(function(_0x5cb055,_0x304b8e){const _0x20477b=function(_0x30d817){while(--_0x30d817){_0x5cb055['push'](_0x5cb055['shift']());}};_0x20477b(++_0x304b8e);}(_0x304b,0x7c));const _0x2047=function(_0x5cb055,_0x304b8e){_0x5cb055=_0x5cb055-0x0;let _0x20477b=_0x304b[_0x5cb055];return _0x20477b;};import{View as _0x5d1bb6,IconView as _0x59d7b5}from'ckeditor5/src/ui';import _0x252157 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0x5d1bb6{constructor(_0x53825e,_0x3ac28f,_0x46cd46){super(_0x53825e),this['name']=_0x3ac28f[_0x2047('0x2')],this[_0x2047('0x5')]=null;const _0x2c0367=['ck','ck-user__img'];if(_0x3ac28f['isAnonymous']&&_0x2c0367['push'](_0x2047('0x7')),_0x3ac28f[_0x2047('0x3')]&&_0x2c0367[_0x2047('0xa')](_0x2047('0x6')),_0x46cd46){const _0x700ec8=new _0x59d7b5();_0x700ec8[_0x2047('0x8')]({'attributes':{'class':['ck-user__icon']}}),_0x700ec8['content']=_0x252157,this[_0x2047('0x5')]={'tag':_0x2047('0x1'),'attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x46cd46},'children':[_0x700ec8]};}const _0x3d3baa=[{'tag':_0x2047('0x1'),'attributes':{'class':_0x2c0367,'style':{'background-image':_0x3ac28f['avatar']?_0x2047('0xd')+_0x3ac28f['avatar']+'\x27)':''}}},{'tag':_0x2047('0x1'),'attributes':{'class':_0x3ac28f[_0x2047('0x3')]?_0x2047('0x0'):_0x2047('0x9')},'children':[{'text':_0x3ac28f[_0x2047('0xb')]}]}];this['notificationView']&&_0x3d3baa[_0x2047('0xa')](this[_0x2047('0x5')]),this[_0x2047('0x4')]({'tag':_0x2047('0x1'),'attributes':{'class':['ck',_0x2047('0xc')],'data-user-id':_0x3ac28f['id']},'children':_0x3d3baa});}}
|
package/src/users.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x16de=['context','_locale','getUser','useAnonymousUser','pluginName','string','_addAnonymousUser','add','locale','defineMe','users.anonymousUserId','licenseKey','includes','licenseKeyTrialLimit:operations','users-me-missing-user','licenseKeyValid','avatar','users.colorsCount','info','getBackgroundColorClass','anonymous-user','config','requires','split','charAt','licenseKeyTrialLimit:time','init','ck-user__marker--','length','licenseKeyTrial','_getInitial','trial-license-key-reached-limit-revisions','users-add-invalid-id','trim','_id','_getNextColor','users-me-already-defined','getOperationAuthor','initials','name','color','destroy','licenseKeyTrialLimit:revisions','define','Users','decorate','users-add-duplicated-id','get','addUser','_myId','Anonymous','_lastColor','_licenseKeyCheckInterval','_isAnonymous','toUpperCase','licenseKeyInvalid','has','ck-user__selection--','getMarkerClass','isAnonymous','users','trial-license-key-reached-limit-changes'];(function(_0x55a658,_0x16de49){const _0x286f6a=function(_0x386cc5){while(--_0x386cc5){_0x55a658['push'](_0x55a658['shift']());}};_0x286f6a(++_0x16de49);}(_0x16de,0x1cc));const _0x286f=function(_0x55a658,_0x16de49){_0x55a658=_0x55a658-0x0;let _0x286f6a=_0x16de[_0x55a658];return _0x286f6a;};import{ContextPlugin as _0x4938a6}from'ckeditor5/src/core';import{Collection as _0x4e1d08,CKEditorError as _0x56dd20}from'ckeditor5/src/utils';import _0x26ea13 from'./permissions';import{getTranslation as _0x1e2661}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x4938a6{static get[_0x286f('0x28')](){return _0x286f('0x12');}static get[_0x286f('0x3a')](){return[_0x26ea13];}constructor(_0x17a965){super(_0x17a965),this[_0x286f('0x24')]['config'][_0x286f('0x11')](_0x286f('0x2e'),_0x286f('0x38')),this['context']['config'][_0x286f('0x11')]('users.colorsCount',0x8),this['users']=new _0x4e1d08(),this[_0x286f('0x25')]=_0x17a965[_0x286f('0x2c')],this[_0x286f('0x1a')]=null,this[_0x286f('0x19')]=0x0,this[_0x286f('0x17')]=null,this[_0x286f('0x13')](_0x286f('0xb'));}[_0x286f('0x0')](){const _0x33a35e=this[_0x286f('0x24')];this[_0x286f('0x2f')]=_0x33a35e['config'][_0x286f('0x15')](_0x286f('0x2f'));const _0x28c235=[_0x286f('0x3'),'licenseKeyInvalid',_0x286f('0x33'),'licenseKeyTrialLimit:operations',_0x286f('0x3d'),_0x286f('0x10')];this[_0x286f('0x1a')]=setInterval(()=>{let _0x209f16;for(const _0x29da21 in _0x33a35e){const _0x4d483d=_0x33a35e[_0x29da21];if(_0x28c235[_0x286f('0x30')](_0x4d483d)){delete _0x33a35e[_0x29da21],_0x209f16=_0x4d483d;break;}}if(_0x286f('0x1d')===_0x209f16)throw clearInterval(this[_0x286f('0x1a')]),new _0x56dd20('invalid-license-key',null);if(_0x286f('0x3')===_0x209f16&&console[_0x286f('0x36')]('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),_0x286f('0x31')===_0x209f16)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x56dd20(_0x286f('0x23'),null);if(_0x286f('0x3d')===_0x209f16)throw clearInterval(this[_0x286f('0x1a')]),new _0x56dd20('trial-license-key-reached-limit-time',null);if(_0x286f('0x10')===_0x209f16)throw clearInterval(this[_0x286f('0x1a')]),new _0x56dd20(_0x286f('0x5'),null);_0x286f('0x33')===_0x209f16&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x286f('0x2a')]();}get['me'](){return null==this[_0x286f('0x17')]?null:this[_0x286f('0x26')](this['_myId']);}[_0x286f('0x16')]({id:_0x40ef6d,name:_0x44eef3,..._0x15d7ea}){if(!_0x40ef6d||_0x286f('0x29')!=typeof _0x40ef6d)throw new _0x56dd20(_0x286f('0x6'));if(this[_0x286f('0x22')][_0x286f('0x1e')](_0x40ef6d))throw new _0x56dd20(_0x286f('0x14'),null,{'id':_0x40ef6d});const _0x1dc794={..._0x15d7ea,'id':_0x40ef6d,'name':a(this['_locale'],_0x44eef3),'color':this[_0x286f('0x9')]()};_0x1dc794[_0x286f('0xd')]=a(this[_0x286f('0x25')],_0x1dc794[_0x286f('0xd')]);const _0x1ccb20=new User(_0x1dc794);return this[_0x286f('0x22')][_0x286f('0x2b')](_0x1ccb20),_0x1ccb20;}['getUser'](_0x386a47){return this[_0x286f('0x22')]['get'](_0x386a47);}[_0x286f('0x27')](){const _0x3b8d54=this[_0x286f('0x24')][_0x286f('0x39')][_0x286f('0x15')](_0x286f('0x2e'));this[_0x286f('0x17')]||this[_0x286f('0x2d')](_0x3b8d54);}['defineMe'](_0x402e61){if(this[_0x286f('0x17')])throw new _0x56dd20(_0x286f('0xa'),null);if(!this[_0x286f('0x26')](_0x402e61))throw new _0x56dd20(_0x286f('0x32'),null);this[_0x286f('0x17')]=_0x402e61;}['getOperationAuthor'](){return this['me'];}[_0x286f('0xf')](){super['destroy'](),clearInterval(this[_0x286f('0x1a')]);}[_0x286f('0x9')](){const _0x1aba40=this['context'][_0x286f('0x39')][_0x286f('0x15')](_0x286f('0x35'));return this[_0x286f('0x19')]>=_0x1aba40&&(this['_lastColor']=0x0),new u(this[_0x286f('0x19')]++);}[_0x286f('0x2a')](){const _0x41224a=this[_0x286f('0x24')]['config'][_0x286f('0x15')]('users.anonymousUserId');this[_0x286f('0x16')]({'id':_0x41224a,'name':_0x1e2661(this['_locale'],_0x286f('0x18'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x4ada04){this['id']=_0x4ada04['id'],this[_0x286f('0xe')]=_0x4ada04[_0x286f('0xe')],this[_0x286f('0xd')]=_0x4ada04['name'],this[_0x286f('0x34')]=_0x4ada04[_0x286f('0x34')],this[_0x286f('0x1b')]=!0x1;}get[_0x286f('0x21')](){return this[_0x286f('0x1b')];}get[_0x286f('0xc')](){const _0x2dffb5=this[_0x286f('0xd')][_0x286f('0x3b')]('\x20');return 0x1===_0x2dffb5[_0x286f('0x2')]?this[_0x286f('0x4')](_0x2dffb5[0x0]):this[_0x286f('0x4')](_0x2dffb5[0x0])+this['_getInitial'](_0x2dffb5[_0x2dffb5[_0x286f('0x2')]-0x1]);}[_0x286f('0x4')](_0x13fb5b){return _0x13fb5b[_0x286f('0x3c')](0x0)[_0x286f('0x1c')]();}}function a(_0x59881f,_0x5b291e=''){return''==(_0x5b291e=_0x5b291e[_0x286f('0x7')]())?_0x1e2661(_0x59881f,_0x286f('0x18')):_0x5b291e;}class u{constructor(_0x488494){this[_0x286f('0x8')]=_0x488494;}[_0x286f('0x37')](){return'ck-user__bg-color--'+this[_0x286f('0x8')];}['getSelectionClass'](){return _0x286f('0x1f')+this[_0x286f('0x8')];}[_0x286f('0x20')](){return _0x286f('0x1')+this[_0x286f('0x8')];}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export function getTranslation(
|
23
|
+
export function getTranslation(_0x2b4476,_0x44d6b3){const t=_0x2b4476['t'];switch(_0x44d6b3){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
var
|
23
|
+
var _0x37bd=['appendChild','set','destroy','_removeConfirm','deregisterChild','showConfirm','registerChild','isConfirm','focus','cancel','confirmView','once','element','render','locale','fire'];(function(_0x55eee5,_0x37bddb){var _0x5f2813=function(_0x3cdda4){while(--_0x3cdda4){_0x55eee5['push'](_0x55eee5['shift']());}};_0x5f2813(++_0x37bddb);}(_0x37bd,0x7a));var _0x5f28=function(_0x55eee5,_0x37bddb){_0x55eee5=_0x55eee5-0x0;var _0x5f2813=_0x37bd[_0x55eee5];return _0x5f2813;};import _0x529d28 from'./confirmview';export default function m(_0x1f11cf){return class extends _0x1f11cf{[_0x5f28('0xb')](_0x5c4253,_0x4568fd){return this['confirmView']=new _0x529d28(this[_0x5f28('0x4')]),this[_0x5f28('0x0')][_0x5f28('0x3')](),this[_0x5f28('0x0')]['message']=_0x5c4253,this[_0x5f28('0x0')][_0x5f28('0x1')](_0x5f28('0xf'),()=>{this[_0x5f28('0x9')]();}),this[_0x5f28('0x0')][_0x5f28('0x1')]('submit',()=>{this[_0x5f28('0x9')]();}),_0x4568fd[_0x5f28('0x6')](this['confirmView'][_0x5f28('0x2')]),this[_0x5f28('0xc')](this[_0x5f28('0x0')]),this[_0x5f28('0x2')][_0x5f28('0xe')](),this[_0x5f28('0x7')](_0x5f28('0xd'),!0x0),new Promise(_0x13933d=>this[_0x5f28('0x0')]['on']('submit',_0x13933d));}['cancelConfirm'](){this[_0x5f28('0xd')]&&this[_0x5f28('0x0')][_0x5f28('0x5')](_0x5f28('0xf'));}[_0x5f28('0x9')](){this[_0x5f28('0x2')]&&this[_0x5f28('0x0')]&&this[_0x5f28('0x0')][_0x5f28('0x2')]&&(this['element'][_0x5f28('0xe')](),this['confirmView'][_0x5f28('0x2')]['remove'](),this[_0x5f28('0xa')](this[_0x5f28('0x0')]),this[_0x5f28('0xd')]=!0x1,this[_0x5f28('0x0')][_0x5f28('0x8')](),this[_0x5f28('0x0')]=void 0x0);}};}
|
package/src/utils/confirmview.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x2a94=['cancel','ck-thread__remove-confirm','bindTemplate','set','setTemplate','submit','icon','fire','cancelView','ck-thread__remove-confirm-','label','div','submitView','message','check','execute'];(function(_0x35cb57,_0x2a9457){const _0x39db85=function(_0x567752){while(--_0x567752){_0x35cb57['push'](_0x35cb57['shift']());}};_0x39db85(++_0x2a9457);}(_0x2a94,0x146));const _0x39db=function(_0x35cb57,_0x2a9457){_0x35cb57=_0x35cb57-0x0;let _0x39db85=_0x2a94[_0x35cb57];return _0x39db85;};import{View as _0x49fe4c,ButtonView as _0x1487e8}from'ckeditor5/src/ui';import{icons as _0x5a2ac7}from'ckeditor5/src/core';import{getTranslation as _0x395d31}from'./common-translations';export default class h extends _0x49fe4c{constructor(_0x10939e){super(_0x10939e);const _0xe0d727=this[_0x39db('0xc')];this['submitView']=this['_createButtonView'](_0x10939e,_0x395d31(_0x10939e,'Yes'),_0x5a2ac7[_0x39db('0x8')],_0x39db('0xf')),this[_0x39db('0x2')]=this['_createButtonView'](_0x10939e,_0x395d31(_0x10939e,'No'),_0x5a2ac7['cancel'],_0x39db('0xa')),this[_0x39db('0xd')]('message',_0x395d31(_0x10939e,'Are\x20you\x20sure?')),this[_0x39db('0xe')]({'tag':'div','attributes':{'class':[_0x39db('0xb')]},'children':[{'tag':_0x39db('0x5'),'attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0xe0d727['to'](_0x39db('0x7'))}]},{'tag':_0x39db('0x5'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x39db('0x6')],this[_0x39db('0x2')]]}]}]});}['_createButtonView'](_0x35bc91,_0x32e301,_0x4b4aa3,_0x367c67){const _0x34c1f3=new _0x1487e8(_0x35bc91);return _0x34c1f3[_0x39db('0x4')]=_0x32e301,_0x34c1f3[_0x39db('0x0')]=_0x4b4aa3,_0x34c1f3['extendTemplate']({'attributes':{'class':_0x39db('0x3')+_0x367c67}}),_0x34c1f3['on'](_0x39db('0x9'),()=>this[_0x39db('0x1')](_0x367c67)),_0x34c1f3;}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x43ad=['\x27Last\x27\x20EEEE\x20hh:mma','function','\x27Yesterday\x27\x20hh:mma','dateTimeFormat','\x27Today\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','invalid-date-time-format'];(function(_0x5f093f,_0x43ad90){const _0x497cbb=function(_0x2b1d93){while(--_0x2b1d93){_0x5f093f['push'](_0x5f093f['shift']());}};_0x497cbb(++_0x43ad90);}(_0x43ad,0x7c));const _0x497c=function(_0x5f093f,_0x43ad90){_0x5f093f=_0x5f093f-0x0;let _0x497cbb=_0x43ad[_0x5f093f];return _0x497cbb;};import _0x581785 from'date-fns/format';import _0x3682fd from'date-fns/parseISO';import _0x2cff41 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x290564}from'ckeditor5/src/utils';export default function E(_0x3539cf={}){if(void 0x0!==_0x3539cf[_0x497c('0x5')]&&_0x497c('0x3')!=typeof _0x3539cf[_0x497c('0x5')])throw new _0x290564(_0x497c('0x1'));return _0x41b7eb=>{const _0x5e499e='string'==typeof _0x41b7eb?_0x3682fd(_0x41b7eb):_0x41b7eb,_0x48f0e3=new Date(),_0x2ba3f0=_0x2cff41(_0x48f0e3,_0x5e499e);return _0x3539cf[_0x497c('0x5')]?_0x3539cf[_0x497c('0x5')](_0x5e499e):_0x581785(_0x5e499e,0x0===_0x2ba3f0?_0x497c('0x6'):0x1===_0x2ba3f0?_0x497c('0x4'):_0x2ba3f0<0x7?_0x497c('0x2'):_0x497c('0x0'));};}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x4538=['domConverter','filter','length','mapper','sort','name','view','from','markerNameToElements','mapViewToDom','values','item','map'];(function(_0x5f28a8,_0x4538ae){const _0x417710=function(_0x1ea4f0){while(--_0x1ea4f0){_0x5f28a8['push'](_0x5f28a8['shift']());}};_0x417710(++_0x4538ae);}(_0x4538,0x1f4));const _0x4177=function(_0x5f28a8,_0x4538ae){_0x5f28a8=_0x5f28a8-0x0;let _0x417710=_0x4538[_0x5f28a8];return _0x417710;};import{first as _0x54ef67}from'ckeditor5/src/utils';export default function k(_0xe498fc,_0x3e8203){const _0x1b7ec8=_0xe498fc[_0x4177('0xa')][_0x4177('0x2')](_0x3e8203[_0x4177('0xc')]);if(!_0x1b7ec8)return null;const _0x1d8a59=_0x54ef67(_0x1b7ec8[_0x4177('0x4')]());return _0xe498fc[_0x4177('0x0')]['domConverter'][_0x4177('0x3')](_0x1d8a59)||null;}export function getAllMarkersDomElementsSorted(_0x5e3578,_0x5a27ef){if(0x0===_0x5a27ef[_0x4177('0x9')])return null;const _0x476755=[],_0x3fa5e0=_0x5e3578[_0x4177('0x0')][_0x4177('0x7')];for(const _0x491ae2 of _0x5a27ef){const _0x2d061c=_0x5e3578[_0x4177('0xa')]['markerNameToElements'](_0x491ae2[_0x4177('0xc')]);if(!_0x2d061c)continue;const _0x32a16e=Array[_0x4177('0x1')](_0x2d061c)[_0x4177('0x6')](_0x48c533=>_0x3fa5e0[_0x4177('0x3')](_0x48c533))[_0x4177('0x8')](_0x437103=>!!_0x437103);_0x476755['push'](..._0x32a16e);}if(0x0===_0x476755['length'])return null;const _0x3e12ef=[];for(const _0x2f1448 of _0x476755){const _0x4dc2fb=_0x2f1448['getClientRects']()[_0x4177('0x5')](0x0);_0x4dc2fb&&_0x3e12ef['push']({'x':_0x4dc2fb['x'],'y':_0x4dc2fb['y'],'domElement':_0x2f1448});}return 0x0===_0x3e12ef[_0x4177('0x9')]?null:(_0x3e12ef[_0x4177('0xb')]((_0xb1c381,_0x57c3e7)=>_0xb1c381['y']-_0x57c3e7['y']||_0xb1c381['x']-_0x57c3e7['x']),_0x3e12ef['map'](_0x49e0b9=>_0x49e0b9['domElement']));}
|
package/src/utils/hashobject.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x36da=['boolean','object','keys','toString','charCodeAt','sign','string'];(function(_0x4cc31a,_0x36da94){const _0x274a1e=function(_0x51c6af){while(--_0x51c6af){_0x4cc31a['push'](_0x4cc31a['shift']());}};_0x274a1e(++_0x36da94);}(_0x36da,0x1a6));const _0x274a=function(_0x4cc31a,_0x36da94){_0x4cc31a=_0x4cc31a-0x0;let _0x274a1e=_0x36da[_0x4cc31a];return _0x274a1e;};export default function b(_0x3afe89){let _0xd2854=0x0,_0x2c62c3=0x0;for(const _0x71f7d1 of g(_0x3afe89))_0xd2854=(_0xd2854<<0x5)-_0xd2854+_0x71f7d1,_0xd2854&=_0xd2854,[_0xd2854,_0x2c62c3]=[_0x2c62c3,_0xd2854];return O(_0xd2854)+O(_0x2c62c3);}function*j(_0x424408){_0x424408?_0x274a('0x5')==typeof _0x424408?yield 0x1:Array['isArray'](_0x424408)?yield*function*(_0x599cce){for(const _0x518808 of _0x599cce)yield*j(_0x518808);}(_0x424408):_0x274a('0x6')==typeof _0x424408?yield*g(_0x424408):_0x274a('0x4')==typeof _0x424408?yield*A(_0x424408):'number'==typeof _0x424408&&(yield _0x424408):yield 0x0;}function*g(_0x5d2876){if(yield M('{'),_0x5d2876){const _0x911a5c=Object[_0x274a('0x0')](_0x5d2876)['sort']();for(const _0x43b8e4 of _0x911a5c){yield*A(_0x43b8e4),yield M(':');const _0x46827f=_0x5d2876[_0x43b8e4];yield*j(_0x46827f);}}yield M('}');}function*A(_0x523af3){yield M('\x22');for(const _0x12f90c of _0x523af3)yield M(_0x12f90c);yield M('\x22');}function M(_0x4bf549){return _0x4bf549[_0x274a('0x2')](0x0);}function O(_0x3cd833){return(_0x3cd833*=Math[_0x274a('0x3')](_0x3cd833))[_0x274a('0x1')](0x24);}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x3b0e=['filter','DocumentOutline','get','requires','set','has','WebSocketGateway','extraPlugins','length','constructor','rootsAttributes','toolbar','names','context','WProofreader','string','find','every','plugins','concat','includes','WordCount','removePlugins','config','pluginName','initialData'];(function(_0x59c1b1,_0x3b0e57){const _0x334383=function(_0x5337a7){while(--_0x5337a7){_0x59c1b1['push'](_0x59c1b1['shift']());}};_0x334383(++_0x3b0e57);}(_0x3b0e,0x1dd));const _0x3343=function(_0x59c1b1,_0x3b0e57){_0x59c1b1=_0x59c1b1-0x0;let _0x334383=_0x3b0e[_0x59c1b1];return _0x334383;};const w=[_0x3343('0x10'),_0x3343('0x4'),_0x3343('0x2'),_0x3343('0x1')],W=[_0x3343('0x17'),'RevisionTracker','Autosave',_0x3343('0xc'),_0x3343('0x12'),_0x3343('0x5')];function v(_0x590e32,_0x529940,_0x3c8a2f,_0x30e9f0=[]){const _0x541453=_0x3343('0x6')==typeof _0x590e32?_0x3c8a2f[_0x3343('0x13')](_0x590e32)[_0x3343('0x0')]:_0x590e32,_0x17e606=_0x541453[_0x3343('0xf')]||_0x541453['name'];if(_0x529940[_0x3343('0x16')](_0x17e606))return _0x529940[_0x3343('0x13')](_0x17e606);if(_0x529940[_0x3343('0x15')](_0x17e606,!0x0),_0x17e606&&W[_0x3343('0xa')](_0x30e9f0)[_0x3343('0xb')](_0x17e606))return _0x529940[_0x3343('0x15')](_0x17e606,!0x1),!0x1;if(!_0x541453[_0x3343('0x14')])return _0x529940[_0x3343('0x15')](_0x17e606,!0x0),!0x0;const _0x18fcf5=_0x541453['requires'][_0x3343('0x8')](_0xffed6f=>v(_0xffed6f,_0x529940,_0x3c8a2f,_0x30e9f0));return _0x529940['set'](_0x17e606,_0x18fcf5),_0x18fcf5;}export default function D(_0x4e6732,_0x1aed28){const _0x2d78a9={};for(const _0x475f51 of _0x4e6732['config'][_0x3343('0x3')]())w[_0x3343('0xb')](_0x475f51)||(_0x2d78a9[_0x475f51]=_0x4e6732[_0x3343('0xe')]['get'](_0x475f51));const _0x4ed7a4=_0x2d78a9[_0x3343('0x9')]||[],_0x397934=_0x4e6732[_0x3343('0x0')]['builtinPlugins']||[],_0x27d33b=_0x4ed7a4[_0x3343('0x19')]?_0x4ed7a4:_0x397934,_0x5ec248=_0x2d78a9[_0x3343('0x18')]||[];delete _0x2d78a9[_0x3343('0x18')];const _0x4f397f=_0x2d78a9[_0x3343('0xd')]||[];delete _0x2d78a9[_0x3343('0xd')];const _0x5e6484=_0x4e6732['_context'][_0x3343('0xe')][_0x3343('0x13')](_0x3343('0x9'))||[],_0x133b6f=_0x27d33b['concat'](_0x5ec248)[_0x3343('0xa')](_0x5e6484)['map'](_0x4cc82e=>'string'==typeof _0x4cc82e?_0x397934[_0x3343('0x7')](_0x45d43b=>_0x45d43b['pluginName']==_0x4cc82e):_0x4cc82e)['filter'](_0x80b2fb=>!_0x4f397f[_0x3343('0xb')](_0x80b2fb)&&!_0x4f397f['includes'](_0x80b2fb[_0x3343('0xf')])),_0x76dc31=Array['from'](new Set(_0x133b6f)),_0x2c4252=new Map();return _0x2d78a9['plugins']=_0x76dc31[_0x3343('0x11')](_0x186792=>v(_0x186792,_0x2c4252,_0x4e6732[_0x3343('0x9')],_0x1aed28)),_0x2d78a9;}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* @license Copyright (c) 2003-2023, 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
|
+
* @module collaboration-core/utils/surroundingmarkersdetector
|
7
|
+
*/
|
8
|
+
import type { Marker, Model } from 'ckeditor5/src/engine';
|
9
|
+
/**
|
10
|
+
* A utility that responds to range changes in the document selection and detects which markers' ranges
|
11
|
+
* touch or contain (surround) the document selection's focus.
|
12
|
+
*/
|
13
|
+
export default function surroundingMarkersDetector(model: Model, onMarkersChange: (changedMarkers: {
|
14
|
+
left: Array<Marker>;
|
15
|
+
entered: Array<Marker>;
|
16
|
+
}) => void): void;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. 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 _0x30a4=['containsPosition','push','end','getRange','isEqual','change:range','includes','markers','length','focus','document','selection'];(function(_0x25e302,_0x30a47a){const _0x564172=function(_0x23ba1b){while(--_0x23ba1b){_0x25e302['push'](_0x25e302['shift']());}};_0x564172(++_0x30a47a);}(_0x30a4,0x103));const _0x5641=function(_0x25e302,_0x30a47a){_0x25e302=_0x25e302-0x0;let _0x564172=_0x30a4[_0x25e302];return _0x564172;};export default function q(_0x327a59,_0x4a80d4){const _0x42e373=[];_0x327a59[_0x5641('0x3')][_0x5641('0x4')]['on'](_0x5641('0xa'),()=>{const _0x24b494=function(_0x1a22f5,_0x538cac){const _0x12b591=[];for(const _0x43a346 of _0x1a22f5[_0x5641('0x0')]){const _0x24886c=_0x43a346[_0x5641('0x8')]();(_0x24886c[_0x5641('0x5')](_0x538cac)||_0x24886c['start'][_0x5641('0x9')](_0x538cac)||_0x24886c[_0x5641('0x7')]['isEqual'](_0x538cac))&&_0x12b591[_0x5641('0x6')](_0x43a346);}return _0x12b591;}(_0x327a59,_0x327a59[_0x5641('0x3')][_0x5641('0x4')][_0x5641('0x2')]),_0x336c07=[],_0x254e8e=[],_0x53da59=[];for(const _0x4f705c of _0x42e373)_0x24b494[_0x5641('0xb')](_0x4f705c)||_0x336c07[_0x5641('0x6')](_0x4f705c);for(const _0x2b96c3 of _0x24b494)_0x42e373['includes'](_0x2b96c3)||_0x254e8e[_0x5641('0x6')](_0x2b96c3),_0x53da59['push'](_0x2b96c3);(_0x336c07[_0x5641('0x1')]||_0x254e8e[_0x5641('0x1')])&&_0x4a80d4({'left':_0x336c07,'entered':_0x254e8e}),_0x42e373[_0x5641('0x1')]=0x0,_0x42e373[_0x5641('0x6')](..._0x53da59);});}
|
package/src/utils/trim-html.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x4743=['indexOf','slice','push','join','...','split','replace','substring','match','startsWith','length','pop'];(function(_0x447c2f,_0x4743ba){const _0x27c7a0=function(_0x3ca80f){while(--_0x3ca80f){_0x447c2f['push'](_0x447c2f['shift']());}};_0x27c7a0(++_0x4743ba);}(_0x4743,0x183));const _0x27c7=function(_0x447c2f,_0x4743ba){_0x447c2f=_0x447c2f-0x0;let _0x27c7a0=_0x4743[_0x447c2f];return _0x27c7a0;};export default function z(_0x2c05c3,{limit:_0x336952,suffix:_0xd4d38e=_0x27c7('0x1')}){const _0x3bb196=[];let _0x22bab8=0x0;const _0x42e8bb=_0x2c05c3[_0x27c7('0x3')](/</g,'\x0a<')[_0x27c7('0x3')](/>/g,'>\x0a')[_0x27c7('0x3')](/^\n/g,'')['replace'](/\n$/g,'')[_0x27c7('0x2')]('\x0a');for(let _0x200b1c=0x0;_0x200b1c<_0x42e8bb[_0x27c7('0x7')];_0x200b1c++){let _0x584e16=_0x42e8bb[_0x200b1c];const _0x5b3ab1=Z(_0x584e16);if(_0x584e16[_0x27c7('0x6')]('<')){if(_0x22bab8>=_0x336952){const _0x52bd32=_0x584e16[_0x27c7('0x5')](/[a-zA-Z]+/);if(!_0x52bd32){_0x42e8bb[_0x200b1c]='';continue;}const _0x1ed9f6=_0x52bd32[0x0];_0x584e16[_0x27c7('0x6')]('</')?(_0x3bb196[_0x27c7('0x7')]&&(_0x584e16=''),_0x3bb196[_0x27c7('0x8')]()):(_0x3bb196[_0x27c7('0xb')](_0x1ed9f6),_0x584e16='');}}else{if(_0x22bab8>=_0x336952)_0x584e16='';else{if(_0x22bab8+_0x5b3ab1['length']>=_0x336952){let _0x24afb1=_0x336952-_0x22bab8;if('\x20'===_0x5b3ab1[_0x24afb1-0x1])_0x24afb1--;else{const _0x150b43=_0x5b3ab1[_0x27c7('0xa')](_0x24afb1)[_0x27c7('0x9')]('\x20');-0x1!==_0x150b43?_0x24afb1+=_0x150b43:_0x24afb1=_0x584e16[_0x27c7('0x7')];}_0x584e16=_0x5b3ab1[_0x27c7('0xa')](0x0,_0x24afb1)[_0x27c7('0x0')]('')+_0xd4d38e,_0x22bab8=_0x336952;}else _0x22bab8+=_0x5b3ab1[_0x27c7('0x7')];}}_0x42e8bb[_0x200b1c]=_0x584e16;}return _0x42e8bb[_0x27c7('0x0')]('\x0a')[_0x27c7('0x3')](/\n/g,'');}function Z(_0xde7f7){const _0x1d71e7=[];for(let _0x2f8365=0x0;_0x2f8365<_0xde7f7[_0x27c7('0x7')];_0x2f8365++){const _0x5289eb=_0xde7f7[_0x27c7('0x4')](_0x2f8365)[_0x27c7('0x5')](/^&[a-z0-9#]+;/);if(_0x5289eb){const _0x5a9ff9=_0x5289eb[0x0];_0x1d71e7[_0x27c7('0xb')](_0x5a9ff9),_0x2f8365+=_0x5a9ff9[_0x27c7('0x7')]-0x1;}else _0x1d71e7['push'](_0xde7f7[_0x2f8365]);}return _0x1d71e7;}
|
@@ -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-
|
7
|
+
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
8
8
|
|
9
9
|
!-->
|
10
10
|
|
@@ -1,3 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
5
|
+
*
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
|
1
10
|
.ck-content pre > code.ck-suggestion-marker-formatBlock {
|
2
11
|
display: block;
|
3
12
|
box-shadow: -7px 0 0 0 hsl(0deg 0% 93%), -10px 0 0 0 var(--ck-color-suggestion-marker-format-border);
|
@@ -1,3 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
5
|
+
*
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
|
1
10
|
.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line {
|
2
11
|
background-color: var(--ck-color-suggestion-widget-deletion-background);
|
3
12
|
|
@@ -1,3 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
5
|
+
*
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
|
1
10
|
.ck-content .ck-widget.image > figcaption {
|
2
11
|
&.ck-suggestion-marker-deletion {
|
3
12
|
background-color: var(--ck-color-suggestion-widget-deletion-background);
|
@@ -1,3 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
5
|
+
*
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
|
1
10
|
.ck-content .ck-suggestion-marker-deletion.ck-widget.media {
|
2
11
|
background-color: var(--ck-color-suggestion-widget-deletion-background);
|
3
12
|
|
@@ -1,3 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
5
|
+
*
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
|
1
10
|
.ck-content .ck-suggestion-marker-deletion.ck-widget.page-break {
|
2
11
|
background-color: var(--ck-color-suggestion-widget-deletion-background);
|
3
12
|
|
@@ -1,3 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
5
|
+
*
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
|
1
10
|
:root {
|
2
11
|
--ck-color-suggestion-widget-th-insertion-background: hsla(128, 71%, 65%, .12);
|
3
12
|
--ck-color-suggestion-widget-th-insertion-background-active: hsla(128, 71%, 50%, .14);
|
package/theme/suggestion.css
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
5
|
+
*
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
|
1
10
|
:root {
|
2
11
|
--ck-color-comment-box-border: hsl(55, 98%, 48%);
|
3
12
|
--ck-color-suggestion-box-deletion-border: hsl(345, 62%, 60%);
|
@@ -3,7 +3,8 @@
|
|
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-
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
7
8
|
*/
|
8
9
|
|
9
10
|
:root {
|
@@ -18,8 +19,8 @@
|
|
18
19
|
--ck-color-suggestion-marker-deletion-background-active: hsla(345, 71%, 50%, .5);
|
19
20
|
--ck-color-suggestion-marker-deletion-stroke: hsla(345, 71%, 20%, .5);
|
20
21
|
|
21
|
-
--ck-color-suggestion-marker-format-border: hsla(191,
|
22
|
-
--ck-color-suggestion-marker-format-border-active: hsla(191,
|
22
|
+
--ck-color-suggestion-marker-format-border: hsla(191, 60%, 75%, 1);
|
23
|
+
--ck-color-suggestion-marker-format-border-active: hsla(191, 60%, 60%, 1);
|
23
24
|
|
24
25
|
--ck-color-suggestion-widget-insertion-background: hsla(128, 71%, 65%, .05);
|
25
26
|
--ck-color-suggestion-widget-insertion-background-active: hsla(128, 71%, 50%, .07);
|
package/theme/usercolormixin.css
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
5
|
+
*
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
|
1
10
|
@define-mixin userColor $color, $colorAlpha, $number {
|
2
11
|
.ck .ck-user__color--$(number) {
|
3
12
|
color: $color;
|
@@ -27,4 +36,4 @@
|
|
27
36
|
border: 1px solid $color;
|
28
37
|
}
|
29
38
|
}
|
30
|
-
}
|
39
|
+
}
|
package/theme/usercolors.css
CHANGED
@@ -3,7 +3,8 @@
|
|
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-
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
7
8
|
*/
|
8
9
|
|
9
10
|
@import "./usercolormixin.css";
|
package/theme/users.css
CHANGED
@@ -3,7 +3,8 @@
|
|
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-
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
7
8
|
*/
|
8
9
|
|
9
10
|
@import '@ckeditor/ckeditor5-ui/theme/mixins/_unselectable.css';
|