@ckeditor/ckeditor5-track-changes 40.0.0 → 40.2.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 +15 -15
- package/LICENSE.md +3 -3
- package/README.md +1 -1
- package/build/track-changes.js +2 -2
- package/build/translations/ar.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +20 -1
- package/lang/translations/ar.po +78 -2
- package/lang/translations/az.po +77 -1
- package/lang/translations/bg.po +78 -2
- package/lang/translations/bn.po +78 -2
- package/lang/translations/ca.po +78 -2
- package/lang/translations/cs.po +78 -2
- package/lang/translations/da.po +78 -2
- package/lang/translations/de.po +78 -2
- package/lang/translations/el.po +78 -2
- package/lang/translations/en-au.po +78 -2
- package/lang/translations/en.po +78 -2
- package/lang/translations/es.po +78 -2
- package/lang/translations/et.po +78 -2
- package/lang/translations/fi.po +78 -2
- package/lang/translations/fr.po +78 -2
- package/lang/translations/gl.po +90 -14
- package/lang/translations/he.po +78 -2
- package/lang/translations/hi.po +78 -2
- package/lang/translations/hr.po +78 -2
- package/lang/translations/hu.po +78 -2
- package/lang/translations/id.po +78 -2
- package/lang/translations/it.po +78 -2
- package/lang/translations/ja.po +78 -2
- package/lang/translations/ko.po +78 -2
- package/lang/translations/lt.po +78 -2
- package/lang/translations/lv.po +78 -2
- package/lang/translations/ms.po +78 -2
- package/lang/translations/nl.po +78 -2
- package/lang/translations/no.po +78 -2
- package/lang/translations/pl.po +78 -2
- package/lang/translations/pt-br.po +96 -20
- package/lang/translations/pt.po +78 -2
- package/lang/translations/ro.po +78 -2
- package/lang/translations/ru.po +78 -2
- package/lang/translations/sk.po +78 -2
- package/lang/translations/sq.po +77 -1
- package/lang/translations/sr-latn.po +78 -2
- package/lang/translations/sr.po +78 -2
- package/lang/translations/sv.po +78 -2
- package/lang/translations/th.po +78 -2
- package/lang/translations/tk.po +77 -1
- package/lang/translations/tr.po +78 -2
- package/lang/translations/tt.po +77 -1
- package/lang/translations/uk.po +78 -2
- package/lang/translations/ur.po +77 -1
- package/lang/translations/vi.po +78 -2
- package/lang/translations/zh-cn.po +78 -2
- package/lang/translations/zh.po +78 -2
- package/package.json +3 -3
- package/src/augmentation.d.ts +40 -40
- package/src/commands/acceptsuggestioncommand.d.ts +24 -24
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.d.ts +24 -24
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.d.ts +26 -26
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.d.ts +16 -16
- package/src/integrations/aiassistant.d.ts +17 -17
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.d.ts +17 -17
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.d.ts +17 -17
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.d.ts +17 -17
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.d.ts +17 -17
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.d.ts +17 -17
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.d.ts +14 -14
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.d.ts +17 -17
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.d.ts +17 -17
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.d.ts +29 -29
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.d.ts +16 -16
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.d.ts +21 -21
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.d.ts +17 -17
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.d.ts +17 -17
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.d.ts +17 -17
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.d.ts +17 -17
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.d.ts +17 -17
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.d.ts +17 -17
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.d.ts +17 -17
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.d.ts +17 -23
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.d.ts +17 -0
- package/src/integrations/imagestyle.js +23 -0
- package/src/integrations/importword.d.ts +18 -18
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.d.ts +17 -17
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.d.ts +16 -16
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.d.ts +17 -17
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.d.ts +17 -17
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.d.ts +29 -29
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.d.ts +17 -17
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.d.ts +17 -17
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.d.ts +17 -17
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.d.ts +17 -17
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.d.ts +17 -17
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.d.ts +17 -17
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.d.ts +16 -16
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.d.ts +17 -17
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.d.ts +17 -18
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.d.ts +42 -42
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.d.ts +22 -22
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.d.ts +19 -19
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.d.ts +26 -26
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.d.ts +22 -22
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.d.ts +22 -22
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.d.ts +17 -17
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.d.ts +27 -27
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.d.ts +17 -17
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.d.ts +17 -17
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.d.ts +17 -17
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.d.ts +21 -21
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.d.ts +291 -276
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.d.ts +183 -163
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +180 -244
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +78 -75
- package/src/trackchangesdata.d.ts +41 -41
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +524 -468
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.d.ts +38 -38
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.d.ts +37 -37
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.d.ts +182 -182
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.d.ts +9 -9
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.d.ts +30 -30
- package/src/utils/utils.js +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
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 track-changes/integrations/mediaembed
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesMediaEmbed extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
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 track-changes/integrations/mediaembed
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesMediaEmbed extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e1d=['has','dataDowncast','high','for','elementToElement','_descriptionFactory','afterInit','MediaEmbedEditing','data','registerElementLabel','TrackChangesEditing','media','stop','options','get','locale','plugins','editor','attribute:url:media'];(function(_0x9fbe16,_0x2e1d83){const _0x212bc3=function(_0xa53d05){while(--_0xa53d05){_0x9fbe16['push'](_0x9fbe16['shift']());}};_0x212bc3(++_0x2e1d83);}(_0x2e1d,0x8d));const _0x212b=function(_0x9fbe16,_0x2e1d83){_0x9fbe16=_0x9fbe16-0x0;let _0x212bc3=_0x2e1d[_0x9fbe16];return _0x212bc3;};import{Plugin as _0x96e86d}from'ckeditor5/src/core';import{getTranslation as _0x5ce607}from'../utils/common-translations';export default class ht extends _0x96e86d{[_0x212b('0x11')](){const _0x2a90b7=this[_0x212b('0x9')];if(!_0x2a90b7[_0x212b('0x8')][_0x212b('0xb')](_0x212b('0x12')))return;const _0x1172e1=_0x2a90b7[_0x212b('0x8')][_0x212b('0x6')](_0x212b('0x2')),_0x472510=_0x2a90b7[_0x212b('0x7')];_0x1172e1['enableCommand']('mediaEmbed'),_0x1172e1[_0x212b('0x10')][_0x212b('0x1')](_0x212b('0x3'),_0x8d39fc=>_0x5ce607(_0x472510,'ELEMENT_MEDIA',_0x8d39fc)),_0x2a90b7['conversion'][_0x212b('0xe')](_0x212b('0xc'))[_0x212b('0xf')]({'model':'media','view':(_0x1f269f,{writer:_0x178e5a,options:_0x29cd76})=>{if(_0x29cd76['showSuggestionHighlights'])return _0x178e5a['createEmptyElement']('div');},'converterPriority':_0x212b('0xd')}),_0x2a90b7[_0x212b('0x0')]['downcastDispatcher']['on'](_0x212b('0xa'),(_0xd0a1b,_0x5905c1,_0x21cf03)=>{_0x21cf03[_0x212b('0x5')]['showSuggestionHighlights']&&_0xd0a1b[_0x212b('0x4')]();},{'priority':_0x212b('0xd')});}}
|
|
@@ -1,17 +1,17 @@
|
|
|
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 track-changes/integrations/mention
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for mention feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesMention extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
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 track-changes/integrations/mention
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for mention feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesMention extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38c1=['editor','plugins','TrackChangesEditing','MentionEditing','mention'];(function(_0x19bf99,_0x38c1e7){const _0x3f76af=function(_0x3a2704){while(--_0x3a2704){_0x19bf99['push'](_0x19bf99['shift']());}};_0x3f76af(++_0x38c1e7);}(_0x38c1,0xd0));const _0x3f76=function(_0x19bf99,_0x38c1e7){_0x19bf99=_0x19bf99-0x0;let _0x3f76af=_0x38c1[_0x19bf99];return _0x3f76af;};import{Plugin as _0x38adeb}from'ckeditor5/src/core';export default class ft extends _0x38adeb{['afterInit'](){const _0x185a77=this[_0x3f76('0x2')];_0x185a77[_0x3f76('0x3')]['has'](_0x3f76('0x0'))&&_0x185a77['plugins']['get'](_0x3f76('0x4'))['enableCommand'](_0x3f76('0x1'));}}
|
|
@@ -1,17 +1,17 @@
|
|
|
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 track-changes/integrations/pagebreak
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesPageBreak extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
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 track-changes/integrations/pagebreak
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesPageBreak extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3366=['enableCommand','registerElementLabel','ELEMENT_PAGE_BREAK','get','_descriptionFactory','TrackChangesEditing','pageBreak','locale','editor','plugins','afterInit'];(function(_0x5f5ae8,_0x336662){const _0x22ef11=function(_0x47d986){while(--_0x47d986){_0x5f5ae8['push'](_0x5f5ae8['shift']());}};_0x22ef11(++_0x336662);}(_0x3366,0x1f4));const _0x22ef=function(_0x5f5ae8,_0x336662){_0x5f5ae8=_0x5f5ae8-0x0;let _0x22ef11=_0x3366[_0x5f5ae8];return _0x22ef11;};import{Plugin as _0x3c4072}from'ckeditor5/src/core';import{getTranslation as _0x1e0e2d}from'../utils/common-translations';export default class gt extends _0x3c4072{[_0x22ef('0x5')](){const _0x4c2546=this[_0x22ef('0x3')];if(!_0x4c2546[_0x22ef('0x4')]['has']('PageBreakEditing'))return;_0x4c2546[_0x22ef('0x4')][_0x22ef('0x9')]('TrackChangesEditing')[_0x22ef('0x6')](_0x22ef('0x1'));const _0x666803=_0x4c2546[_0x22ef('0x4')][_0x22ef('0x9')](_0x22ef('0x0')),_0x20e045=_0x4c2546[_0x22ef('0x2')];_0x666803[_0x22ef('0xa')][_0x22ef('0x7')](_0x22ef('0x1'),_0x8885f7=>_0x1e0e2d(_0x20e045,_0x22ef('0x8'),_0x8885f7));}}
|
|
@@ -1,17 +1,17 @@
|
|
|
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 track-changes/integrations/paragraph
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for paragraph feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesParagraph extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
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 track-changes/integrations/paragraph
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for paragraph feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesParagraph extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48af=['options','span','*Insert:*\x20%0','isTouching','*Change\x20to:*\x20%0','editor','bindElementToMarker','get','model','$text','addMarker:suggestion:insertion','enableCommand','consume','plugins','consumable','includes','ELEMENT_PARAGRAPH','mapper','nodeAfter','_registerLegacyDescription','name','isLimit','type','activeMarkers','locale','schema','getFirstRange','highest','commandName','markerRange','paragraph','downcastDispatcher','ck-suggestion-marker--active','markerName','insertParagraph','addClass','format','writer','start','_descriptionFactory','registerDescriptionCallback','insert','editing','TrackChangesEditing','isBlock','showSuggestionHighlights','insertion'];(function(_0x106eb3,_0x48af66){const _0x341fca=function(_0x5a8a40){while(--_0x5a8a40){_0x106eb3['push'](_0x106eb3['shift']());}};_0x341fca(++_0x48af66);}(_0x48af,0x68));const _0x341f=function(_0x106eb3,_0x48af66){_0x106eb3=_0x106eb3-0x0;let _0x341fca=_0x48af[_0x106eb3];return _0x341fca;};import{Plugin as _0x4f5213}from'ckeditor5/src/core';import{getTranslation as _0x5f4c6f}from'../utils/common-translations';export default class lt extends _0x4f5213{['afterInit'](){const _0x388454=this[_0x341f('0x2a')];if(!_0x388454[_0x341f('0x3')]['has']('Paragraph'))return;const _0x2b9738=_0x388454[_0x341f('0xe')],_0xa69bb5=_0x388454[_0x341f('0x3')]['get'](_0x341f('0x21'));_0xa69bb5[_0x341f('0x1d')]['registerElementLabel'](_0x341f('0x14'),_0x2e9c16=>_0x5f4c6f(_0x2b9738,_0x341f('0x6'),_0x2e9c16)),_0xa69bb5['_enableDefaultAttributesIntegration'](_0x341f('0x14')),_0xa69bb5[_0x341f('0x1')](_0x341f('0x18')),_0x388454[_0x341f('0x20')][_0x341f('0x15')]['on'](_0x341f('0x0'),nr(_0x388454),{'priority':_0x341f('0x11')}),_0x388454['data'][_0x341f('0x15')]['on'](_0x341f('0x0'),(_0xcdb365,_0x2b2730,_0x22131a)=>{_0x22131a[_0x341f('0x25')][_0x341f('0x23')]&&nr(_0x388454,{'showActiveMarker':!0x1})(_0xcdb365,_0x2b2730,_0x22131a);},{'priority':_0x341f('0x11')});const _0x50aa26=_0xa69bb5['_descriptionFactory'];_0x50aa26[_0x341f('0x1e')](_0x1e6c8f=>{if(_0x341f('0x24')!==_0x1e6c8f[_0x341f('0xc')])return;const {start:_0x9dad29,end:_0x889140}=_0x1e6c8f[_0x341f('0x10')]();if(!_0x9dad29[_0x341f('0x28')](_0x889140)||!_0x9dad29[_0x341f('0x8')])return;const _0x4b9bf9=_0x388454['model'][_0x341f('0xf')],_0x47fa9d=_0x9dad29['nodeAfter'];return _0x4b9bf9[_0x341f('0x22')](_0x47fa9d)&&!_0x4b9bf9[_0x341f('0xb')](_0x47fa9d)&&_0x4b9bf9['checkChild'](_0x47fa9d,_0x341f('0x2e'))?{'type':_0x341f('0x24'),'content':_0x5f4c6f(_0x2b9738,_0x341f('0x27'),_0x50aa26['getItemLabel'](_0x47fa9d,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}[_0x341f('0x9')](){const _0x5163f3=this[_0x341f('0x2a')],_0x4c57fa=_0x5163f3['locale'];_0x5163f3[_0x341f('0x3')][_0x341f('0x2c')](_0x341f('0x21'))[_0x341f('0x1d')][_0x341f('0x1e')](_0xbce18b=>{if('formatBlock'!=_0xbce18b['type'])return;const {data:_0x12f616}=_0xbce18b;return _0x12f616&&_0x341f('0x14')==_0x12f616[_0x341f('0x12')]?{'type':_0x341f('0x1a'),'content':_0x5f4c6f(_0x4c57fa,_0x341f('0x29'),_0x5f4c6f(_0x4c57fa,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}function nr(_0x313b8e,{showActiveMarker:_0x295f77=!0x0}={}){return(_0x4e5e6c,_0x5aea1e,_0x35f160)=>{const _0x5b3a3a=_0x313b8e['plugins'][_0x341f('0x2c')](_0x341f('0x21')),_0x4b9200=_0x5aea1e['markerRange'][_0x341f('0x1c')],_0x1455ce=_0x5aea1e['markerRange']['end'],_0x534c74=_0x313b8e[_0x341f('0x2d')][_0x341f('0xf')];if(!_0x4b9200[_0x341f('0x28')](_0x1455ce)||!_0x4b9200[_0x341f('0x8')])return;const _0x2d57fe=_0x4b9200[_0x341f('0x8')];if(_0x534c74[_0x341f('0x22')](_0x2d57fe)&&!_0x534c74[_0x341f('0xb')](_0x2d57fe)&&_0x534c74['checkChild'](_0x2d57fe,_0x341f('0x2e'))){if(!_0x35f160[_0x341f('0x4')][_0x341f('0x2')](_0x5aea1e[_0x341f('0x13')],_0x4e5e6c[_0x341f('0xa')]))return;const _0x574058=_0x35f160[_0x341f('0x1b')]['createUIElement'](_0x341f('0x26'),{'class':'ck-suggestion-marker-split'}),_0x251a91=_0x35f160[_0x341f('0x7')]['toViewPosition'](_0x1455ce);_0x295f77&&_0x5b3a3a[_0x341f('0xd')][_0x341f('0x5')](_0x5aea1e['markerName'])&&_0x35f160['writer'][_0x341f('0x19')](_0x341f('0x16'),_0x574058),_0x35f160[_0x341f('0x1b')][_0x341f('0x1f')](_0x251a91,_0x574058),_0x35f160[_0x341f('0x7')][_0x341f('0x2b')](_0x574058,_0x5aea1e[_0x341f('0x17')]);}};}
|
|
@@ -1,17 +1,17 @@
|
|
|
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 track-changes/integrations/removeformat
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for remove format feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesRemoveFormat extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
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 track-changes/integrations/removeformat
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for remove format feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesRemoveFormat extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ac4=['afterInit','_registerLegacyDescription','get','type','formatInline','editor','_enableDefaultAttributesIntegration','plugins','commandName','removeFormat','format','*Remove\x20all\x20formatting*','_descriptionFactory','locale','TrackChangesEditing'];(function(_0x2f108f,_0x1ac40f){const _0x456d3b=function(_0x21f4d5){while(--_0x21f4d5){_0x2f108f['push'](_0x2f108f['shift']());}};_0x456d3b(++_0x1ac40f);}(_0x1ac4,0x129));const _0x456d=function(_0x2f108f,_0x1ac40f){_0x2f108f=_0x2f108f-0x0;let _0x456d3b=_0x1ac4[_0x2f108f];return _0x456d3b;};import{Plugin as _0x511605}from'ckeditor5/src/core';import{getTranslation as _0x3264e3}from'../utils/common-translations';export default class mt extends _0x511605{[_0x456d('0x3')](){const _0x1e49f9=this[_0x456d('0x8')];if(!_0x1e49f9['plugins']['has']('RemoveFormatEditing'))return;_0x1e49f9[_0x456d('0xa')][_0x456d('0x5')](_0x456d('0x2'))[_0x456d('0x9')](_0x456d('0xc')),this[_0x456d('0x4')]();}[_0x456d('0x4')](){const _0x21ab10=this[_0x456d('0x8')];_0x21ab10['plugins'][_0x456d('0x5')](_0x456d('0x2'))[_0x456d('0x0')]['registerDescriptionCallback'](_0x1ab5a9=>{if('formatBlock'!=_0x1ab5a9[_0x456d('0x6')]&&_0x456d('0x7')!=_0x1ab5a9[_0x456d('0x6')])return;const {data:_0x98d94a}=_0x1ab5a9;return _0x98d94a&&_0x456d('0xc')==_0x98d94a[_0x456d('0xb')]?{'type':_0x456d('0xd'),'content':_0x3264e3(_0x21ab10[_0x456d('0x1')],_0x456d('0xe'))}:void 0x0;});}}
|
|
@@ -1,17 +1,17 @@
|
|
|
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 track-changes/integrations/mention
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for restricted editing mode feature from restricted editing package.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesRestrictedEditingMode extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
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 track-changes/integrations/mention
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for restricted editing mode feature from restricted editing package.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesRestrictedEditingMode extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10be=['goToPreviousRestrictedEditingException','enableCommand','acceptSuggestion','acceptAllSuggestions','get','plugins','has','RestrictedEditingModeEditing','afterInit','discardSuggestion','TrackChangesEditing','editor','discardAllSuggestions','discardSelectedSuggestions','acceptSelectedSuggestions'];(function(_0x58c7a1,_0x10be08){const _0x5a8cf0=function(_0x3f999b){while(--_0x3f999b){_0x58c7a1['push'](_0x58c7a1['shift']());}};_0x5a8cf0(++_0x10be08);}(_0x10be,0x1d9));const _0x5a8c=function(_0x58c7a1,_0x10be08){_0x58c7a1=_0x58c7a1-0x0;let _0x5a8cf0=_0x10be[_0x58c7a1];return _0x5a8cf0;};import{Plugin as _0x1b693a}from'ckeditor5/src/core';export default class dt extends _0x1b693a{[_0x5a8c('0x0')](){const _0x24c6e5=this[_0x5a8c('0x3')];if(!_0x24c6e5[_0x5a8c('0xc')][_0x5a8c('0xd')](_0x5a8c('0xe')))return;const _0x421aea=_0x24c6e5[_0x5a8c('0xc')][_0x5a8c('0xb')](_0x5a8c('0x2'));_0x421aea[_0x5a8c('0x8')](_0x5a8c('0x7')),_0x421aea[_0x5a8c('0x8')]('goToNextRestrictedEditingException');const _0x5a30f7=_0x24c6e5[_0x5a8c('0xc')][_0x5a8c('0xb')](_0x5a8c('0xe'));_0x5a30f7['enableCommand']('trackChanges'),_0x5a30f7['enableCommand'](_0x5a8c('0x9')),_0x5a30f7['enableCommand'](_0x5a8c('0x1')),_0x5a30f7[_0x5a8c('0x8')](_0x5a8c('0xa')),_0x5a30f7[_0x5a8c('0x8')](_0x5a8c('0x4')),_0x5a30f7[_0x5a8c('0x8')](_0x5a8c('0x6')),_0x5a30f7[_0x5a8c('0x8')](_0x5a8c('0x5'));}}
|
|
@@ -1,16 +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 track-changes/integrations/shiftentercommand
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { ShiftEnter } from 'ckeditor5/src/enter';
|
|
10
|
-
/**
|
|
11
|
-
* Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
|
|
12
|
-
*/
|
|
13
|
-
export default class TrackChangesShiftEnterCommand extends Plugin {
|
|
14
|
-
static get requires(): readonly [typeof ShiftEnter];
|
|
15
|
-
init(): void;
|
|
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 track-changes/integrations/shiftentercommand
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import { ShiftEnter } from 'ckeditor5/src/enter';
|
|
10
|
+
/**
|
|
11
|
+
* Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
|
|
12
|
+
*/
|
|
13
|
+
export default class TrackChangesShiftEnterCommand extends Plugin {
|
|
14
|
+
static get requires(): readonly [typeof ShiftEnter];
|
|
15
|
+
init(): void;
|
|
16
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa68c=['consumable','get','softBreak','plugins','insert','element','enableCommand','_descriptionFactory','addClass','span','TrackChangesEditing','editing','addMarker:suggestion:deletion','addMarker:suggestion:insertion','toViewPosition','activeMarkers','bindElementToMarker','getItems','data','mapper','options','split','downcastDispatcher','writer','init','high','markerName','name','model','shiftEnter','test','ELEMENT_LINE_BREAK','registerElementLabel','ck-suggestion-marker-','createPositionBefore','locale','merge','requires','markerRange'];(function(_0x57013c,_0xa68ced){const _0x477fb3=function(_0x3c6a9b){while(--_0x3c6a9b){_0x57013c['push'](_0x57013c['shift']());}};_0x477fb3(++_0xa68ced);}(_0xa68c,0x1d1));const _0x477f=function(_0x57013c,_0xa68ced){_0x57013c=_0x57013c-0x0;let _0x477fb3=_0xa68c[_0x57013c];return _0x477fb3;};import{Plugin as _0x2b3bc2}from'ckeditor5/src/core';import{ShiftEnter as _0x5c6887}from'ckeditor5/src/enter';import{getTranslation as _0x17219d}from'../utils/common-translations';export default class pt extends _0x2b3bc2{static get[_0x477f('0x1')](){return[_0x5c6887];}[_0x477f('0x1b')](){const _0x254bb8=this['editor'],_0xf47853=_0x254bb8[_0x477f('0x6')][_0x477f('0x4')](_0x477f('0xd'));_0xf47853[_0x477f('0x9')](_0x477f('0x20')),_0x254bb8['editing'][_0x477f('0x19')]['on'](_0x477f('0x10'),re(_0x254bb8),{'priority':_0x477f('0x1c')}),_0x254bb8[_0x477f('0xe')][_0x477f('0x19')]['on'](_0x477f('0xf'),re(_0x254bb8),{'priority':_0x477f('0x1c')}),_0x254bb8[_0x477f('0x15')][_0x477f('0x19')]['on']('addMarker:suggestion',(_0xd7a0b9,_0x5a3e06,_0x3866ff)=>{_0x3866ff[_0x477f('0x17')]['showSuggestionHighlights']&&re(_0x254bb8,{'showActiveMarker':!0x1})(_0xd7a0b9,_0x5a3e06,_0x3866ff);}),_0xf47853[_0x477f('0xa')][_0x477f('0x23')]('softBreak',_0x51c0f0=>_0x17219d(_0x254bb8[_0x477f('0x26')],_0x477f('0x22'),_0x51c0f0));}}function re(_0xfa5516,{showActiveMarker:_0x37482a=!0x0}={}){return(_0x4a2c62,_0x40c70f,_0xc01fad)=>{const _0x9d9b36=_0xfa5516[_0x477f('0x6')][_0x477f('0x4')](_0x477f('0xd'));if(!_0xc01fad[_0x477f('0x3')][_0x477f('0x21')](_0x40c70f[_0x477f('0x2')],_0x4a2c62[_0x477f('0x1e')]))return;const _0x1e056f=_0xfa5516[_0x477f('0x1f')];for(const _0x3eb4c7 of _0x40c70f[_0x477f('0x2')][_0x477f('0x14')]()){if(!_0x3eb4c7['is'](_0x477f('0x8'),_0x477f('0x5')))continue;const _0x27cf59='deletion'==_0x40c70f[_0x477f('0x1d')]['split'](':')[0x1]?_0x477f('0x0'):_0x477f('0x18'),_0x2567be=_0xc01fad[_0x477f('0x1a')]['createUIElement'](_0x477f('0xc'),{'class':_0x477f('0x24')+_0x27cf59}),_0x1dd54f=_0xc01fad[_0x477f('0x16')][_0x477f('0x11')](_0x1e056f[_0x477f('0x25')](_0x3eb4c7));_0x37482a&&_0x9d9b36[_0x477f('0x12')]['includes'](_0x40c70f[_0x477f('0x1d')])&&_0xc01fad['writer'][_0x477f('0xb')]('ck-suggestion-marker--active',_0x2567be),_0xc01fad[_0x477f('0x1a')][_0x477f('0x7')](_0x1dd54f,_0x2567be),_0xc01fad['mapper'][_0x477f('0x13')](_0x2567be,_0x40c70f[_0x477f('0x1d')]);}};}
|
|
@@ -1,17 +1,17 @@
|
|
|
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 track-changes/integrations/mention
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for standard editing mode feature from restricted editing package.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesStandardEditingMode extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
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 track-changes/integrations/mention
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for standard editing mode feature from restricted editing package.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesStandardEditingMode extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33b3=['commandParams','document','FORMAT_RESTRICTED_ENABLED','get','value','forceValue','formatBlock','afterInit','markInlineFormat','selection','editor','restrictedEditingException','has','type','TrackChangesEditing','change','getRanges','StandardEditingModeEditing','format','plugins','registerDescriptionCallback','model','formatInline','locale','commandName','commands','isCollapsed'];(function(_0x36777b,_0x33b301){const _0x30f0fb=function(_0x24a6ba){while(--_0x24a6ba){_0x36777b['push'](_0x36777b['shift']());}};_0x30f0fb(++_0x33b301);}(_0x33b3,0x149));const _0x30f0=function(_0x36777b,_0x33b301){_0x36777b=_0x36777b-0x0;let _0x30f0fb=_0x33b3[_0x36777b];return _0x30f0fb;};import{Plugin as _0x3f89d3}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x5ed484}from'./utils';import{getTranslation as _0x2eaa68}from'../utils/common-translations';export default class kt extends _0x3f89d3{[_0x30f0('0x2')](){const _0x599a7a=this[_0x30f0('0x5')],_0x5ae9bb=_0x599a7a[_0x30f0('0x10')],_0x485bae=_0x599a7a[_0x30f0('0x12')];if(!_0x599a7a[_0x30f0('0xe')][_0x30f0('0x7')](_0x30f0('0xc')))return;const _0x152a8e=_0x599a7a[_0x30f0('0xe')][_0x30f0('0x19')](_0x30f0('0x9')),_0x7b87ad=_0x30f0('0x6'),_0x563a9c=_0x599a7a[_0x30f0('0x14')][_0x30f0('0x19')](_0x7b87ad);_0x152a8e['enableCommand'](_0x7b87ad,(_0x219bc5,_0x551f35={})=>{const _0x27ddc7=_0x5ae9bb[_0x30f0('0x17')][_0x30f0('0x4')];if(_0x27ddc7[_0x30f0('0x15')])return void _0x219bc5(_0x551f35);const _0x3aa6cb=void 0x0!==_0x551f35[_0x30f0('0x0')]?_0x551f35['forceValue']:!_0x563a9c[_0x30f0('0x1a')];_0x5ae9bb[_0x30f0('0xa')](()=>{const _0xc3ec92=Array['from'](_0x27ddc7[_0x30f0('0xb')]());for(const _0x567765 of _0xc3ec92){const _0xc2e46a=_0x3aa6cb?[_0x567765]:_0x5ed484(_0x7b87ad,_0x567765,_0x5ae9bb);for(const _0x2c41a0 of _0xc2e46a)_0x152a8e[_0x30f0('0x3')](_0x2c41a0,{'commandName':_0x7b87ad,'commandParams':[{'forceValue':_0x3aa6cb}]});}});}),_0x152a8e['_descriptionFactory'][_0x30f0('0xf')](_0x25318e=>{if(_0x30f0('0x1')!=_0x25318e['type']&&_0x30f0('0x11')!=_0x25318e[_0x30f0('0x8')])return;const {data:_0x2cc47f}=_0x25318e;return _0x2cc47f&&_0x2cc47f[_0x30f0('0x13')]==_0x7b87ad?_0x2cc47f[_0x30f0('0x16')][0x0][_0x30f0('0x0')]?{'type':_0x30f0('0xd'),'content':_0x2eaa68(_0x485bae,_0x30f0('0x18'))}:{'type':_0x30f0('0xd'),'content':_0x2eaa68(_0x485bae,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}}
|
|
@@ -1,18 +1,17 @@
|
|
|
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 track-changes/integrations/style
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for styles dropdown feature.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
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 track-changes/integrations/style
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for styles dropdown feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesStylesDropdown extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e19=['commandName','element','GeneralHtmlSupport','has','block','_descriptionFactory','locale','inline','plugins','FORMAT_STYLE','normalizeConfig','toLowerCase','getGhsAttributeNameForElement','forceValue','TrackChangesEditing','formatInline','registerAttributeLabel','styleName','StyleUtils','_registerInlineAttribute','formatBlock','registerDescriptionCallback','*Remove\x20format:*\x20%0','add','*Set\x20format:*\x20%0','config','format','_registerLegacyDescription','DataSchema','editor','style','get','commandParams','type'];(function(_0x1b813a,_0x4e190f){const _0x190d8f=function(_0x139872){while(--_0x139872){_0x1b813a['push'](_0x1b813a['shift']());}};_0x190d8f(++_0x4e190f);}(_0x4e19,0xd7));const _0x190d=function(_0x1b813a,_0x4e190f){_0x1b813a=_0x1b813a-0x0;let _0x190d8f=_0x4e19[_0x1b813a];return _0x190d8f;};import{Plugin as _0x3a9697}from'ckeditor5/src/core';import{getTranslation as _0x1c1800}from'../utils/common-translations';export default class bt extends _0x3a9697{['afterInit'](){const _0x6f18cf=this[_0x190d('0x12')];if(!_0x6f18cf[_0x190d('0x1f')][_0x190d('0x1a')]('Style')||!_0x6f18cf[_0x190d('0x1f')][_0x190d('0x1a')](_0x190d('0x11')))return;const _0x42775c=_0x6f18cf['plugins'][_0x190d('0x14')](_0x190d('0x3')),_0xd62422=_0x6f18cf[_0x190d('0x1d')],_0x3f9f05=_0x6f18cf[_0x190d('0xe')][_0x190d('0x14')](_0x190d('0x13')),_0x16c6a7=_0x6f18cf[_0x190d('0x1f')]['get'](_0x190d('0x19')),_0x266560=_0x6f18cf[_0x190d('0x1f')][_0x190d('0x14')](_0x190d('0x7'))[_0x190d('0x21')](_0x6f18cf[_0x190d('0x1f')]['get']('DataSchema'),_0x3f9f05['definitions']);_0x42775c['_enableDefaultAttributesIntegration'](_0x190d('0x13'));const _0x483895=new Set();for(const _0x200068 of _0x266560[_0x190d('0x1b')]){const _0x5a1d60=_0x16c6a7['getGhsAttributeNameForElement'](_0x200068[_0x190d('0x18')]);_0x483895[_0x190d('0xc')](_0x5a1d60);}const _0x1d3c19=new Set();for(const _0x1d11ab of _0x266560[_0x190d('0x1e')]){const _0x175f75=_0x16c6a7[_0x190d('0x1')](_0x1d11ab[_0x190d('0x18')]);_0x1d3c19['add'](_0x175f75);for(const _0x4d35c9 of _0x1d11ab['ghsAttributes'])_0x1d3c19[_0x190d('0xc')](_0x4d35c9);}for(const _0x5173a6 of _0x483895)_0x42775c['_registerBlockAttribute'](_0x5173a6),_0x42775c[_0x190d('0x1c')][_0x190d('0x5')](_0x5173a6,_0x1c1800(_0xd62422,'FORMAT_STYLE'));for(const _0x4f929b of _0x1d3c19)_0x42775c[_0x190d('0x8')](_0x4f929b),_0x42775c[_0x190d('0x1c')][_0x190d('0x5')](_0x4f929b,_0x1c1800(_0xd62422,_0x190d('0x20')));this[_0x190d('0x10')]();}[_0x190d('0x10')](){const _0x525a53=this[_0x190d('0x12')],_0x2fd8b0=_0x525a53['locale'];_0x525a53[_0x190d('0x1f')][_0x190d('0x14')](_0x190d('0x3'))[_0x190d('0x1c')][_0x190d('0xa')](_0x520590=>{if(_0x190d('0x9')!=_0x520590[_0x190d('0x16')]&&_0x190d('0x4')!=_0x520590[_0x190d('0x16')])return;const {data:_0x2e28eb}=_0x520590;return _0x2e28eb&&_0x190d('0x13')===_0x2e28eb[_0x190d('0x17')]?_0x2e28eb[_0x190d('0x15')][0x0][_0x190d('0x2')]?{'type':'format','content':_0x1c1800(_0x2fd8b0,_0x190d('0xd'),_0x2e28eb[_0x190d('0x15')][0x0][_0x190d('0x6')][_0x190d('0x0')]())}:{'type':_0x190d('0xf'),'content':_0x1c1800(_0x2fd8b0,_0x190d('0xb'),_0x2e28eb[_0x190d('0x15')][0x0][_0x190d('0x6')][_0x190d('0x0')]())}:void 0x0;});}}
|