@ckeditor/ckeditor5-track-changes 40.2.0 → 41.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/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/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 +1 -1
- 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 _0x1fac=['_registerLegacyDescription','square','filter','listStyle','*Format:*\x20set\x20order\x20to\x20regular','getSuggestions','listReversed','*Format:*\x20set\x20order\x20to\x20reversed','FORMAT_LIST_START','TrackChangesEditing','commandParams','suggestion','list.properties','styles','includes','_getTranslationKeyForListStyle','_LIST_','isUndo','registerPostFixer','registerAttributeLabel','getAttribute','oldValue','has','circle','decimal','next','listStart','batch','newValue','lower-latin','key','registerDescriptionCallback','handleDescriptions','data','removeMarker','ELEMENT_','getFirstMarker','model','_findSuggestions','_LIST_DEFAULT','default','type','*Remove\x20format:*\x20%0','upper-latin','formatBlock','disc','nodeAfter','_enableDefaultAttributesIntegration','getFirstRange','format','document','startIndex','reversed','_getAttributeKey','upper-roman','FORMAT_LIST_REVERSED','get','start','_descriptionFactory','toUpperCase','*Set\x20format:*\x20%0','numbered','listType','editor','plugins','decimal-leading-zero','locale','head'];(function(_0x3969bd,_0x1fac79){const _0x3f3669=function(_0x591337){while(--_0x591337){_0x3969bd['push'](_0x3969bd['shift']());}};_0x3f3669(++_0x1fac79);}(_0x1fac,0x155));const _0x3f36=function(_0x3969bd,_0x1fac79){_0x3969bd=_0x3969bd-0x0;let _0x3f3669=_0x1fac[_0x3969bd];return _0x3f3669;};import{Plugin as _0x199874}from'ckeditor5/src/core.js';import{getTranslation as _0x330ea7}from'../utils/common-translations.js';export default class se extends _0x199874{['afterInit'](){if(!this[_0x3f36('0x3e')][_0x3f36('0x3f')][_0x3f36('0x15')]('ListPropertiesEditing'))return;const _0x58d6ed=this['editor']['config']['get'](_0x3f36('0xb')),_0xce7d02=this[_0x3f36('0x3e')][_0x3f36('0x3f')]['get'](_0x3f36('0x8'));_0x58d6ed[_0x3f36('0xc')]&&_0xce7d02[_0x3f36('0x2e')](_0x3f36('0x2'),[],[_0x3f36('0x2')]),_0x58d6ed['reversed']&&_0xce7d02[_0x3f36('0x2e')](_0x3f36('0x5'),[],[_0x3f36('0x5')]),_0x58d6ed[_0x3f36('0x32')]&&_0xce7d02['_enableDefaultAttributesIntegration'](_0x3f36('0x19'),[],[_0x3f36('0x19')]);const _0x4d3d66={'type':_0x3f36('0x30'),'content':''};_0xce7d02[_0x3f36('0x39')][_0x3f36('0x1e')](this['handleDescriptions']['bind'](this));const _0x46674d=this[_0x3f36('0x3e')][_0x3f36('0x41')];_0xce7d02[_0x3f36('0x39')][_0x3f36('0x12')](_0x3f36('0x5'),_0x330ea7(_0x46674d,_0x3f36('0x36'))),_0xce7d02[_0x3f36('0x39')]['registerDescriptionCallback'](_0x1fcfe6=>{const {data:_0x45b2fc}=_0x1fcfe6;if(_0x45b2fc&&'listReversed'==_0x45b2fc[_0x3f36('0x1d')])return null==_0x45b2fc[_0x3f36('0x1b')]||0x0==_0x45b2fc[_0x3f36('0x1b')]&&null==_0x45b2fc[_0x3f36('0x14')]?_0x4d3d66:void 0x0;}),_0xce7d02[_0x3f36('0x39')]['registerAttributeLabel'](_0x3f36('0x19'),_0x330ea7(_0x46674d,_0x3f36('0x7'))),_0xce7d02['_descriptionFactory']['registerDescriptionCallback'](_0x1ee764=>{const {data:_0x1c60c0}=_0x1ee764;if(_0x1c60c0&&_0x3f36('0x19')==_0x1c60c0[_0x3f36('0x1d')])return null==_0x1c60c0[_0x3f36('0x1b')]||0x1==_0x1c60c0[_0x3f36('0x1b')]&&null==_0x1c60c0[_0x3f36('0x14')]?_0x4d3d66:void 0x0;}),this[_0x3f36('0x3e')][_0x3f36('0x24')][_0x3f36('0x31')][_0x3f36('0x11')](_0x386748=>{if(_0x386748[_0x3f36('0x1a')][_0x3f36('0x10')])return!0x1;let _0x40937a=!0x1;const _0x1da3ea=_0xce7d02[_0x3f36('0x4')]({'skipNotAttached':!0x0})[_0x3f36('0x1')](_0x29df0a=>{const _0x3876f9=_0xce7d02['_getAttributeKey'](_0x29df0a);return _0x3f36('0x19')==_0x3876f9||_0x3f36('0x5')==_0x3876f9;});for(const _0x8745e7 of _0x1da3ea){if(_0x3f36('0x3c')==_0x8745e7[_0x3f36('0x2f')]()[_0x3f36('0x38')][_0x3f36('0x2d')][_0x3f36('0x13')](_0x3f36('0x3d')))continue;_0xce7d02[_0x3f36('0x25')](_0x8745e7['getFirstRange'](),'attribute')['find'](_0x419c97=>_0x3f36('0x3d')==_0xce7d02[_0x3f36('0x34')](_0x419c97[_0x3f36('0xa')]))||(_0x386748[_0x3f36('0x21')](_0x8745e7[_0x3f36('0x23')]()),_0x40937a=!0x0);}return _0x40937a;}),this[_0x3f36('0x43')]();}[_0x3f36('0x1f')](_0x2a102e){const _0x1891d2=this[_0x3f36('0x3e')]['locale'],{data:_0x5a3a43}=_0x2a102e,_0x2cbef5={'type':_0x3f36('0x30'),'content':''};if(!_0x5a3a43||'listStyle'!=_0x5a3a43[_0x3f36('0x1d')])return;if(!_0x5a3a43[_0x3f36('0x14')])return _0x3f36('0x27')==_0x5a3a43[_0x3f36('0x1b')]?_0x2cbef5:{'type':'format','content':''+_0x330ea7(_0x1891d2,_0x3f36('0x3b'),_0x330ea7(_0x1891d2,this[_0x3f36('0xe')](_0x5a3a43[_0x3f36('0x1b')])))};if(!_0x5a3a43[_0x3f36('0x1b')]){if('default'==_0x5a3a43[_0x3f36('0x14')])return _0x2cbef5;let _0x33730a=_0x2a102e[_0x3f36('0x42')];for(;_0x33730a;){if(_0x33730a[_0x3f36('0x20')]&&_0x3f36('0x3d')==_0x33730a[_0x3f36('0x20')][_0x3f36('0x1d')]&&_0x33730a['data']['newValue'])return _0x2cbef5;_0x33730a=_0x33730a[_0x3f36('0x18')];}return{'type':'format','content':''+_0x330ea7(_0x1891d2,_0x3f36('0x29'),_0x330ea7(_0x1891d2,this[_0x3f36('0xe')](_0x5a3a43[_0x3f36('0x14')])))};}if(_0x3f36('0x27')!=_0x5a3a43[_0x3f36('0x1b')])return{'type':'format','content':''+_0x330ea7(_0x1891d2,_0x3f36('0x3b'),_0x330ea7(_0x1891d2,this[_0x3f36('0xe')](_0x5a3a43[_0x3f36('0x1b')])))};let _0x2d300a=_0x2a102e[_0x3f36('0x42')];for(;_0x2d300a;){if(_0x2d300a[_0x3f36('0x20')]&&'listType'==_0x2d300a[_0x3f36('0x20')][_0x3f36('0x1d')]&&_0x2d300a[_0x3f36('0x20')][_0x3f36('0x1b')]&&_0x2d300a[_0x3f36('0x20')]['oldValue'])return _0x2cbef5;_0x2d300a=_0x2d300a[_0x3f36('0x18')];}const _0x4dfbc1=_0x2a102e['getFirstRange']()[_0x3f36('0x38')][_0x3f36('0x2d')]['getAttribute'](_0x3f36('0x3d'));return{'type':_0x3f36('0x30'),'content':_0x330ea7(_0x1891d2,_0x3f36('0x3b'),_0x330ea7(_0x1891d2,_0x3f36('0x22')+_0x4dfbc1[_0x3f36('0x3a')]()+_0x3f36('0x26')))};}['_registerLegacyDescription'](){const _0x1eb273=this['editor'],_0x1f46bd=_0x1eb273[_0x3f36('0x41')];_0x1eb273['plugins'][_0x3f36('0x37')](_0x3f36('0x8'))[_0x3f36('0x39')][_0x3f36('0x1e')](_0x556529=>{if(_0x3f36('0x2b')!=_0x556529['type'])return;const {data:_0x26c5cc}=_0x556529;if(!_0x26c5cc)return;let _0x6e5d1e,_0x49fef3;switch(_0x26c5cc['commandName']){case _0x3f36('0x2'):_0x6e5d1e='*Change\x20to:*\x20%0',_0x49fef3={'type':_0x3f36('0x30'),'content':_0x330ea7(_0x1f46bd,_0x6e5d1e,_0x330ea7(_0x1f46bd,this[_0x3f36('0xe')](_0x26c5cc[_0x3f36('0x9')][0x0][_0x3f36('0x28')])))};break;case _0x3f36('0x5'):_0x6e5d1e=_0x26c5cc[_0x3f36('0x9')][0x0][_0x3f36('0x33')]?_0x3f36('0x6'):_0x3f36('0x3'),_0x49fef3={'type':_0x3f36('0x30'),'content':_0x330ea7(_0x1f46bd,_0x6e5d1e)};break;case _0x3f36('0x19'):_0x6e5d1e='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x49fef3={'type':_0x3f36('0x30'),'content':_0x330ea7(_0x1f46bd,_0x6e5d1e,_0x26c5cc[_0x3f36('0x9')][0x0][_0x3f36('0x32')])};}return _0x49fef3;});}['_getTranslationKeyForListStyle'](_0x1fa236){return _0x3f36('0x22')+function(_0x595a99){if(ae['includes'](_0x595a99))return'bulleted';if(le[_0x3f36('0xd')](_0x595a99))return _0x3f36('0x3c');return null;}(_0x1fa236)[_0x3f36('0x3a')]()+_0x3f36('0xf')+_0x1fa236[_0x3f36('0x3a')]()['replace'](/-/g,'_');}}const ae=[_0x3f36('0x2c'),_0x3f36('0x16'),_0x3f36('0x0')],le=[_0x3f36('0x17'),_0x3f36('0x40'),'lower-roman',_0x3f36('0x35'),_0x3f36('0x1c'),_0x3f36('0x2a')];
|
|
@@ -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 _0x5468=['for','locale','downcastDispatcher','MediaEmbedEditing','afterInit','dataDowncast','editor','data','registerElementLabel','enableCommand','mediaEmbed','media','has','ELEMENT_MEDIA','plugins','conversion','attribute:url:media','showSuggestionHighlights','elementToElement','div','high'];(function(_0x1f44b7,_0x546872){const _0x8bf8c4=function(_0x13a893){while(--_0x13a893){_0x1f44b7['push'](_0x1f44b7['shift']());}};_0x8bf8c4(++_0x546872);}(_0x5468,0xe7));const _0x8bf8=function(_0x1f44b7,_0x546872){_0x1f44b7=_0x1f44b7-0x0;let _0x8bf8c4=_0x5468[_0x1f44b7];return _0x8bf8c4;};import{Plugin as _0x54b8fa}from'ckeditor5/src/core.js';import{getTranslation as _0x5a98aa}from'../utils/common-translations.js';export default class ft extends _0x54b8fa{[_0x8bf8('0x4')](){const _0xb53462=this[_0x8bf8('0x6')];if(!_0xb53462[_0x8bf8('0xe')][_0x8bf8('0xc')](_0x8bf8('0x3')))return;const _0x57c136=_0xb53462[_0x8bf8('0xe')]['get']('TrackChangesEditing'),_0x139699=_0xb53462[_0x8bf8('0x1')];_0x57c136[_0x8bf8('0x9')](_0x8bf8('0xa')),_0x57c136['_descriptionFactory'][_0x8bf8('0x8')](_0x8bf8('0xb'),_0x3c6de8=>_0x5a98aa(_0x139699,_0x8bf8('0xd'),_0x3c6de8)),_0xb53462[_0x8bf8('0xf')][_0x8bf8('0x0')](_0x8bf8('0x5'))[_0x8bf8('0x12')]({'model':_0x8bf8('0xb'),'view':(_0x2bac1b,{writer:_0x47b9f1,options:_0x4850bc})=>{if(_0x4850bc['showSuggestionHighlights'])return _0x47b9f1['createEmptyElement'](_0x8bf8('0x13'));},'converterPriority':_0x8bf8('0x14')}),_0xb53462[_0x8bf8('0x7')][_0x8bf8('0x2')]['on'](_0x8bf8('0x10'),(_0x5eb0e4,_0x199fa4,_0x3dc750)=>{_0x3dc750['options'][_0x8bf8('0x11')]&&_0x5eb0e4['stop']();},{'priority':_0x8bf8('0x14')});}}
|
|
@@ -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 _0xcb25=['plugins','mention','MentionEditing','afterInit','enableCommand','TrackChangesEditing'];(function(_0x3d9159,_0xcb25c){const _0x3041c7=function(_0x30f0ce){while(--_0x30f0ce){_0x3d9159['push'](_0x3d9159['shift']());}};_0x3041c7(++_0xcb25c);}(_0xcb25,0x166));const _0x3041=function(_0x3d9159,_0xcb25c){_0x3d9159=_0x3d9159-0x0;let _0x3041c7=_0xcb25[_0x3d9159];return _0x3041c7;};import{Plugin as _0x45dbdb}from'ckeditor5/src/core.js';export default class gt extends _0x45dbdb{[_0x3041('0x5')](){const _0x4be903=this['editor'];_0x4be903[_0x3041('0x2')]['has'](_0x3041('0x4'))&&_0x4be903[_0x3041('0x2')]['get'](_0x3041('0x1'))[_0x3041('0x0')](_0x3041('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 _0x13cd=['_descriptionFactory','get','TrackChangesEditing','afterInit','PageBreakEditing','pageBreak','ELEMENT_PAGE_BREAK','enableCommand','locale','editor','has','plugins'];(function(_0x1c64f6,_0x13cdfe){const _0x19e82e=function(_0x4da461){while(--_0x4da461){_0x1c64f6['push'](_0x1c64f6['shift']());}};_0x19e82e(++_0x13cdfe);}(_0x13cd,0xdb));const _0x19e8=function(_0x1c64f6,_0x13cdfe){_0x1c64f6=_0x1c64f6-0x0;let _0x19e82e=_0x13cd[_0x1c64f6];return _0x19e82e;};import{Plugin as _0x329927}from'ckeditor5/src/core.js';import{getTranslation as _0x66c7e3}from'../utils/common-translations.js';export default class lt extends _0x329927{[_0x19e8('0x0')](){const _0x5ea6e8=this[_0x19e8('0x6')];if(!_0x5ea6e8['plugins'][_0x19e8('0x7')](_0x19e8('0x1')))return;_0x5ea6e8['plugins'][_0x19e8('0xa')](_0x19e8('0xb'))[_0x19e8('0x4')](_0x19e8('0x2'));const _0x5b6693=_0x5ea6e8[_0x19e8('0x8')][_0x19e8('0xa')](_0x19e8('0xb')),_0x308344=_0x5ea6e8[_0x19e8('0x5')];_0x5b6693[_0x19e8('0x9')]['registerElementLabel'](_0x19e8('0x2'),_0x53a7f7=>_0x66c7e3(_0x308344,_0x19e8('0x3'),_0x53a7f7));}}
|
|
@@ -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 _0xe23f=['isBlock','commandName','insertParagraph','_registerLegacyDescription','*Insert:*\x20%0','enableCommand','mapper','Paragraph','getItemLabel','formatBlock','editor','schema','TrackChangesEditing','options','editing','locale','afterInit','$text','has','registerDescriptionCallback','get','data','markerRange','ck-suggestion-marker--active','activeMarkers','includes','getFirstRange','*Change\x20to:*\x20%0','addMarker:suggestion:insertion','consumable','end','insertion','isLimit','_descriptionFactory','showSuggestionHighlights','isTouching','markerName','consume','addClass','start','plugins','writer','highest','ELEMENT_PARAGRAPH','model','ck-suggestion-marker-split','nodeAfter','paragraph','name','type','bindElementToMarker','span'];(function(_0x17e9b6,_0xe23f32){const _0x49d7ca=function(_0x53ef16){while(--_0x53ef16){_0x17e9b6['push'](_0x17e9b6['shift']());}};_0x49d7ca(++_0xe23f32);}(_0xe23f,0xc8));const _0x49d7=function(_0x17e9b6,_0xe23f32){_0x17e9b6=_0x17e9b6-0x0;let _0x49d7ca=_0xe23f[_0x17e9b6];return _0x49d7ca;};import{Plugin as _0x4c2ae3}from'ckeditor5/src/core.js';import{getTranslation as _0x1ac820}from'../utils/common-translations.js';export default class mt extends _0x4c2ae3{[_0x49d7('0x18')](){const _0x203aa7=this[_0x49d7('0x12')];if(!_0x203aa7[_0x49d7('0x30')][_0x49d7('0x1a')](_0x49d7('0xf')))return;const _0x15980a=_0x203aa7[_0x49d7('0x17')],_0x59d8cc=_0x203aa7[_0x49d7('0x30')][_0x49d7('0x1c')](_0x49d7('0x14'));_0x59d8cc[_0x49d7('0x29')]['registerElementLabel'](_0x49d7('0x3'),_0x3b0ed0=>_0x1ac820(_0x15980a,_0x49d7('0x33'),_0x3b0ed0)),_0x59d8cc['_enableDefaultAttributesIntegration'](_0x49d7('0x3')),_0x59d8cc[_0x49d7('0xd')](_0x49d7('0xa')),_0x203aa7[_0x49d7('0x16')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',nr(_0x203aa7),{'priority':_0x49d7('0x32')}),_0x203aa7[_0x49d7('0x1d')]['downcastDispatcher']['on'](_0x49d7('0x24'),(_0x29e4ff,_0x2b3f56,_0x2e7b76)=>{_0x2e7b76[_0x49d7('0x15')][_0x49d7('0x2a')]&&nr(_0x203aa7,{'showActiveMarker':!0x1})(_0x29e4ff,_0x2b3f56,_0x2e7b76);},{'priority':_0x49d7('0x32')});const _0x424241=_0x59d8cc[_0x49d7('0x29')];_0x424241['registerDescriptionCallback'](_0x2be5f0=>{if(_0x49d7('0x27')!==_0x2be5f0[_0x49d7('0x5')])return;const {start:_0x4a0980,end:_0x19a3be}=_0x2be5f0[_0x49d7('0x22')]();if(!_0x4a0980[_0x49d7('0x2b')](_0x19a3be)||!_0x4a0980[_0x49d7('0x2')])return;const _0x2bf5df=_0x203aa7[_0x49d7('0x0')][_0x49d7('0x13')],_0x434a43=_0x4a0980[_0x49d7('0x2')];return _0x2bf5df[_0x49d7('0x8')](_0x434a43)&&!_0x2bf5df['isLimit'](_0x434a43)&&_0x2bf5df['checkChild'](_0x434a43,_0x49d7('0x19'))?{'type':'insertion','content':_0x1ac820(_0x15980a,_0x49d7('0xc'),_0x424241[_0x49d7('0x10')](_0x434a43,0x1))}:void 0x0;}),this[_0x49d7('0xb')]();}[_0x49d7('0xb')](){const _0xd1df98=this[_0x49d7('0x12')],_0x396a3c=_0xd1df98[_0x49d7('0x17')];_0xd1df98[_0x49d7('0x30')][_0x49d7('0x1c')](_0x49d7('0x14'))['_descriptionFactory'][_0x49d7('0x1b')](_0x1de029=>{if(_0x49d7('0x11')!=_0x1de029['type'])return;const {data:_0x43e12e}=_0x1de029;return _0x43e12e&&_0x49d7('0x3')==_0x43e12e[_0x49d7('0x9')]?{'type':'format','content':_0x1ac820(_0x396a3c,_0x49d7('0x23'),_0x1ac820(_0x396a3c,_0x49d7('0x33')))}:void 0x0;});}}function nr(_0x7e0bed,{showActiveMarker:_0x11a986=!0x0}={}){return(_0x3ba4c9,_0x54b92e,_0xcba61b)=>{const _0x5de80d=_0x7e0bed[_0x49d7('0x30')][_0x49d7('0x1c')](_0x49d7('0x14')),_0x44a18e=_0x54b92e[_0x49d7('0x1e')][_0x49d7('0x2f')],_0x5537fa=_0x54b92e[_0x49d7('0x1e')][_0x49d7('0x26')],_0x49bebf=_0x7e0bed[_0x49d7('0x0')][_0x49d7('0x13')];if(!_0x44a18e[_0x49d7('0x2b')](_0x5537fa)||!_0x44a18e[_0x49d7('0x2')])return;const _0x17e095=_0x44a18e[_0x49d7('0x2')];if(_0x49bebf[_0x49d7('0x8')](_0x17e095)&&!_0x49bebf[_0x49d7('0x28')](_0x17e095)&&_0x49bebf['checkChild'](_0x17e095,'$text')){if(!_0xcba61b[_0x49d7('0x25')][_0x49d7('0x2d')](_0x54b92e[_0x49d7('0x1e')],_0x3ba4c9[_0x49d7('0x4')]))return;const _0x5751d7=_0xcba61b['writer']['createUIElement'](_0x49d7('0x7'),{'class':_0x49d7('0x1')}),_0x228e58=_0xcba61b[_0x49d7('0xe')]['toViewPosition'](_0x5537fa);_0x11a986&&_0x5de80d[_0x49d7('0x20')][_0x49d7('0x21')](_0x54b92e[_0x49d7('0x2c')])&&_0xcba61b[_0x49d7('0x31')][_0x49d7('0x2e')](_0x49d7('0x1f'),_0x5751d7),_0xcba61b['writer']['insert'](_0x228e58,_0x5751d7),_0xcba61b[_0x49d7('0xe')][_0x49d7('0x6')](_0x5751d7,_0x54b92e['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 _0x3765=['has','get','afterInit','formatInline','*Remove\x20all\x20formatting*','commandName','formatBlock','removeFormat','TrackChangesEditing','plugins','editor','type','registerDescriptionCallback','RemoveFormatEditing','format'];(function(_0xc4ffc6,_0x376554){const _0x20342=function(_0x2aac90){while(--_0x2aac90){_0xc4ffc6['push'](_0xc4ffc6['shift']());}};_0x20342(++_0x376554);}(_0x3765,0x97));const _0x2034=function(_0xc4ffc6,_0x376554){_0xc4ffc6=_0xc4ffc6-0x0;let _0x20342=_0x3765[_0xc4ffc6];return _0x20342;};import{Plugin as _0x561a25}from'ckeditor5/src/core.js';import{getTranslation as _0x5347a7}from'../utils/common-translations.js';export default class dt extends _0x561a25{[_0x2034('0x1')](){const _0x18325e=this[_0x2034('0x9')];if(!_0x18325e['plugins'][_0x2034('0xe')](_0x2034('0xc')))return;_0x18325e[_0x2034('0x8')][_0x2034('0x0')](_0x2034('0x7'))['_enableDefaultAttributesIntegration'](_0x2034('0x6')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x281df4=this[_0x2034('0x9')];_0x281df4[_0x2034('0x8')][_0x2034('0x0')](_0x2034('0x7'))['_descriptionFactory'][_0x2034('0xb')](_0x273249=>{if(_0x2034('0x5')!=_0x273249['type']&&_0x2034('0x2')!=_0x273249[_0x2034('0xa')])return;const {data:_0x4d8ac3}=_0x273249;return _0x4d8ac3&&_0x2034('0x6')==_0x4d8ac3[_0x2034('0x4')]?{'type':_0x2034('0xd'),'content':_0x5347a7(_0x281df4['locale'],_0x2034('0x3'))}: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 _0x2892=['has','trackChanges','goToNextRestrictedEditingException','get','RestrictedEditingModeEditing','editor','discardSuggestion','goToPreviousRestrictedEditingException','afterInit','plugins','acceptSuggestion','discardSelectedSuggestions','enableCommand','TrackChangesEditing'];(function(_0x14aa49,_0x2892ff){const _0x4d50c4=function(_0x2e29aa){while(--_0x2e29aa){_0x14aa49['push'](_0x14aa49['shift']());}};_0x4d50c4(++_0x2892ff);}(_0x2892,0xba));const _0x4d50=function(_0x14aa49,_0x2892ff){_0x14aa49=_0x14aa49-0x0;let _0x4d50c4=_0x2892[_0x14aa49];return _0x4d50c4;};import{Plugin as _0x3cb4fb}from'ckeditor5/src/core.js';export default class pt extends _0x3cb4fb{[_0x4d50('0x4')](){const _0x235d23=this[_0x4d50('0x1')];if(!_0x235d23[_0x4d50('0x5')][_0x4d50('0xa')](_0x4d50('0x0')))return;const _0x2bd258=_0x235d23[_0x4d50('0x5')]['get'](_0x4d50('0x9'));_0x2bd258['enableCommand'](_0x4d50('0x3')),_0x2bd258[_0x4d50('0x8')](_0x4d50('0xc'));const _0x5f5582=_0x235d23['plugins'][_0x4d50('0xd')]('RestrictedEditingModeEditing');_0x5f5582['enableCommand'](_0x4d50('0xb')),_0x5f5582['enableCommand'](_0x4d50('0x6')),_0x5f5582[_0x4d50('0x8')](_0x4d50('0x2')),_0x5f5582[_0x4d50('0x8')]('acceptAllSuggestions'),_0x5f5582[_0x4d50('0x8')]('discardAllSuggestions'),_0x5f5582[_0x4d50('0x8')]('acceptSelectedSuggestions'),_0x5f5582[_0x4d50('0x8')](_0x4d50('0x7'));}}
|
|
@@ -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 _0x1465=['TrackChangesEditing','showSuggestionHighlights','createPositionBefore','addClass','span','requires','high','split','createUIElement','locale','downcastDispatcher','markerName','ck-suggestion-marker-','addMarker:suggestion:deletion','enableCommand','element','data','writer','addMarker:suggestion:insertion','bindElementToMarker','options','insert','test','softBreak','getItems','deletion','activeMarkers','shiftEnter','toViewPosition','markerRange','editor','editing','init','mapper','model','_descriptionFactory','ELEMENT_LINE_BREAK','includes'];(function(_0x5f019a,_0x1465ea){const _0xc6e47a=function(_0x202193){while(--_0x202193){_0x5f019a['push'](_0x5f019a['shift']());}};_0xc6e47a(++_0x1465ea);}(_0x1465,0x1f3));const _0xc6e4=function(_0x5f019a,_0x1465ea){_0x5f019a=_0x5f019a-0x0;let _0xc6e47a=_0x1465[_0x5f019a];return _0xc6e47a;};import{Plugin as _0x2d1d8a}from'ckeditor5/src/core.js';import{ShiftEnter as _0x12eb51}from'ckeditor5/src/enter.js';import{getTranslation as _0xb31b7}from'../utils/common-translations.js';export default class kt extends _0x2d1d8a{static get[_0xc6e4('0x0')](){return[_0x12eb51];}[_0xc6e4('0x1b')](){const _0x408160=this[_0xc6e4('0x19')],_0x29221f=_0x408160['plugins']['get']('TrackChangesEditing');_0x29221f[_0xc6e4('0x9')](_0xc6e4('0x16')),_0x408160[_0xc6e4('0x1a')][_0xc6e4('0x5')]['on'](_0xc6e4('0xd'),re(_0x408160),{'priority':_0xc6e4('0x1')}),_0x408160['editing']['downcastDispatcher']['on'](_0xc6e4('0x8'),re(_0x408160),{'priority':_0xc6e4('0x1')}),_0x408160[_0xc6e4('0xb')][_0xc6e4('0x5')]['on']('addMarker:suggestion',(_0x5ca915,_0x21e6c5,_0x386efb)=>{_0x386efb[_0xc6e4('0xf')][_0xc6e4('0x22')]&&re(_0x408160,{'showActiveMarker':!0x1})(_0x5ca915,_0x21e6c5,_0x386efb);}),_0x29221f[_0xc6e4('0x1e')]['registerElementLabel'](_0xc6e4('0x12'),_0x2071c6=>_0xb31b7(_0x408160[_0xc6e4('0x4')],_0xc6e4('0x1f'),_0x2071c6));}}function re(_0x2d2501,{showActiveMarker:_0x132971=!0x0}={}){return(_0x428a34,_0x286943,_0x1ec218)=>{const _0x550acf=_0x2d2501['plugins']['get'](_0xc6e4('0x21'));if(!_0x1ec218['consumable'][_0xc6e4('0x11')](_0x286943[_0xc6e4('0x18')],_0x428a34['name']))return;const _0x553045=_0x2d2501[_0xc6e4('0x1d')];for(const _0x3f1cfe of _0x286943[_0xc6e4('0x18')][_0xc6e4('0x13')]()){if(!_0x3f1cfe['is'](_0xc6e4('0xa'),_0xc6e4('0x12')))continue;const _0x53e105=_0xc6e4('0x14')==_0x286943[_0xc6e4('0x6')][_0xc6e4('0x2')](':')[0x1]?'merge':_0xc6e4('0x2'),_0x1dacf5=_0x1ec218[_0xc6e4('0xc')][_0xc6e4('0x3')](_0xc6e4('0x25'),{'class':_0xc6e4('0x7')+_0x53e105}),_0x2dc68a=_0x1ec218[_0xc6e4('0x1c')][_0xc6e4('0x17')](_0x553045[_0xc6e4('0x23')](_0x3f1cfe));_0x132971&&_0x550acf[_0xc6e4('0x15')][_0xc6e4('0x20')](_0x286943[_0xc6e4('0x6')])&&_0x1ec218['writer'][_0xc6e4('0x24')]('ck-suggestion-marker--active',_0x1dacf5),_0x1ec218['writer'][_0xc6e4('0x10')](_0x2dc68a,_0x1dacf5),_0x1ec218[_0xc6e4('0x1c')][_0xc6e4('0xe')](_0x1dacf5,_0x286943[_0xc6e4('0x6')]);}};}
|
|
@@ -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 _0x59c1=['restrictedEditingException','getRanges','FORMAT_RESTRICTED_DISABLED','document','formatBlock','model','editor','type','format','_descriptionFactory','get','plugins','locale','commandName','commands','enableCommand','StandardEditingModeEditing','value','isCollapsed','change','forceValue','from','selection','FORMAT_RESTRICTED_ENABLED','commandParams','formatInline','registerDescriptionCallback','TrackChangesEditing'];(function(_0x3e452e,_0x59c1c2){const _0x296d33=function(_0x44947e){while(--_0x44947e){_0x3e452e['push'](_0x3e452e['shift']());}};_0x296d33(++_0x59c1c2);}(_0x59c1,0x169));const _0x296d=function(_0x3e452e,_0x59c1c2){_0x3e452e=_0x3e452e-0x0;let _0x296d33=_0x59c1[_0x3e452e];return _0x296d33;};import{Plugin as _0x28873f}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0x466d4f}from'./utils.js';import{getTranslation as _0x589328}from'../utils/common-translations.js';export default class bt extends _0x28873f{['afterInit'](){const _0x2c801=this[_0x296d('0x9')],_0x2e263f=_0x2c801[_0x296d('0x8')],_0x5a7da1=_0x2c801[_0x296d('0xf')];if(!_0x2c801[_0x296d('0xe')]['has'](_0x296d('0x13')))return;const _0x20e905=_0x2c801[_0x296d('0xe')][_0x296d('0xd')](_0x296d('0x2')),_0x5f0c7d=_0x296d('0x3'),_0x421653=_0x2c801[_0x296d('0x11')][_0x296d('0xd')](_0x5f0c7d);_0x20e905[_0x296d('0x12')](_0x5f0c7d,(_0x4fa634,_0x4f69ca={})=>{const _0x1fa627=_0x2e263f[_0x296d('0x6')][_0x296d('0x19')];if(_0x1fa627[_0x296d('0x15')])return void _0x4fa634(_0x4f69ca);const _0x22f98f=void 0x0!==_0x4f69ca[_0x296d('0x17')]?_0x4f69ca[_0x296d('0x17')]:!_0x421653[_0x296d('0x14')];_0x2e263f[_0x296d('0x16')](()=>{const _0x59da86=Array[_0x296d('0x18')](_0x1fa627[_0x296d('0x4')]());for(const _0x1191b3 of _0x59da86){const _0x19f0d6=_0x22f98f?[_0x1191b3]:_0x466d4f(_0x5f0c7d,_0x1191b3,_0x2e263f);for(const _0x6d4236 of _0x19f0d6)_0x20e905['markInlineFormat'](_0x6d4236,{'commandName':_0x5f0c7d,'commandParams':[{'forceValue':_0x22f98f}]});}});}),_0x20e905[_0x296d('0xc')][_0x296d('0x1')](_0x3c0026=>{if(_0x296d('0x7')!=_0x3c0026[_0x296d('0xa')]&&_0x296d('0x0')!=_0x3c0026['type'])return;const {data:_0x2c0d65}=_0x3c0026;return _0x2c0d65&&_0x2c0d65[_0x296d('0x10')]==_0x5f0c7d?_0x2c0d65[_0x296d('0x1b')][0x0]['forceValue']?{'type':'format','content':_0x589328(_0x5a7da1,_0x296d('0x1a'))}:{'type':_0x296d('0xb'),'content':_0x589328(_0x5a7da1,_0x296d('0x5'))}: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 _0x4b86=['ghsAttributes','locale','DataSchema','get','registerDescriptionCallback','has','commandName','normalizeConfig','type','block','FORMAT_STYLE','GeneralHtmlSupport','commandParams','toLowerCase','_registerLegacyDescription','_registerInlineAttribute','add','style','registerAttributeLabel','_enableDefaultAttributesIntegration','config','formatBlock','_descriptionFactory','inline','editor','TrackChangesEditing','element','styleName','plugins','definitions','forceValue','*Remove\x20format:*\x20%0','_registerBlockAttribute'];(function(_0x272193,_0x4b8691){const _0x408c83=function(_0xa8739c){while(--_0xa8739c){_0x272193['push'](_0x272193['shift']());}};_0x408c83(++_0x4b8691);}(_0x4b86,0x108));const _0x408c=function(_0x272193,_0x4b8691){_0x272193=_0x272193-0x0;let _0x408c83=_0x4b86[_0x272193];return _0x408c83;};import{Plugin as _0x85284b}from'ckeditor5/src/core.js';import{getTranslation as _0x25c353}from'../utils/common-translations.js';export default class wt extends _0x85284b{['afterInit'](){const _0x52c796=this[_0x408c('0x18')];if(!_0x52c796[_0x408c('0x1c')][_0x408c('0x5')]('Style')||!_0x52c796['plugins'][_0x408c('0x5')]('DataSchema'))return;const _0x27ac5a=_0x52c796[_0x408c('0x1c')][_0x408c('0x3')]('TrackChangesEditing'),_0xcbb09c=_0x52c796['locale'],_0x58bd5c=_0x52c796[_0x408c('0x14')][_0x408c('0x3')]('style'),_0x1d1a87=_0x52c796[_0x408c('0x1c')]['get'](_0x408c('0xb')),_0x436afc=_0x52c796['plugins'][_0x408c('0x3')]('StyleUtils')[_0x408c('0x7')](_0x52c796[_0x408c('0x1c')][_0x408c('0x3')](_0x408c('0x2')),_0x58bd5c[_0x408c('0x1d')]);_0x27ac5a[_0x408c('0x13')]('style');const _0x9baf84=new Set();for(const _0x314e64 of _0x436afc[_0x408c('0x9')]){const _0x295aa9=_0x1d1a87['getGhsAttributeNameForElement'](_0x314e64[_0x408c('0x1a')]);_0x9baf84[_0x408c('0x10')](_0x295aa9);}const _0x21eba3=new Set();for(const _0x5c22e0 of _0x436afc[_0x408c('0x17')]){const _0x1b080c=_0x1d1a87['getGhsAttributeNameForElement'](_0x5c22e0[_0x408c('0x1a')]);_0x21eba3[_0x408c('0x10')](_0x1b080c);for(const _0x2c6dce of _0x5c22e0[_0x408c('0x0')])_0x21eba3[_0x408c('0x10')](_0x2c6dce);}for(const _0x45576c of _0x9baf84)_0x27ac5a[_0x408c('0x20')](_0x45576c),_0x27ac5a[_0x408c('0x16')][_0x408c('0x12')](_0x45576c,_0x25c353(_0xcbb09c,'FORMAT_STYLE'));for(const _0x19b47a of _0x21eba3)_0x27ac5a[_0x408c('0xf')](_0x19b47a),_0x27ac5a['_descriptionFactory'][_0x408c('0x12')](_0x19b47a,_0x25c353(_0xcbb09c,_0x408c('0xa')));this['_registerLegacyDescription']();}[_0x408c('0xe')](){const _0x59714a=this[_0x408c('0x18')],_0xdbd1d3=_0x59714a[_0x408c('0x1')];_0x59714a[_0x408c('0x1c')][_0x408c('0x3')](_0x408c('0x19'))[_0x408c('0x16')][_0x408c('0x4')](_0x34f18e=>{if(_0x408c('0x15')!=_0x34f18e['type']&&'formatInline'!=_0x34f18e[_0x408c('0x8')])return;const {data:_0x5b8b34}=_0x34f18e;return _0x5b8b34&&_0x408c('0x11')===_0x5b8b34[_0x408c('0x6')]?_0x5b8b34[_0x408c('0xc')][0x0][_0x408c('0x1e')]?{'type':'format','content':_0x25c353(_0xdbd1d3,'*Set\x20format:*\x20%0',_0x5b8b34[_0x408c('0xc')][0x0][_0x408c('0x1b')][_0x408c('0xd')]())}:{'type':'format','content':_0x25c353(_0xdbd1d3,_0x408c('0x1f'),_0x5b8b34[_0x408c('0xc')][0x0][_0x408c('0x1b')][_0x408c('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/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
|
*/
|