@ckeditor/ckeditor5-track-changes 40.2.0 → 41.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/CHANGELOG.md +5 -5
- package/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/track-changes.js +2 -2
- package/build/translations/es.js +1 -1
- package/build/translations/ro.js +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/es.po +2 -2
- package/lang/translations/et.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/he.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 +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.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/pt.po +1 -1
- package/lang/translations/ro.po +2 -2
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +4 -3
- package/src/augmentation.d.ts +3 -3
- package/src/augmentation.js +1 -1
- package/src/commands/acceptsuggestioncommand.d.ts +3 -3
- package/src/commands/acceptsuggestioncommand.js +2 -2
- package/src/commands/discardsuggestioncommand.d.ts +3 -3
- package/src/commands/discardsuggestioncommand.js +2 -2
- package/src/commands/executeonallsuggestionscommand.d.ts +3 -3
- package/src/commands/executeonallsuggestionscommand.js +2 -2
- package/src/commands/executeonselectedsuggestionscommand.d.ts +3 -3
- package/src/commands/executeonselectedsuggestionscommand.js +2 -2
- package/src/commands/trackchangescommand.d.ts +2 -2
- package/src/commands/trackchangescommand.js +2 -2
- package/src/index.d.ts +13 -13
- package/src/index.js +2 -2
- package/src/integrations/aiassistant.d.ts +2 -2
- package/src/integrations/aiassistant.js +2 -2
- package/src/integrations/alignment.d.ts +2 -2
- package/src/integrations/alignment.js +2 -2
- package/src/integrations/basicstyles.d.ts +2 -2
- package/src/integrations/basicstyles.js +2 -2
- package/src/integrations/blockquote.d.ts +2 -2
- package/src/integrations/blockquote.js +2 -2
- package/src/integrations/casechange.d.ts +17 -0
- package/src/integrations/casechange.js +23 -0
- package/src/integrations/ckbox.d.ts +2 -2
- package/src/integrations/ckbox.js +2 -2
- package/src/integrations/codeblock.d.ts +2 -2
- package/src/integrations/codeblock.js +2 -2
- package/src/integrations/comments.d.ts +2 -2
- package/src/integrations/comments.js +2 -2
- package/src/integrations/deletecommand.d.ts +3 -3
- package/src/integrations/deletecommand.js +2 -2
- package/src/integrations/entercommand.d.ts +3 -3
- package/src/integrations/entercommand.js +2 -2
- package/src/integrations/findandreplace.d.ts +2 -2
- package/src/integrations/findandreplace.js +2 -2
- package/src/integrations/font.d.ts +2 -2
- package/src/integrations/font.js +2 -2
- package/src/integrations/formatpainter.d.ts +2 -2
- package/src/integrations/formatpainter.js +2 -2
- package/src/integrations/heading.d.ts +2 -2
- package/src/integrations/heading.js +2 -2
- package/src/integrations/highlight.d.ts +2 -2
- package/src/integrations/highlight.js +2 -2
- package/src/integrations/horizontalline.d.ts +2 -2
- package/src/integrations/horizontalline.js +2 -2
- package/src/integrations/htmlembed.d.ts +2 -2
- package/src/integrations/htmlembed.js +2 -2
- package/src/integrations/image.d.ts +2 -2
- package/src/integrations/image.js +2 -2
- package/src/integrations/imagereplace.d.ts +2 -2
- package/src/integrations/imagereplace.js +2 -2
- package/src/integrations/imagestyle.d.ts +2 -2
- package/src/integrations/imagestyle.js +2 -2
- package/src/integrations/importword.d.ts +2 -2
- package/src/integrations/importword.js +2 -2
- package/src/integrations/indent.d.ts +2 -2
- package/src/integrations/indent.js +2 -2
- package/src/integrations/inputcommand.d.ts +3 -3
- package/src/integrations/inputcommand.js +2 -2
- package/src/integrations/legacylist.d.ts +17 -0
- package/src/integrations/legacylist.js +23 -0
- package/src/integrations/{documentlistproperties.d.ts → legacylistproperties.d.ts} +7 -7
- package/src/integrations/legacylistproperties.js +23 -0
- package/src/integrations/link.d.ts +2 -2
- package/src/integrations/link.js +2 -2
- package/src/integrations/list.d.ts +6 -6
- package/src/integrations/list.js +2 -2
- package/src/integrations/listproperties.d.ts +6 -15
- package/src/integrations/listproperties.js +2 -2
- package/src/integrations/mediaembed.d.ts +2 -2
- package/src/integrations/mediaembed.js +2 -2
- package/src/integrations/mention.d.ts +2 -2
- package/src/integrations/mention.js +2 -2
- package/src/integrations/pagebreak.d.ts +2 -2
- package/src/integrations/pagebreak.js +2 -2
- package/src/integrations/paragraph.d.ts +2 -2
- package/src/integrations/paragraph.js +2 -2
- package/src/integrations/removeformat.d.ts +2 -2
- package/src/integrations/removeformat.js +2 -2
- package/src/integrations/restrictededitingmode.d.ts +2 -2
- package/src/integrations/restrictededitingmode.js +2 -2
- package/src/integrations/shiftentercommand.d.ts +3 -3
- package/src/integrations/shiftentercommand.js +2 -2
- package/src/integrations/standardeditingmode.d.ts +2 -2
- package/src/integrations/standardeditingmode.js +2 -2
- package/src/integrations/style.d.ts +2 -2
- package/src/integrations/style.js +2 -2
- package/src/integrations/table.d.ts +2 -2
- package/src/integrations/table.js +2 -2
- package/src/integrations/tablecaption.d.ts +3 -3
- package/src/integrations/tablecaption.js +2 -2
- package/src/integrations/tableclipboard.d.ts +3 -3
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.d.ts +5 -5
- package/src/integrations/tablecolumnresize.js +2 -2
- package/src/integrations/tableheadings.d.ts +3 -3
- package/src/integrations/tableheadings.js +2 -2
- package/src/integrations/tablemergesplit.d.ts +3 -3
- package/src/integrations/tablemergesplit.js +2 -2
- package/src/integrations/tableofcontents.d.ts +2 -2
- package/src/integrations/tableofcontents.js +2 -2
- package/src/integrations/tableproperties.d.ts +5 -5
- package/src/integrations/tableproperties.js +2 -2
- package/src/integrations/template.d.ts +2 -2
- package/src/integrations/template.js +2 -2
- package/src/integrations/title.d.ts +2 -2
- package/src/integrations/title.js +2 -2
- package/src/integrations/undo.d.ts +2 -2
- package/src/integrations/undo.js +2 -2
- package/src/integrations/utils.d.ts +4 -4
- package/src/integrations/utils.js +2 -2
- package/src/suggestion.d.ts +6 -6
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.d.ts +4 -4
- package/src/suggestiondescriptionfactory.js +2 -2
- package/src/trackchanges.d.ts +6 -6
- package/src/trackchanges.js +2 -2
- package/src/trackchangesconfig.d.ts +2 -2
- package/src/trackchangesconfig.js +1 -1
- package/src/trackchangesdata.d.ts +3 -3
- package/src/trackchangesdata.js +2 -2
- package/src/trackchangesediting.d.ts +56 -55
- package/src/trackchangesediting.js +2 -2
- package/src/trackchangesui.d.ts +4 -4
- package/src/trackchangesui.js +2 -2
- package/src/ui/suggestioncontroller.d.ts +6 -6
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.d.ts +7 -7
- package/src/ui/view/basesuggestionthreadview.js +2 -2
- package/src/ui/view/suggestionthreadview.d.ts +6 -6
- package/src/ui/view/suggestionthreadview.js +2 -2
- package/src/utils/common-translations.d.ts +2 -2
- package/src/utils/common-translations.js +2 -2
- package/src/utils/utils.d.ts +5 -5
- package/src/utils/utils.js +2 -2
- package/theme/icons/track-changes-accept.svg +1 -1
- package/theme/icons/track-changes-discard.svg +1 -1
- package/theme/icons/track-changes.svg +1 -1
- package/src/integrations/documentlist.d.ts +0 -17
- package/src/integrations/documentlist.js +0 -23
- package/src/integrations/documentlistproperties.js +0 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, 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 _0x3824=['toUpperCase','filter','FORMAT_LIST_REVERSED','newValue','styles','_LIST_','document','_descriptionFactory','model','find','lower-roman','_getAttributeKey','getFirstMarker','head','locale','listStart','key','replace','getAttribute','numbered','plugins','batch','startIndex','suggestion','format','start','getFirstRange','bind','*Remove\x20format:*\x20%0','registerPostFixer','decimal-leading-zero','FORMAT_LIST_START','disc','type','data','ListPropertiesEditing','oldValue','has','get','_findSuggestions','list.properties','listReversed','square','handleDescriptions','next','ELEMENT_','config','*Format:*\x20set\x20order\x20to\x20regular','reversed','lower-latin','*Format:*\x20set\x20start\x20index\x20to\x20%0','registerAttributeLabel','decimal','registerDescriptionCallback','editor','nodeAfter','includes','afterInit','bulleted','_enableDefaultAttributesIntegration','*Set\x20format:*\x20%0','TrackChangesEditing','removeMarker','*Format:*\x20set\x20order\x20to\x20reversed','attribute','default','commandParams','_getTranslationKeyForListStyle','getSuggestions','listType','commandName','listStyle'];(function(_0x404e1d,_0x3824e2){const _0x568f5a=function(_0x107249){while(--_0x107249){_0x404e1d['push'](_0x404e1d['shift']());}};_0x568f5a(++_0x3824e2);}(_0x3824,0x172));const _0x568f=function(_0x404e1d,_0x3824e2){_0x404e1d=_0x404e1d-0x0;let _0x568f5a=_0x3824[_0x404e1d];return _0x568f5a;};import{Plugin as _0x1e0888}from'ckeditor5/src/core.js';import{getTranslation as _0x2b2beb}from'../utils/common-translations.js';export default class se extends _0x1e0888{[_0x568f('0x2f')](){if(!this[_0x568f('0x2c')][_0x568f('0xa')][_0x568f('0x1b')](_0x568f('0x19')))return;const _0x586c7e=this[_0x568f('0x2c')][_0x568f('0x24')][_0x568f('0x1c')](_0x568f('0x1e')),_0x1bcfe0=this[_0x568f('0x2c')][_0x568f('0xa')][_0x568f('0x1c')]('TrackChangesEditing');_0x586c7e[_0x568f('0x42')]&&_0x1bcfe0['_enableDefaultAttributesIntegration'](_0x568f('0x3d'),[],[_0x568f('0x3d')]),_0x586c7e[_0x568f('0x26')]&&_0x1bcfe0[_0x568f('0x31')]('listReversed',[],[_0x568f('0x1f')]),_0x586c7e[_0x568f('0xc')]&&_0x1bcfe0['_enableDefaultAttributesIntegration']('listStart',[],[_0x568f('0x5')]);const _0xc3ed28={'type':'format','content':''};_0x1bcfe0[_0x568f('0x45')][_0x568f('0x2b')](this[_0x568f('0x21')][_0x568f('0x11')](this));const _0x29bec1=this[_0x568f('0x2c')]['locale'];_0x1bcfe0[_0x568f('0x45')]['registerAttributeLabel']('listReversed',_0x2b2beb(_0x29bec1,_0x568f('0x40'))),_0x1bcfe0['_descriptionFactory'][_0x568f('0x2b')](_0x30d0ec=>{const {data:_0x1b09e5}=_0x30d0ec;if(_0x1b09e5&&_0x568f('0x1f')==_0x1b09e5['key'])return null==_0x1b09e5[_0x568f('0x41')]||0x0==_0x1b09e5[_0x568f('0x41')]&&null==_0x1b09e5[_0x568f('0x1a')]?_0xc3ed28:void 0x0;}),_0x1bcfe0['_descriptionFactory'][_0x568f('0x29')](_0x568f('0x5'),_0x2b2beb(_0x29bec1,_0x568f('0x15'))),_0x1bcfe0[_0x568f('0x45')][_0x568f('0x2b')](_0x431019=>{const {data:_0x5887d5}=_0x431019;if(_0x5887d5&&_0x568f('0x5')==_0x5887d5[_0x568f('0x6')])return null==_0x5887d5[_0x568f('0x41')]||0x1==_0x5887d5[_0x568f('0x41')]&&null==_0x5887d5['oldValue']?_0xc3ed28:void 0x0;}),this[_0x568f('0x2c')][_0x568f('0x46')][_0x568f('0x44')][_0x568f('0x13')](_0x4720b3=>{if(_0x4720b3[_0x568f('0xb')]['isUndo'])return!0x1;let _0x248534=!0x1;const _0x544761=_0x1bcfe0[_0x568f('0x3a')]({'skipNotAttached':!0x0})[_0x568f('0x3f')](_0x314edd=>{const _0x1b772e=_0x1bcfe0[_0x568f('0x1')](_0x314edd);return'listStart'==_0x1b772e||_0x568f('0x1f')==_0x1b772e;});for(const _0x12cf1a of _0x544761){if(_0x568f('0x9')==_0x12cf1a['getFirstRange']()[_0x568f('0xf')][_0x568f('0x2d')][_0x568f('0x8')](_0x568f('0x3b')))continue;_0x1bcfe0[_0x568f('0x1d')](_0x12cf1a[_0x568f('0x10')](),_0x568f('0x36'))[_0x568f('0x47')](_0x53b61f=>_0x568f('0x3b')==_0x1bcfe0[_0x568f('0x1')](_0x53b61f[_0x568f('0xd')]))||(_0x4720b3[_0x568f('0x34')](_0x12cf1a[_0x568f('0x2')]()),_0x248534=!0x0);}return _0x248534;}),this['_registerLegacyDescription']();}[_0x568f('0x21')](_0x5632da){const _0x468c8a=this[_0x568f('0x2c')]['locale'],{data:_0x31f31e}=_0x5632da,_0x3084e9={'type':_0x568f('0xe'),'content':''};if(!_0x31f31e||_0x568f('0x3d')!=_0x31f31e[_0x568f('0x6')])return;if(!_0x31f31e[_0x568f('0x1a')])return'default'==_0x31f31e['newValue']?_0x3084e9:{'type':'format','content':''+_0x2b2beb(_0x468c8a,_0x568f('0x32'),_0x2b2beb(_0x468c8a,this['_getTranslationKeyForListStyle'](_0x31f31e[_0x568f('0x41')])))};if(!_0x31f31e[_0x568f('0x41')]){if(_0x568f('0x37')==_0x31f31e[_0x568f('0x1a')])return _0x3084e9;let _0x2fe91b=_0x5632da[_0x568f('0x3')];for(;_0x2fe91b;){if(_0x2fe91b[_0x568f('0x18')]&&'listType'==_0x2fe91b[_0x568f('0x18')][_0x568f('0x6')]&&_0x2fe91b['data']['newValue'])return _0x3084e9;_0x2fe91b=_0x2fe91b[_0x568f('0x22')];}return{'type':'format','content':''+_0x2b2beb(_0x468c8a,_0x568f('0x12'),_0x2b2beb(_0x468c8a,this[_0x568f('0x39')](_0x31f31e[_0x568f('0x1a')])))};}if(_0x568f('0x37')!=_0x31f31e[_0x568f('0x41')])return{'type':_0x568f('0xe'),'content':''+_0x2b2beb(_0x468c8a,_0x568f('0x32'),_0x2b2beb(_0x468c8a,this[_0x568f('0x39')](_0x31f31e['newValue'])))};let _0x2a349d=_0x5632da[_0x568f('0x3')];for(;_0x2a349d;){if(_0x2a349d[_0x568f('0x18')]&&'listType'==_0x2a349d[_0x568f('0x18')][_0x568f('0x6')]&&_0x2a349d['data'][_0x568f('0x41')]&&_0x2a349d[_0x568f('0x18')][_0x568f('0x1a')])return _0x3084e9;_0x2a349d=_0x2a349d[_0x568f('0x22')];}const _0x55954e=_0x5632da[_0x568f('0x10')]()['start'][_0x568f('0x2d')][_0x568f('0x8')]('listType');return{'type':_0x568f('0xe'),'content':_0x2b2beb(_0x468c8a,'*Set\x20format:*\x20%0',_0x2b2beb(_0x468c8a,_0x568f('0x23')+_0x55954e[_0x568f('0x3e')]()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0xfb7ab6=this[_0x568f('0x2c')],_0x3f9a9a=_0xfb7ab6[_0x568f('0x4')];_0xfb7ab6['plugins'][_0x568f('0x1c')](_0x568f('0x33'))[_0x568f('0x45')][_0x568f('0x2b')](_0x16fb05=>{if('formatBlock'!=_0x16fb05['type'])return;const {data:_0x144fc2}=_0x16fb05;if(!_0x144fc2)return;let _0x58caf8,_0x2b3c14;switch(_0x144fc2[_0x568f('0x3c')]){case _0x568f('0x3d'):_0x58caf8='*Change\x20to:*\x20%0',_0x2b3c14={'type':'format','content':_0x2b2beb(_0x3f9a9a,_0x58caf8,_0x2b2beb(_0x3f9a9a,this['_getTranslationKeyForListStyle'](_0x144fc2['commandParams'][0x0][_0x568f('0x17')])))};break;case _0x568f('0x1f'):_0x58caf8=_0x144fc2[_0x568f('0x38')][0x0][_0x568f('0x26')]?_0x568f('0x35'):_0x568f('0x25'),_0x2b3c14={'type':_0x568f('0xe'),'content':_0x2b2beb(_0x3f9a9a,_0x58caf8)};break;case'listStart':_0x58caf8=_0x568f('0x28'),_0x2b3c14={'type':_0x568f('0xe'),'content':_0x2b2beb(_0x3f9a9a,_0x58caf8,_0x144fc2[_0x568f('0x38')][0x0][_0x568f('0xc')])};}return _0x2b3c14;});}[_0x568f('0x39')](_0xcc8c88){return _0x568f('0x23')+function(_0xfc0955){if(ae[_0x568f('0x2e')](_0xfc0955))return _0x568f('0x30');if(le['includes'](_0xfc0955))return _0x568f('0x9');return null;}(_0xcc8c88)[_0x568f('0x3e')]()+_0x568f('0x43')+_0xcc8c88[_0x568f('0x3e')]()[_0x568f('0x7')](/-/g,'_');}}const ae=[_0x568f('0x16'),'circle',_0x568f('0x20')],le=[_0x568f('0x2a'),_0x568f('0x14'),_0x568f('0x0'),'upper-roman',_0x568f('0x27'),'upper-latin'];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/mediaembed
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, 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 _0x4dff=['has','MediaEmbedEditing','plugins','mediaEmbed','get','createEmptyElement','afterInit','media','data','TrackChangesEditing','_descriptionFactory','high','ELEMENT_MEDIA','editor','showSuggestionHighlights','downcastDispatcher','locale','conversion'];(function(_0x58f4af,_0x4dff3e){const _0x582630=function(_0x27996b){while(--_0x27996b){_0x58f4af['push'](_0x58f4af['shift']());}};_0x582630(++_0x4dff3e);}(_0x4dff,0x1da));const _0x5826=function(_0x58f4af,_0x4dff3e){_0x58f4af=_0x58f4af-0x0;let _0x582630=_0x4dff[_0x58f4af];return _0x582630;};import{Plugin as _0x39655f}from'ckeditor5/src/core.js';import{getTranslation as _0x17b95e}from'../utils/common-translations.js';export default class ft extends _0x39655f{[_0x5826('0x0')](){const _0x2b54bd=this[_0x5826('0x7')];if(!_0x2b54bd[_0x5826('0xe')][_0x5826('0xc')](_0x5826('0xd')))return;const _0xafc829=_0x2b54bd[_0x5826('0xe')][_0x5826('0x10')](_0x5826('0x3')),_0x13cb19=_0x2b54bd[_0x5826('0xa')];_0xafc829['enableCommand'](_0x5826('0xf')),_0xafc829[_0x5826('0x4')]['registerElementLabel'](_0x5826('0x1'),_0x2fe062=>_0x17b95e(_0x13cb19,_0x5826('0x6'),_0x2fe062)),_0x2b54bd[_0x5826('0xb')]['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x1124b7,{writer:_0x589836,options:_0x20177a})=>{if(_0x20177a[_0x5826('0x8')])return _0x589836[_0x5826('0x11')]('div');},'converterPriority':'high'}),_0x2b54bd[_0x5826('0x2')][_0x5826('0x9')]['on']('attribute:url:media',(_0x397067,_0x33d3d4,_0x289774)=>{_0x289774['options'][_0x5826('0x8')]&&_0x397067['stop']();},{'priority':_0x5826('0x5')});}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/mention
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for mention feature.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, 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 _0x1a6a=['get','has','MentionEditing','mention','enableCommand','editor','afterInit'];(function(_0x3b85c9,_0x1a6a72){const _0x31d490=function(_0x5e9fef){while(--_0x5e9fef){_0x3b85c9['push'](_0x3b85c9['shift']());}};_0x31d490(++_0x1a6a72);}(_0x1a6a,0x15e));const _0x31d4=function(_0x3b85c9,_0x1a6a72){_0x3b85c9=_0x3b85c9-0x0;let _0x31d490=_0x1a6a[_0x3b85c9];return _0x31d490;};import{Plugin as _0x57ff1d}from'ckeditor5/src/core.js';export default class gt extends _0x57ff1d{[_0x31d4('0x6')](){const _0xb4257c=this[_0x31d4('0x5')];_0xb4257c['plugins'][_0x31d4('0x1')](_0x31d4('0x2'))&&_0xb4257c['plugins'][_0x31d4('0x0')]('TrackChangesEditing')[_0x31d4('0x4')](_0x31d4('0x3'));}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/pagebreak
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, 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 _0x1b7c=['enableCommand','has','ELEMENT_PAGE_BREAK','afterInit','editor','pageBreak','registerElementLabel','PageBreakEditing','TrackChangesEditing','_descriptionFactory','plugins','get','locale'];(function(_0x39177b,_0x1b7c49){const _0x27fcdf=function(_0xd84bff){while(--_0xd84bff){_0x39177b['push'](_0x39177b['shift']());}};_0x27fcdf(++_0x1b7c49);}(_0x1b7c,0x72));const _0x27fc=function(_0x39177b,_0x1b7c49){_0x39177b=_0x39177b-0x0;let _0x27fcdf=_0x1b7c[_0x39177b];return _0x27fcdf;};import{Plugin as _0x221fc0}from'ckeditor5/src/core.js';import{getTranslation as _0x5ccc1b}from'../utils/common-translations.js';export default class lt extends _0x221fc0{[_0x27fc('0x6')](){const _0x461482=this[_0x27fc('0x7')];if(!_0x461482[_0x27fc('0x0')][_0x27fc('0x4')](_0x27fc('0xa')))return;_0x461482['plugins'][_0x27fc('0x1')](_0x27fc('0xb'))[_0x27fc('0x3')](_0x27fc('0x8'));const _0x5c7810=_0x461482[_0x27fc('0x0')][_0x27fc('0x1')]('TrackChangesEditing'),_0x3c45a4=_0x461482[_0x27fc('0x2')];_0x5c7810[_0x27fc('0xc')][_0x27fc('0x9')](_0x27fc('0x8'),_0x20f3b0=>_0x5ccc1b(_0x3c45a4,_0x27fc('0x5'),_0x20f3b0));}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/paragraph
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for paragraph feature.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, 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 _0x1ba1=['enableCommand','TrackChangesEditing','activeMarkers','commandName','isBlock','formatBlock','registerElementLabel','addClass','end','get','insertParagraph','highest','span','insert','checkChild','_descriptionFactory','registerDescriptionCallback','showSuggestionHighlights','downcastDispatcher','markerRange','format','markerName','*Insert:*\x20%0','data','has','toViewPosition','nodeAfter','type','bindElementToMarker','_registerLegacyDescription','mapper','*Change\x20to:*\x20%0','isTouching','ELEMENT_PARAGRAPH','isLimit','start','model','schema','plugins','editor','$text','_enableDefaultAttributesIntegration','getItemLabel','writer','Paragraph','afterInit','addMarker:suggestion:insertion','ck-suggestion-marker--active','paragraph','includes','editing'];(function(_0x4ec16c,_0x1ba1de){const _0x291850=function(_0x42a6a9){while(--_0x42a6a9){_0x4ec16c['push'](_0x4ec16c['shift']());}};_0x291850(++_0x1ba1de);}(_0x1ba1,0x1af));const _0x2918=function(_0x4ec16c,_0x1ba1de){_0x4ec16c=_0x4ec16c-0x0;let _0x291850=_0x1ba1[_0x4ec16c];return _0x291850;};import{Plugin as _0xd3ebc3}from'ckeditor5/src/core.js';import{getTranslation as _0x2e2bb7}from'../utils/common-translations.js';export default class mt extends _0xd3ebc3{[_0x2918('0x16')](){const _0x1b8154=this['editor'];if(!_0x1b8154['plugins'][_0x2918('0x1')](_0x2918('0x15')))return;const _0x121fe3=_0x1b8154['locale'],_0xd43090=_0x1b8154[_0x2918('0xf')]['get'](_0x2918('0x1d'));_0xd43090[_0x2918('0x2b')][_0x2918('0x22')](_0x2918('0x19'),_0x5802fb=>_0x2e2bb7(_0x121fe3,_0x2918('0xa'),_0x5802fb)),_0xd43090[_0x2918('0x12')](_0x2918('0x19')),_0xd43090[_0x2918('0x1c')](_0x2918('0x26')),_0x1b8154[_0x2918('0x1b')][_0x2918('0x2e')]['on']('addMarker:suggestion:insertion',nr(_0x1b8154),{'priority':_0x2918('0x27')}),_0x1b8154[_0x2918('0x0')][_0x2918('0x2e')]['on'](_0x2918('0x17'),(_0x2bc598,_0x115d77,_0x2f79f4)=>{_0x2f79f4['options'][_0x2918('0x2d')]&&nr(_0x1b8154,{'showActiveMarker':!0x1})(_0x2bc598,_0x115d77,_0x2f79f4);},{'priority':_0x2918('0x27')});const _0x405a3b=_0xd43090[_0x2918('0x2b')];_0x405a3b[_0x2918('0x2c')](_0xa8422a=>{if('insertion'!==_0xa8422a[_0x2918('0x4')])return;const {start:_0x2065d0,end:_0x333fa4}=_0xa8422a['getFirstRange']();if(!_0x2065d0[_0x2918('0x9')](_0x333fa4)||!_0x2065d0[_0x2918('0x3')])return;const _0x98f846=_0x1b8154[_0x2918('0xd')]['schema'],_0x2762e9=_0x2065d0[_0x2918('0x3')];return _0x98f846[_0x2918('0x20')](_0x2762e9)&&!_0x98f846[_0x2918('0xb')](_0x2762e9)&&_0x98f846[_0x2918('0x2a')](_0x2762e9,_0x2918('0x11'))?{'type':'insertion','content':_0x2e2bb7(_0x121fe3,_0x2918('0x32'),_0x405a3b[_0x2918('0x13')](_0x2762e9,0x1))}:void 0x0;}),this[_0x2918('0x6')]();}[_0x2918('0x6')](){const _0x3b0aa1=this[_0x2918('0x10')],_0x4b62c1=_0x3b0aa1['locale'];_0x3b0aa1['plugins']['get'](_0x2918('0x1d'))['_descriptionFactory'][_0x2918('0x2c')](_0x4c8433=>{if(_0x2918('0x21')!=_0x4c8433[_0x2918('0x4')])return;const {data:_0x56ac3d}=_0x4c8433;return _0x56ac3d&&'paragraph'==_0x56ac3d[_0x2918('0x1f')]?{'type':_0x2918('0x30'),'content':_0x2e2bb7(_0x4b62c1,_0x2918('0x8'),_0x2e2bb7(_0x4b62c1,_0x2918('0xa')))}:void 0x0;});}}function nr(_0x559fee,{showActiveMarker:_0x3341d3=!0x0}={}){return(_0x4faf35,_0x5e24e6,_0x32970d)=>{const _0x59d9b0=_0x559fee['plugins'][_0x2918('0x25')](_0x2918('0x1d')),_0x53b736=_0x5e24e6[_0x2918('0x2f')][_0x2918('0xc')],_0x56eeef=_0x5e24e6[_0x2918('0x2f')][_0x2918('0x24')],_0x39b600=_0x559fee[_0x2918('0xd')][_0x2918('0xe')];if(!_0x53b736[_0x2918('0x9')](_0x56eeef)||!_0x53b736[_0x2918('0x3')])return;const _0x55efdc=_0x53b736[_0x2918('0x3')];if(_0x39b600[_0x2918('0x20')](_0x55efdc)&&!_0x39b600[_0x2918('0xb')](_0x55efdc)&&_0x39b600[_0x2918('0x2a')](_0x55efdc,_0x2918('0x11'))){if(!_0x32970d['consumable']['consume'](_0x5e24e6['markerRange'],_0x4faf35['name']))return;const _0x1983f7=_0x32970d[_0x2918('0x14')]['createUIElement'](_0x2918('0x28'),{'class':'ck-suggestion-marker-split'}),_0x30f194=_0x32970d[_0x2918('0x7')][_0x2918('0x2')](_0x56eeef);_0x3341d3&&_0x59d9b0[_0x2918('0x1e')][_0x2918('0x1a')](_0x5e24e6[_0x2918('0x31')])&&_0x32970d[_0x2918('0x14')][_0x2918('0x23')](_0x2918('0x18'),_0x1983f7),_0x32970d[_0x2918('0x14')][_0x2918('0x29')](_0x30f194,_0x1983f7),_0x32970d['mapper'][_0x2918('0x5')](_0x1983f7,_0x5e24e6['markerName']);}};}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/removeformat
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for remove format feature.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, 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 _0x46b5=['plugins','_enableDefaultAttributesIntegration','type','editor','formatBlock','afterInit','formatInline','get','TrackChangesEditing','locale','commandName','has','RemoveFormatEditing','_registerLegacyDescription','removeFormat','_descriptionFactory'];(function(_0x403bb2,_0x46b55b){const _0x27aef1=function(_0x148cdc){while(--_0x148cdc){_0x403bb2['push'](_0x403bb2['shift']());}};_0x27aef1(++_0x46b55b);}(_0x46b5,0x172));const _0x27ae=function(_0x403bb2,_0x46b55b){_0x403bb2=_0x403bb2-0x0;let _0x27aef1=_0x46b5[_0x403bb2];return _0x27aef1;};import{Plugin as _0x3ccf4c}from'ckeditor5/src/core.js';import{getTranslation as _0x4394a2}from'../utils/common-translations.js';export default class dt extends _0x3ccf4c{[_0x27ae('0x3')](){const _0x51a351=this[_0x27ae('0x1')];if(!_0x51a351[_0x27ae('0xe')][_0x27ae('0x9')](_0x27ae('0xa')))return;_0x51a351[_0x27ae('0xe')][_0x27ae('0x5')]('TrackChangesEditing')[_0x27ae('0xf')](_0x27ae('0xc')),this[_0x27ae('0xb')]();}[_0x27ae('0xb')](){const _0x3a74dc=this['editor'];_0x3a74dc['plugins'][_0x27ae('0x5')](_0x27ae('0x6'))[_0x27ae('0xd')]['registerDescriptionCallback'](_0x350ef5=>{if(_0x27ae('0x2')!=_0x350ef5['type']&&_0x27ae('0x4')!=_0x350ef5[_0x27ae('0x0')])return;const {data:_0x2d7b71}=_0x350ef5;return _0x2d7b71&&_0x27ae('0xc')==_0x2d7b71[_0x27ae('0x8')]?{'type':'format','content':_0x4394a2(_0x3a74dc[_0x27ae('0x7')],'*Remove\x20all\x20formatting*')}:void 0x0;});}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/mention
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for restricted editing mode feature from restricted editing package.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, 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 _0x2ac9=['afterInit','plugins','RestrictedEditingModeEditing','acceptSuggestion','discardAllSuggestions','acceptSelectedSuggestions','discardSelectedSuggestions','TrackChangesEditing','discardSuggestion','enableCommand','get','has','goToPreviousRestrictedEditingException','acceptAllSuggestions','trackChanges'];(function(_0x231bf2,_0x2ac90b){const _0x53cce3=function(_0x225975){while(--_0x225975){_0x231bf2['push'](_0x231bf2['shift']());}};_0x53cce3(++_0x2ac90b);}(_0x2ac9,0xf7));const _0x53cc=function(_0x231bf2,_0x2ac90b){_0x231bf2=_0x231bf2-0x0;let _0x53cce3=_0x2ac9[_0x231bf2];return _0x53cce3;};import{Plugin as _0x23c99d}from'ckeditor5/src/core.js';export default class pt extends _0x23c99d{[_0x53cc('0x8')](){const _0x29fb81=this['editor'];if(!_0x29fb81[_0x53cc('0x9')][_0x53cc('0x4')](_0x53cc('0xa')))return;const _0x54ac51=_0x29fb81[_0x53cc('0x9')][_0x53cc('0x3')](_0x53cc('0x0'));_0x54ac51['enableCommand'](_0x53cc('0x5')),_0x54ac51[_0x53cc('0x2')]('goToNextRestrictedEditingException');const _0x42b131=_0x29fb81[_0x53cc('0x9')][_0x53cc('0x3')](_0x53cc('0xa'));_0x42b131[_0x53cc('0x2')](_0x53cc('0x7')),_0x42b131[_0x53cc('0x2')](_0x53cc('0xb')),_0x42b131[_0x53cc('0x2')](_0x53cc('0x1')),_0x42b131[_0x53cc('0x2')](_0x53cc('0x6')),_0x42b131[_0x53cc('0x2')](_0x53cc('0xc')),_0x42b131[_0x53cc('0x2')](_0x53cc('0xd')),_0x42b131[_0x53cc('0x2')](_0x53cc('0xe'));}}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/shiftentercommand
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { ShiftEnter } from 'ckeditor5/src/enter';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { ShiftEnter } from 'ckeditor5/src/enter.js';
|
|
10
10
|
/**
|
|
11
11
|
* Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
|
|
12
12
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, 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 _0x10fc=['includes','addClass','registerElementLabel','addMarker:suggestion','writer','ck-suggestion-marker-','model','element','showSuggestionHighlights','softBreak','TrackChangesEditing','requires','editing','downcastDispatcher','markerRange','addMarker:suggestion:deletion','ELEMENT_LINE_BREAK','createUIElement','merge','name','consumable','high','test','init','plugins','span','activeMarkers','get','editor','insert','addMarker:suggestion:insertion','data','markerName','options','bindElementToMarker','shiftEnter','split','deletion'];(function(_0x1ff054,_0x10fc28){const _0x47ec89=function(_0x170881){while(--_0x170881){_0x1ff054['push'](_0x1ff054['shift']());}};_0x47ec89(++_0x10fc28);}(_0x10fc,0xea));const _0x47ec=function(_0x1ff054,_0x10fc28){_0x1ff054=_0x1ff054-0x0;let _0x47ec89=_0x10fc[_0x1ff054];return _0x47ec89;};import{Plugin as _0x55acd4}from'ckeditor5/src/core.js';import{ShiftEnter as _0x49e43f}from'ckeditor5/src/enter.js';import{getTranslation as _0xf3e8db}from'../utils/common-translations.js';export default class kt extends _0x55acd4{static get[_0x47ec('0x5')](){return[_0x49e43f];}[_0x47ec('0x11')](){const _0x4943a4=this[_0x47ec('0x16')],_0x39bc7f=_0x4943a4['plugins'][_0x47ec('0x15')]('TrackChangesEditing');_0x39bc7f['enableCommand'](_0x47ec('0x1d')),_0x4943a4[_0x47ec('0x6')][_0x47ec('0x7')]['on'](_0x47ec('0x18'),re(_0x4943a4),{'priority':'high'}),_0x4943a4[_0x47ec('0x6')][_0x47ec('0x7')]['on'](_0x47ec('0x9'),re(_0x4943a4),{'priority':_0x47ec('0xf')}),_0x4943a4[_0x47ec('0x19')][_0x47ec('0x7')]['on'](_0x47ec('0x23'),(_0xaf0bb4,_0x438248,_0x4f0583)=>{_0x4f0583[_0x47ec('0x1b')][_0x47ec('0x2')]&&re(_0x4943a4,{'showActiveMarker':!0x1})(_0xaf0bb4,_0x438248,_0x4f0583);}),_0x39bc7f['_descriptionFactory'][_0x47ec('0x22')](_0x47ec('0x3'),_0x10a1ff=>_0xf3e8db(_0x4943a4['locale'],_0x47ec('0xa'),_0x10a1ff));}}function re(_0x45fb26,{showActiveMarker:_0xfea5ee=!0x0}={}){return(_0x5583dd,_0x330e07,_0x5891ba)=>{const _0x184d17=_0x45fb26[_0x47ec('0x12')]['get'](_0x47ec('0x4'));if(!_0x5891ba[_0x47ec('0xe')][_0x47ec('0x10')](_0x330e07[_0x47ec('0x8')],_0x5583dd[_0x47ec('0xd')]))return;const _0x1cdd6f=_0x45fb26[_0x47ec('0x0')];for(const _0x107c3a of _0x330e07['markerRange']['getItems']()){if(!_0x107c3a['is'](_0x47ec('0x1'),'softBreak'))continue;const _0x3f5490=_0x47ec('0x1f')==_0x330e07[_0x47ec('0x1a')][_0x47ec('0x1e')](':')[0x1]?_0x47ec('0xc'):'split',_0x1f01b0=_0x5891ba[_0x47ec('0x24')][_0x47ec('0xb')](_0x47ec('0x13'),{'class':_0x47ec('0x25')+_0x3f5490}),_0x13dc9c=_0x5891ba['mapper']['toViewPosition'](_0x1cdd6f['createPositionBefore'](_0x107c3a));_0xfea5ee&&_0x184d17[_0x47ec('0x14')][_0x47ec('0x20')](_0x330e07[_0x47ec('0x1a')])&&_0x5891ba['writer'][_0x47ec('0x21')]('ck-suggestion-marker--active',_0x1f01b0),_0x5891ba[_0x47ec('0x24')][_0x47ec('0x17')](_0x13dc9c,_0x1f01b0),_0x5891ba['mapper'][_0x47ec('0x1c')](_0x1f01b0,_0x330e07[_0x47ec('0x1a')]);}};}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/mention
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for standard editing mode feature from restricted editing package.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, 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 _0x2ee0=['get','model','FORMAT_RESTRICTED_DISABLED','has','TrackChangesEditing','change','isCollapsed','commandName','selection','from','commands','plugins','enableCommand','forceValue','StandardEditingModeEditing','afterInit','value','formatInline','registerDescriptionCallback','formatBlock','editor','commandParams','document'];(function(_0x21d2a3,_0x2ee0b3){const _0x375522=function(_0x46baca){while(--_0x46baca){_0x21d2a3['push'](_0x21d2a3['shift']());}};_0x375522(++_0x2ee0b3);}(_0x2ee0,0xf2));const _0x3755=function(_0x21d2a3,_0x2ee0b3){_0x21d2a3=_0x21d2a3-0x0;let _0x375522=_0x2ee0[_0x21d2a3];return _0x375522;};import{Plugin as _0x35f405}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0x422a6b}from'./utils.js';import{getTranslation as _0x3c8033}from'../utils/common-translations.js';export default class bt extends _0x35f405{[_0x3755('0x3')](){const _0x1d33de=this[_0x3755('0x8')],_0x36030c=_0x1d33de[_0x3755('0xc')],_0x12b626=_0x1d33de['locale'];if(!_0x1d33de[_0x3755('0x16')][_0x3755('0xe')](_0x3755('0x2')))return;const _0x1fbd47=_0x1d33de[_0x3755('0x16')][_0x3755('0xb')](_0x3755('0xf')),_0x14fd14='restrictedEditingException',_0x4235f0=_0x1d33de[_0x3755('0x15')][_0x3755('0xb')](_0x14fd14);_0x1fbd47[_0x3755('0x0')](_0x14fd14,(_0x4a7bf4,_0x2148f0={})=>{const _0xd916be=_0x36030c[_0x3755('0xa')][_0x3755('0x13')];if(_0xd916be[_0x3755('0x11')])return void _0x4a7bf4(_0x2148f0);const _0x4cc54a=void 0x0!==_0x2148f0[_0x3755('0x1')]?_0x2148f0[_0x3755('0x1')]:!_0x4235f0[_0x3755('0x4')];_0x36030c[_0x3755('0x10')](()=>{const _0x517faf=Array[_0x3755('0x14')](_0xd916be['getRanges']());for(const _0x3c75c1 of _0x517faf){const _0x3de170=_0x4cc54a?[_0x3c75c1]:_0x422a6b(_0x14fd14,_0x3c75c1,_0x36030c);for(const _0x3c4859 of _0x3de170)_0x1fbd47['markInlineFormat'](_0x3c4859,{'commandName':_0x14fd14,'commandParams':[{'forceValue':_0x4cc54a}]});}});}),_0x1fbd47['_descriptionFactory'][_0x3755('0x6')](_0x2fb3b6=>{if(_0x3755('0x7')!=_0x2fb3b6['type']&&_0x3755('0x5')!=_0x2fb3b6['type'])return;const {data:_0x3692db}=_0x2fb3b6;return _0x3692db&&_0x3692db[_0x3755('0x12')]==_0x14fd14?_0x3692db[_0x3755('0x9')][0x0][_0x3755('0x1')]?{'type':'format','content':_0x3c8033(_0x12b626,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x3c8033(_0x12b626,_0x3755('0xd'))}:void 0x0;});}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/style
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for styles dropdown feature.
|
|
11
11
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, 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 _0x5985=['editor','DataSchema','locale','config','forceValue','TrackChangesEditing','inline','GeneralHtmlSupport','_descriptionFactory','format','has','FORMAT_STYLE','ghsAttributes','style','registerDescriptionCallback','styleName','_registerBlockAttribute','commandParams','normalizeConfig','definitions','getGhsAttributeNameForElement','_registerLegacyDescription','registerAttributeLabel','type','plugins','*Set\x20format:*\x20%0','Style','get','toLowerCase','afterInit','add','_registerInlineAttribute','block','formatInline','*Remove\x20format:*\x20%0'];(function(_0x3ffbf3,_0x598542){const _0x29fa50=function(_0x36133f){while(--_0x36133f){_0x3ffbf3['push'](_0x3ffbf3['shift']());}};_0x29fa50(++_0x598542);}(_0x5985,0x74));const _0x29fa=function(_0x3ffbf3,_0x598542){_0x3ffbf3=_0x3ffbf3-0x0;let _0x29fa50=_0x5985[_0x3ffbf3];return _0x29fa50;};import{Plugin as _0x17dc89}from'ckeditor5/src/core.js';import{getTranslation as _0x385f31}from'../utils/common-translations.js';export default class wt extends _0x17dc89{[_0x29fa('0x12')](){const _0x490228=this[_0x29fa('0x18')];if(!_0x490228[_0x29fa('0xd')][_0x29fa('0x22')](_0x29fa('0xf'))||!_0x490228[_0x29fa('0xd')]['has'](_0x29fa('0x19')))return;const _0x1f7f0f=_0x490228[_0x29fa('0xd')][_0x29fa('0x10')]('TrackChangesEditing'),_0x10586d=_0x490228['locale'],_0x36ab0c=_0x490228[_0x29fa('0x1b')][_0x29fa('0x10')](_0x29fa('0x2'))||{},_0xdfc4f2=_0x490228['plugins'][_0x29fa('0x10')](_0x29fa('0x1f')),_0xb03e64=_0x490228[_0x29fa('0xd')][_0x29fa('0x10')]('StyleUtils')[_0x29fa('0x7')](_0x490228[_0x29fa('0xd')]['get'](_0x29fa('0x19')),_0x36ab0c[_0x29fa('0x8')]);_0x1f7f0f['_enableDefaultAttributesIntegration'](_0x29fa('0x2'));const _0x276392=new Set();for(const _0x4c7c95 of _0xb03e64[_0x29fa('0x15')]){const _0x288c9a=_0xdfc4f2[_0x29fa('0x9')](_0x4c7c95['element']);_0x276392[_0x29fa('0x13')](_0x288c9a);}const _0x8ac3d2=new Set();for(const _0x1783cc of _0xb03e64[_0x29fa('0x1e')]){const _0x1c5a5e=_0xdfc4f2[_0x29fa('0x9')](_0x1783cc['element']);_0x8ac3d2[_0x29fa('0x13')](_0x1c5a5e);for(const _0x482615 of _0x1783cc[_0x29fa('0x1')])_0x8ac3d2[_0x29fa('0x13')](_0x482615);}for(const _0x211e79 of _0x276392)_0x1f7f0f[_0x29fa('0x5')](_0x211e79),_0x1f7f0f[_0x29fa('0x20')][_0x29fa('0xb')](_0x211e79,_0x385f31(_0x10586d,'FORMAT_STYLE'));for(const _0x57f003 of _0x8ac3d2)_0x1f7f0f[_0x29fa('0x14')](_0x57f003),_0x1f7f0f[_0x29fa('0x20')][_0x29fa('0xb')](_0x57f003,_0x385f31(_0x10586d,_0x29fa('0x0')));this[_0x29fa('0xa')]();}[_0x29fa('0xa')](){const _0xdae65=this[_0x29fa('0x18')],_0x10fc5f=_0xdae65[_0x29fa('0x1a')];_0xdae65[_0x29fa('0xd')]['get'](_0x29fa('0x1d'))[_0x29fa('0x20')][_0x29fa('0x3')](_0x1164ad=>{if('formatBlock'!=_0x1164ad['type']&&_0x29fa('0x16')!=_0x1164ad[_0x29fa('0xc')])return;const {data:_0x2f6df5}=_0x1164ad;return _0x2f6df5&&_0x29fa('0x2')===_0x2f6df5['commandName']?_0x2f6df5[_0x29fa('0x6')][0x0][_0x29fa('0x1c')]?{'type':_0x29fa('0x21'),'content':_0x385f31(_0x10fc5f,_0x29fa('0xe'),_0x2f6df5[_0x29fa('0x6')][0x0][_0x29fa('0x4')][_0x29fa('0x11')]())}:{'type':'format','content':_0x385f31(_0x10fc5f,_0x29fa('0x17'),_0x2f6df5[_0x29fa('0x6')][0x0][_0x29fa('0x4')][_0x29fa('0x11')]())}:void 0x0;});}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/table
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
8
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for {@link module:table/table~Table table feature}.
|
|
11
11
|
*/
|