@ckeditor/ckeditor5-track-changes 40.0.0 → 40.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +3 -3
- 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 +76 -0
- package/lang/translations/az.po +76 -0
- package/lang/translations/bg.po +76 -0
- package/lang/translations/bn.po +76 -0
- package/lang/translations/ca.po +76 -0
- package/lang/translations/cs.po +76 -0
- package/lang/translations/da.po +76 -0
- package/lang/translations/de.po +76 -0
- package/lang/translations/el.po +76 -0
- package/lang/translations/en-au.po +76 -0
- package/lang/translations/en.po +76 -0
- package/lang/translations/es.po +76 -0
- package/lang/translations/et.po +76 -0
- package/lang/translations/fi.po +76 -0
- package/lang/translations/fr.po +76 -0
- package/lang/translations/gl.po +76 -0
- package/lang/translations/he.po +76 -0
- package/lang/translations/hi.po +76 -0
- package/lang/translations/hr.po +76 -0
- package/lang/translations/hu.po +76 -0
- package/lang/translations/id.po +76 -0
- package/lang/translations/it.po +76 -0
- package/lang/translations/ja.po +76 -0
- package/lang/translations/ko.po +76 -0
- package/lang/translations/lt.po +76 -0
- package/lang/translations/lv.po +76 -0
- package/lang/translations/ms.po +76 -0
- package/lang/translations/nl.po +76 -0
- package/lang/translations/no.po +76 -0
- package/lang/translations/pl.po +76 -0
- package/lang/translations/pt-br.po +94 -18
- package/lang/translations/pt.po +76 -0
- package/lang/translations/ro.po +76 -0
- package/lang/translations/ru.po +76 -0
- package/lang/translations/sk.po +76 -0
- package/lang/translations/sq.po +76 -0
- package/lang/translations/sr-latn.po +76 -0
- package/lang/translations/sr.po +76 -0
- package/lang/translations/sv.po +76 -0
- package/lang/translations/th.po +76 -0
- package/lang/translations/tk.po +76 -0
- package/lang/translations/tr.po +76 -0
- package/lang/translations/tt.po +76 -0
- package/lang/translations/uk.po +76 -0
- package/lang/translations/ur.po +76 -0
- package/lang/translations/vi.po +76 -0
- package/lang/translations/zh-cn.po +76 -0
- package/lang/translations/zh.po +76 -0
- 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,26 +1,26 @@
|
|
|
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/commands/trackchangescommand
|
|
7
|
-
* @publicApi
|
|
8
|
-
*/
|
|
9
|
-
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
-
/**
|
|
11
|
-
* Turns the track changes mode on and off.
|
|
12
|
-
*
|
|
13
|
-
* When the track changes mode is on, this command disables all the unsupported commands.
|
|
14
|
-
*/
|
|
15
|
-
export default class TrackChangesCommand extends Command {
|
|
16
|
-
value: boolean;
|
|
17
|
-
constructor(editor: Editor, enabledCommands: Set<Command>);
|
|
18
|
-
/**
|
|
19
|
-
* @inheritDoc
|
|
20
|
-
*/
|
|
21
|
-
refresh(): void;
|
|
22
|
-
/**
|
|
23
|
-
* @inheritDoc
|
|
24
|
-
*/
|
|
25
|
-
execute(): void;
|
|
26
|
-
}
|
|
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/commands/trackchangescommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
+
/**
|
|
11
|
+
* Turns the track changes mode on and off.
|
|
12
|
+
*
|
|
13
|
+
* When the track changes mode is on, this command disables all the unsupported commands.
|
|
14
|
+
*/
|
|
15
|
+
export default class TrackChangesCommand extends Command {
|
|
16
|
+
value: boolean;
|
|
17
|
+
constructor(editor: Editor, enabledCommands: Set<Command>);
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
refresh(): void;
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
execute(): void;
|
|
26
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d84=['TrackChangesCommand','has','_disableUnsupportedCommands','_enabledCommands','isEnabled','refresh','editor','_isEnabledBasedOnSelection','commands','forceDisabled','execute','value','affectsData','clearForceDisabled'];(function(_0x32e9f1,_0x4d8430){const _0x445dd7=function(_0x35573c){while(--_0x35573c){_0x32e9f1['push'](_0x32e9f1['shift']());}};_0x445dd7(++_0x4d8430);}(_0x4d84,0x13a));const _0x445d=function(_0x32e9f1,_0x4d8430){_0x32e9f1=_0x32e9f1-0x0;let _0x445dd7=_0x4d84[_0x32e9f1];return _0x445dd7;};import{Command as _0x25a8fe}from'ckeditor5/src/core';export default class $ extends _0x25a8fe{constructor(_0x3f416d,_0x90c391){super(_0x3f416d),this[_0x445d('0xb')]=_0x90c391,this[_0x445d('0x5')]=!0x1,this[_0x445d('0xd')](),this[_0x445d('0x1')]=!0x1;}[_0x445d('0xd')](){this[_0x445d('0xc')]=!0x0;}[_0x445d('0x4')](){this['value']=!this[_0x445d('0x5')],this['value']?this[_0x445d('0xa')]():this['_enableCommands']();}[_0x445d('0xa')](){for(const _0x4edee4 of this[_0x445d('0x0')][_0x445d('0x2')][_0x445d('0x2')]())_0x4edee4['affectsData']&&!this[_0x445d('0xb')][_0x445d('0x9')](_0x4edee4)&&_0x4edee4[_0x445d('0x3')](_0x445d('0x8'));}['_enableCommands'](){for(const _0x5e4612 of this['editor'][_0x445d('0x2')][_0x445d('0x2')]())_0x5e4612[_0x445d('0x6')]&&!this[_0x445d('0xb')]['has'](_0x5e4612)&&_0x5e4612[_0x445d('0x7')](_0x445d('0x8'));}}
|
package/src/index.d.ts
CHANGED
|
@@ -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
|
-
export { default as TrackChanges, type SuggestionData } from './trackchanges';
|
|
6
|
-
export { default as TrackChangesData } from './trackchangesdata';
|
|
7
|
-
export { default as TrackChangesEditing } from './trackchangesediting';
|
|
8
|
-
export type { SuggestionJSON } from './suggestion';
|
|
9
|
-
export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview';
|
|
10
|
-
export type { TrackChangesConfig } from './trackchangesconfig';
|
|
11
|
-
export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand';
|
|
12
|
-
export type { default as DiscardSuggestionCommand } from './commands/discardsuggestioncommand';
|
|
13
|
-
export type { default as ExecuteOnAllSuggestionsCommand } from './commands/executeonallsuggestionscommand';
|
|
14
|
-
export type { default as ExecuteOnSelectedSuggestionsCommand } from './commands/executeonselectedsuggestionscommand';
|
|
15
|
-
export type { default as TrackChangesCommand } from './commands/trackchangescommand';
|
|
16
|
-
import './augmentation';
|
|
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
|
+
export { default as TrackChanges, type SuggestionData, type TrackChangesAdapter } from './trackchanges';
|
|
6
|
+
export { default as TrackChangesData } from './trackchangesdata';
|
|
7
|
+
export { default as TrackChangesEditing } from './trackchangesediting';
|
|
8
|
+
export type { SuggestionJSON } from './suggestion';
|
|
9
|
+
export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview';
|
|
10
|
+
export type { TrackChangesConfig } from './trackchangesconfig';
|
|
11
|
+
export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand';
|
|
12
|
+
export type { default as DiscardSuggestionCommand } from './commands/discardsuggestioncommand';
|
|
13
|
+
export type { default as ExecuteOnAllSuggestionsCommand } from './commands/executeonallsuggestionscommand';
|
|
14
|
+
export type { default as ExecuteOnSelectedSuggestionsCommand } from './commands/executeonselectedsuggestionscommand';
|
|
15
|
+
export type { default as TrackChangesCommand } from './commands/trackchangescommand';
|
|
16
|
+
import './augmentation';
|
|
@@ -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/aiassistant
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for the AI Assistant feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesAIAssistant 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/aiassistant
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for the AI Assistant feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesAIAssistant extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e64=['enableCommand','showAIAssistant','editor','commands','get','TrackChangesEditing'];(function(_0x112545,_0x5e640d){const _0x3de5f8=function(_0xfe2b95){while(--_0xfe2b95){_0x112545['push'](_0x112545['shift']());}};_0x3de5f8(++_0x5e640d);}(_0x5e64,0xac));const _0x3de5=function(_0x112545,_0x5e640d){_0x112545=_0x112545-0x0;let _0x3de5f8=_0x5e64[_0x112545];return _0x3de5f8;};import{Plugin as _0x2acc10}from'ckeditor5/src/core';export default class j extends _0x2acc10{['afterInit'](){const _0x11eb8b=this[_0x3de5('0x4')],_0xddb8e2=_0x11eb8b['plugins']['get'](_0x3de5('0x1'));_0x11eb8b[_0x3de5('0x5')][_0x3de5('0x0')](_0x3de5('0x3'))&&_0xddb8e2[_0x3de5('0x2')]('showAIAssistant');}}
|
|
@@ -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/alignment
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for alignment feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesAlignment 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/alignment
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for alignment feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesAlignment extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2adb=['TrackChangesEditing','locale','right','formatBlock','center','plugins','format','_registerLegacyDescription','afterInit','*Format:*\x20%0','FORMAT_ALIGN_TO_RIGHT','FORMAT_ALIGN_TO_LEFT','FORMAT_JUSTIFY_TEXT','registerDescriptionCallback','commandName','_enableDefaultAttributesIntegration','editor','FORMAT_ALIGNMENT','alignment','_descriptionFactory','FORMAT_ALIGN_TO_CENTER','get','has','type','AlignmentEditing'];(function(_0x512dd9,_0x2adbab){const _0x4db0aa=function(_0x409baf){while(--_0x409baf){_0x512dd9['push'](_0x512dd9['shift']());}};_0x4db0aa(++_0x2adbab);}(_0x2adb,0x1b9));const _0x4db0=function(_0x512dd9,_0x2adbab){_0x512dd9=_0x512dd9-0x0;let _0x4db0aa=_0x2adb[_0x512dd9];return _0x4db0aa;};import{Plugin as _0x46f3df}from'ckeditor5/src/core';import{getTranslation as _0xe8cd67}from'../utils/common-translations';export default class U extends _0x46f3df{[_0x4db0('0x11')](){const _0x2867e5=this['editor'],_0x53cc24=_0x2867e5[_0x4db0('0xa')];if(!_0x2867e5[_0x4db0('0xe')][_0x4db0('0x6')](_0x4db0('0x8')))return;const _0xb1619b=_0x2867e5[_0x4db0('0xe')][_0x4db0('0x5')](_0x4db0('0x9'));_0xb1619b[_0x4db0('0x18')](_0x4db0('0x2'),[],[_0x4db0('0x2')]),_0xb1619b[_0x4db0('0x3')]['registerAttributeLabel'](_0x4db0('0x2'),_0xe8cd67(_0x53cc24,_0x4db0('0x1'))),this[_0x4db0('0x10')]();}[_0x4db0('0x10')](){const _0x4ba405=this[_0x4db0('0x0')],_0x1efb12=_0x4ba405[_0x4db0('0xa')];_0x4ba405['plugins']['get']('TrackChangesEditing')[_0x4db0('0x3')][_0x4db0('0x16')](_0x211dd3=>{if(_0x4db0('0xc')!=_0x211dd3[_0x4db0('0x7')])return;const {data:_0x4d4ad3}=_0x211dd3;if(_0x4d4ad3&&'alignment'==_0x4d4ad3[_0x4db0('0x17')]){const _0xb233d5=_0x4d4ad3['commandParams'][0x0]['value'];return{'type':_0x4db0('0xf'),'content':_0xe8cd67(_0x1efb12,_0x4db0('0x12'),function(_0x3ee9e9){switch(_0x3ee9e9){case'left':return _0xe8cd67(_0x1efb12,_0x4db0('0x14'));case _0x4db0('0xb'):return _0xe8cd67(_0x1efb12,_0x4db0('0x13'));case _0x4db0('0xd'):return _0xe8cd67(_0x1efb12,_0x4db0('0x4'));case'justify':return _0xe8cd67(_0x1efb12,_0x4db0('0x15'));}}(_0xb233d5))};}});}}
|
|
@@ -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/basicstyles
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for basic styles features.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesBasicStyles 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/basicstyles
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for basic styles features.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesBasicStyles extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f99=['strikethrough','*Format:*\x20%0','underline','registerDescriptionCallback','registerAttributeLabel','has','toUpperCase','BoldEditing','forceValue','SuperscriptEditing','FORMAT_CODE','_registerLegacyDescription','subscript','*Remove\x20format:*\x20%0','formatInline','_descriptionFactory','code','FORMAT_ITALIC','FORMAT_','commandParams','FORMAT_SUBSCRIPT','bold','plugins','SubscriptEditing','ItalicEditing','StrikethroughEditing','commandName','get','italic','FORMAT_UNDERLINE','format','TrackChangesEditing','editor','locale','type','UnderlineEditing','slice','toLowerCase'];(function(_0x5b967e,_0x1f9922){const _0x38dce3=function(_0x557e0b){while(--_0x557e0b){_0x5b967e['push'](_0x5b967e['shift']());}};_0x38dce3(++_0x1f9922);}(_0x1f99,0x1e5));const _0x38dc=function(_0x5b967e,_0x1f9922){_0x5b967e=_0x5b967e-0x0;let _0x38dce3=_0x1f99[_0x5b967e];return _0x38dce3;};import{Plugin as _0x1f30d7}from'ckeditor5/src/core';import{getTranslation as _0x275a70}from'../utils/common-translations';const ti=[_0x38dc('0x10'),_0x38dc('0x21'),_0x38dc('0x6'),'CodeEditing',_0x38dc('0x22'),_0x38dc('0x20'),_0x38dc('0x12')];export default class O extends _0x1f30d7{['afterInit'](){const _0x39e63c=this[_0x38dc('0x3')],_0x49f415=_0x39e63c['plugins']['get'](_0x38dc('0x2')),_0x4ae2c5=_0x39e63c[_0x38dc('0x4')];for(const _0x155d5c of ti){if(!_0x39e63c[_0x38dc('0x1f')][_0x38dc('0xe')](_0x155d5c))continue;const _0x3a4bdd=_0x155d5c[_0x38dc('0x7')](0x0,-0x7)[_0x38dc('0x8')](),_0x303d1b=_0x38dc('0x1b')+_0x3a4bdd[_0x38dc('0xf')]();_0x49f415['_enableDefaultAttributesIntegration'](_0x3a4bdd,[_0x3a4bdd]),_0x49f415[_0x38dc('0x18')][_0x38dc('0xd')](_0x3a4bdd,_0x275a70(_0x4ae2c5,_0x303d1b));}this[_0x38dc('0x14')]();}[_0x38dc('0x14')](){const _0x535aba=this[_0x38dc('0x3')],_0x1a1c2e=_0x535aba[_0x38dc('0x4')],_0x2d1bfd=_0x535aba[_0x38dc('0x1f')][_0x38dc('0x24')](_0x38dc('0x2'));function _0x25dfaa(_0xf1afd5,_0x11c413){_0x2d1bfd[_0x38dc('0x18')][_0x38dc('0xc')](_0xd23a5=>{if(_0x38dc('0x17')!=_0xd23a5[_0x38dc('0x5')])return;const {data:_0x288039}=_0xd23a5;return _0x288039&&_0x288039[_0x38dc('0x23')]===_0xf1afd5?_0x288039[_0x38dc('0x1c')][0x0][_0x38dc('0x11')]?{'type':_0x38dc('0x1'),'content':_0x275a70(_0x1a1c2e,_0x38dc('0xa'),_0x11c413)}:{'type':_0x38dc('0x1'),'content':_0x275a70(_0x1a1c2e,_0x38dc('0x16'),_0x11c413)}:void 0x0;});}_0x25dfaa(_0x38dc('0x1e'),_0x275a70(_0x1a1c2e,'FORMAT_BOLD')),_0x25dfaa(_0x38dc('0x25'),_0x275a70(_0x1a1c2e,_0x38dc('0x1a'))),_0x25dfaa(_0x38dc('0xb'),_0x275a70(_0x1a1c2e,_0x38dc('0x0'))),_0x25dfaa(_0x38dc('0x19'),_0x275a70(_0x1a1c2e,_0x38dc('0x13'))),_0x25dfaa(_0x38dc('0x9'),_0x275a70(_0x1a1c2e,'FORMAT_STRIKETHROUGH')),_0x25dfaa(_0x38dc('0x15'),_0x275a70(_0x1a1c2e,_0x38dc('0x1d'))),_0x25dfaa('superscript',_0x275a70(_0x1a1c2e,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -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/blockquote
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for block quote feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesBlockQuote 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/blockquote
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for block quote feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesBlockQuote extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29be=['model','name','getSelectedBlocks','blockQuote','checkChild','from','BlockQuoteEditing','filter','commandParams','format','ELEMENT_BLOCK_QUOTE','forceValue','plugins','has','enableCommand','value','markBlockFormat','editor','*Set\x20format:*\x20%0','parent','commands','locale','registerDescriptionCallback','TrackChangesEditing','get','_descriptionFactory'];(function(_0xe69a04,_0x29bea5){const _0x148075=function(_0x9be0cd){while(--_0x9be0cd){_0xe69a04['push'](_0xe69a04['shift']());}};_0x148075(++_0x29bea5);}(_0x29be,0xa0));const _0x1480=function(_0xe69a04,_0x29bea5){_0xe69a04=_0xe69a04-0x0;let _0x148075=_0x29be[_0xe69a04];return _0x148075;};import{Plugin as _0x46c32d}from'ckeditor5/src/core';import{getTranslation as _0x4a63b3}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2761d1}from'../utils/utils';export default class V extends _0x46c32d{['afterInit'](){const _0x3cf64e=this[_0x1480('0xd')],_0x28b70c=_0x3cf64e[_0x1480('0x11')];if(!_0x3cf64e[_0x1480('0x8')][_0x1480('0x9')](_0x1480('0x2')))return;const _0x5e41e7=_0x3cf64e['plugins']['get'](_0x1480('0x13')),_0x3adeea=this[_0x1480('0xd')][_0x1480('0x10')][_0x1480('0x14')]('blockQuote');_0x5e41e7[_0x1480('0xa')](_0x1480('0x19'),(_0xab0e5a,_0x5d462a={})=>{const _0x12de49=this['editor'][_0x1480('0x16')]['document']['selection'],_0x4dd338=_0x5d462a&&void 0x0!==_0x5d462a[_0x1480('0x7')]?_0x5d462a[_0x1480('0x7')]:!_0x3adeea[_0x1480('0xb')];let _0x221b95=[];if(_0x4dd338){const _0x44009c=Array['from'](_0x12de49[_0x1480('0x18')]())[_0x1480('0x3')](_0x54b2e0=>eo(_0x54b2e0)||function(_0x170587,_0x169ec5){const _0x20ac74=_0x169ec5[_0x1480('0x0')](_0x170587[_0x1480('0xf')],_0x1480('0x19')),_0x4096e9=_0x169ec5[_0x1480('0x0')](['$root','blockQuote'],_0x170587);return _0x20ac74&&_0x4096e9;}(_0x54b2e0,this[_0x1480('0xd')][_0x1480('0x16')]['schema']));_0x221b95=_0x2761d1(_0x44009c,_0x3cf64e[_0x1480('0x16')]);}else{const _0x1c4c1b=Array[_0x1480('0x1')](_0x12de49['getSelectedBlocks']())[_0x1480('0x3')](_0xf3b94f=>eo(_0xf3b94f));_0x221b95=_0x2761d1(_0x1c4c1b,_0x3cf64e[_0x1480('0x16')]);}_0x3cf64e[_0x1480('0x16')]['change'](()=>{for(const _0x426b8a of _0x221b95)_0x5e41e7[_0x1480('0xc')](_0x426b8a,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x4dd338}]});});}),_0x5e41e7[_0x1480('0x15')][_0x1480('0x12')](_0x4e8869=>{const {data:_0x33fe50}=_0x4e8869;if(_0x33fe50&&_0x1480('0x19')==_0x33fe50['commandName']){const _0x4ad0eb=_0x4a63b3(_0x28b70c,_0x1480('0x6'));return _0x33fe50[_0x1480('0x4')][0x0][_0x1480('0x7')]?{'type':_0x1480('0x5'),'content':_0x4a63b3(_0x28b70c,_0x1480('0xe'),_0x4ad0eb)}:{'type':_0x1480('0x5'),'content':_0x4a63b3(_0x28b70c,'*Remove\x20format:*\x20%0',_0x4ad0eb)};}});}}function eo(_0x342880){return _0x1480('0x19')==_0x342880['parent'][_0x1480('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/ckbox
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for the CKBox feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesCKBox 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/ckbox
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for the CKBox feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesCKBox extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d9b=['ckbox','plugins','get','TrackChangesEditing','editor','afterInit','enableCommand'];(function(_0x2f6894,_0x5d9b94){const _0x27f714=function(_0x230bd2){while(--_0x230bd2){_0x2f6894['push'](_0x2f6894['shift']());}};_0x27f714(++_0x5d9b94);}(_0x5d9b,0x12b));const _0x27f7=function(_0x2f6894,_0x5d9b94){_0x2f6894=_0x2f6894-0x0;let _0x27f714=_0x5d9b[_0x2f6894];return _0x27f714;};import{Plugin as _0x5da118}from'ckeditor5/src/core';export default class F extends _0x5da118{[_0x27f7('0x0')](){const _0x300c3c=this[_0x27f7('0x6')];_0x300c3c['commands'][_0x27f7('0x4')](_0x27f7('0x2'))&&_0x300c3c[_0x27f7('0x3')][_0x27f7('0x4')](_0x27f7('0x5'))[_0x27f7('0x1')]('ckbox');}}
|
|
@@ -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/codeblock
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for code block feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesCodeBlock 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/codeblock
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for code block feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesCodeBlock extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d89=['rootElement','type','change','label','from','registerDescriptionCallback','afterInit','language','forceValue','get','formatBlock','filter','commandName','document','isLimit','plugins','model','TrackChangesEditing','outdentCodeBlock','format','codeBlock','parent','enableCommand','*Set\x20format:*\x20%0','toLowerCase','config','ELEMENT_CODE_BLOCK','editor','commandParams','indentCodeBlock','commands','getSelectedBlocks','CodeBlock','*Remove\x20format:*\x20%0','markBlockFormat','checkChild','locale'];(function(_0x18eda2,_0x5d8911){const _0x2ff416=function(_0x37119c){while(--_0x37119c){_0x18eda2['push'](_0x18eda2['shift']());}};_0x2ff416(++_0x5d8911);}(_0x5d89,0xcc));const _0x2ff4=function(_0x18eda2,_0x5d8911){_0x18eda2=_0x18eda2-0x0;let _0x2ff416=_0x5d89[_0x18eda2];return _0x2ff416;};import{Plugin as _0x5338a4}from'ckeditor5/src/core';import{getTranslation as _0x57fb46}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4fefee}from'../utils/utils';export default class G extends _0x5338a4{[_0x2ff4('0x18')](){const _0x1e02c9=this[_0x2ff4('0x8')];if(!_0x1e02c9[_0x2ff4('0x21')]['has'](_0x2ff4('0xd')))return;const _0x442d27=_0x1e02c9[_0x2ff4('0x21')][_0x2ff4('0x1b')](_0x2ff4('0x23')),_0x5998e8=_0x1e02c9[_0x2ff4('0x11')],_0x55bba1=_0x1e02c9[_0x2ff4('0x6')]['get']('codeBlock')['languages'],_0x54b2fc=_0x1e02c9[_0x2ff4('0xb')][_0x2ff4('0x1b')](_0x2ff4('0x1'));_0x442d27['enableCommand'](_0x2ff4('0xa')),_0x442d27[_0x2ff4('0x3')](_0x2ff4('0x24')),_0x442d27[_0x2ff4('0x3')](_0x2ff4('0x1'),(_0x156387,_0x1f7c52={})=>{const _0x2d1429=_0x1e02c9[_0x2ff4('0x22')],_0x2470e8=_0x1e02c9[_0x2ff4('0x22')][_0x2ff4('0x1f')]['selection'],_0x1e9840=_0x1f7c52&&void 0x0!==_0x1f7c52[_0x2ff4('0x1a')]?_0x1f7c52['forceValue']:!_0x54b2fc['value'];let _0x38c68c;_0x1f7c52['language']||(_0x1f7c52[_0x2ff4('0x19')]=_0x55bba1[0x0]['language']),_0x38c68c=_0x1e9840?Array[_0x2ff4('0x16')](_0x2470e8[_0x2ff4('0xc')]())[_0x2ff4('0x1d')](_0x52b06f=>ro(_0x52b06f)||function(_0x540b72,_0xa922ee){if(_0x540b72['is'](_0x2ff4('0x12'))||_0xa922ee[_0x2ff4('0x20')](_0x540b72))return!0x1;return _0xa922ee[_0x2ff4('0x10')](_0x540b72[_0x2ff4('0x2')],'codeBlock');}(_0x52b06f,_0x2d1429['schema'])):Array[_0x2ff4('0x16')](_0x2470e8[_0x2ff4('0xc')]())[_0x2ff4('0x1d')](_0x113dfd=>ro(_0x113dfd));const _0x5b1bb3=_0x4fefee(_0x38c68c,_0x2d1429);_0x2d1429[_0x2ff4('0x14')](()=>{for(const _0x4e9792 of _0x5b1bb3)_0x442d27[_0x2ff4('0xf')](_0x4e9792,{'commandName':_0x2ff4('0x1'),'commandParams':[{..._0x1f7c52,'forceValue':_0x1e9840}],'formatGroupId':'blockName'});});}),(_0x442d27['_descriptionFactory']['registerElementLabel'](_0x2ff4('0x1'),_0x130515=>_0x57fb46(_0x5998e8,'ELEMENT_CODE_BLOCK',_0x130515)),_0x442d27['_descriptionFactory'][_0x2ff4('0x17')](_0x203bc8=>{if(_0x2ff4('0x1c')!=_0x203bc8[_0x2ff4('0x13')])return;const _0x5c7afa=_0x5998e8['t'],{data:_0x208681}=_0x203bc8;if(!_0x208681||_0x2ff4('0x1')!=_0x208681[_0x2ff4('0x1e')])return;const _0x2c999e=_0x208681[_0x2ff4('0x9')][0x0]['language'],_0x3be4a9=_0x5c7afa(_0x55bba1['find'](_0x50d5c6=>_0x50d5c6[_0x2ff4('0x19')]===_0x2c999e)[_0x2ff4('0x15')])[_0x2ff4('0x5')]();return _0x208681['commandParams'][0x0]['forceValue']?{'type':_0x2ff4('0x0'),'content':_0x57fb46(_0x5998e8,_0x2ff4('0x4'),_0x57fb46(_0x5998e8,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x3be4a9+')')}:{'type':_0x2ff4('0x0'),'content':_0x57fb46(_0x5998e8,_0x2ff4('0xe'),_0x57fb46(_0x5998e8,_0x2ff4('0x7'),0x1))};}));}}function ro(_0x436c30){return _0x2ff4('0x1')==_0x436c30['name'];}
|
|
@@ -1,14 +1,14 @@
|
|
|
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/comments
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for {@link module:comments/comments~Comments comments feature}.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesComments extends Plugin {
|
|
13
|
-
afterInit(): void;
|
|
14
|
-
}
|
|
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/comments
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for {@link module:comments/comments~Comments comments feature}.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesComments extends Plugin {
|
|
13
|
+
afterInit(): void;
|
|
14
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1fc2=['plugins','enableCommand','addCommentThread','has','CommentsEditing','TrackChangesEditing','editor'];(function(_0x2d2e30,_0x1fc2df){const _0x485e75=function(_0x390c30){while(--_0x390c30){_0x2d2e30['push'](_0x2d2e30['shift']());}};_0x485e75(++_0x1fc2df);}(_0x1fc2,0x121));const _0x485e=function(_0x2d2e30,_0x1fc2df){_0x2d2e30=_0x2d2e30-0x0;let _0x485e75=_0x1fc2[_0x2d2e30];return _0x485e75;};import{Plugin as _0x1f9bf8}from'ckeditor5/src/core';export default class L extends _0x1f9bf8{['afterInit'](){const _0x2adfdc=this[_0x485e('0x4')];if(!_0x2adfdc[_0x485e('0x5')][_0x485e('0x1')](_0x485e('0x2')))return;_0x2adfdc['plugins']['get'](_0x485e('0x3'))[_0x485e('0x6')](_0x485e('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/deletecommand
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { Delete } from 'ckeditor5/src/typing';
|
|
10
|
-
/**
|
|
11
|
-
* Provides track changes plugin integration for {@link module:typing/inputcommand~DeleteCommand delete command}. Also
|
|
12
|
-
* provides integration {@link module:engine/model/model~Model#deleteContent} as many features use it internally.
|
|
13
|
-
*/
|
|
14
|
-
export default class TrackChangesDeleteCommand extends Plugin {
|
|
15
|
-
static get requires(): readonly [typeof Delete];
|
|
16
|
-
init(): 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/deletecommand
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import { Delete } from 'ckeditor5/src/typing';
|
|
10
|
+
/**
|
|
11
|
+
* Provides track changes plugin integration for {@link module:typing/inputcommand~DeleteCommand delete command}. Also
|
|
12
|
+
* provides integration {@link module:engine/model/model~Model#deleteContent} as many features use it internally.
|
|
13
|
+
*/
|
|
14
|
+
export default class TrackChangesDeleteCommand extends Plugin {
|
|
15
|
+
static get requires(): readonly [typeof Delete];
|
|
16
|
+
init(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49f9=['uiElement','data','getFirstRange','modifySelection','addMarker:suggestion:deletion','batch','end','enqueueChange','bind','mapper','start','createSelection','high','requires','fromRange','remove','markerNameToElements','markerName','editing','merge','delete','init','unit','unlock','rootName','deleteForward','TrackChangesEditing','options','lock','$graveyard','enableCommand','editor','document','downcastDispatcher','createRange','showSuggestionHighlights','get','plugins','buffer','model','root','removeMarker:suggestion:deletion','forward'];(function(_0x18f1d5,_0x49f9bf){const _0x42b847=function(_0x186a0c){while(--_0x186a0c){_0x18f1d5['push'](_0x18f1d5['shift']());}};_0x42b847(++_0x49f9bf);}(_0x49f9,0xcc));const _0x42b8=function(_0x18f1d5,_0x49f9bf){_0x18f1d5=_0x18f1d5-0x0;let _0x42b847=_0x49f9[_0x18f1d5];return _0x42b847;};import{Plugin as _0x3b4210}from'ckeditor5/src/core';import{LiveRange as _0x494138}from'ckeditor5/src/engine';import{Delete as _0x113091}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x2bb482}from'./utils';export default class H extends _0x3b4210{static get[_0x42b8('0x18')](){return[_0x113091];}[_0x42b8('0x20')](){const _0x549011=this[_0x42b8('0x2a')],_0x3a2227=_0x549011[_0x42b8('0x5')][_0x42b8('0x4')](_0x42b8('0x25'));_0x3a2227[_0x42b8('0x29')](_0x42b8('0x1f'));const _0x1d4891=_0x549011['commands'][_0x42b8('0x4')](_0x42b8('0x24'));_0x3a2227[_0x42b8('0x29')](_0x42b8('0x24'),(_0xaf564a,_0x6b83fa={})=>{const _0x1d8106=_0x549011[_0x42b8('0x7')][_0x42b8('0x16')](_0x549011['model'][_0x42b8('0x0')]['selection']);_0x1d8106['isCollapsed']&&_0x549011['model'][_0x42b8('0xe')](_0x1d8106,{'direction':_0x42b8('0xa'),'unit':_0x6b83fa[_0x42b8('0x21')]});const _0x15b14d=_0x1d8106[_0x42b8('0xd')](),_0x40ea31=_0x494138[_0x42b8('0x19')](_0x15b14d);let _0x5838b4;_0xaf564a(_0x6b83fa),_0x5838b4=_0x42b8('0x28')==_0x40ea31[_0x42b8('0x8')][_0x42b8('0x23')]?_0x549011['model'][_0x42b8('0x2')](_0x15b14d['start']):_0x549011[_0x42b8('0x7')][_0x42b8('0x2')](_0x40ea31[_0x42b8('0x15')],_0x40ea31[_0x42b8('0x11')]),_0x40ea31['detach'](),_0x549011[_0x42b8('0x7')][_0x42b8('0x12')](_0x1d4891[_0x42b8('0x6')][_0x42b8('0x10')],_0x51fb08=>{_0x1d4891[_0x42b8('0x6')][_0x42b8('0x27')](),_0x51fb08['setSelection'](_0x51fb08[_0x42b8('0x2')](_0x5838b4[_0x42b8('0x11')])),_0x1d4891[_0x42b8('0x6')][_0x42b8('0x22')]();});}),_0x549011[_0x42b8('0x1d')]['downcastDispatcher']['on'](_0x42b8('0xf'),_0x2bb482(_0x549011,_0x42b8('0x1e')),{'priority':'high'}),_0x549011[_0x42b8('0xc')][_0x42b8('0x1')]['on']('addMarker:suggestion:deletion',(_0x563543,_0x3373d0,_0x16c7dc)=>{_0x16c7dc[_0x42b8('0x26')][_0x42b8('0x3')]&&_0x2bb482(_0x549011,_0x42b8('0x1e'),{'showActiveMarker':!0x1})[_0x42b8('0x13')](this)(_0x563543,_0x3373d0,_0x16c7dc);},{'priority':'high'}),_0x549011['editing'][_0x42b8('0x1')]['on'](_0x42b8('0x9'),(_0x194d95,_0x2ca8eb,_0x589222)=>{const _0x5d8d97=_0x589222[_0x42b8('0x14')][_0x42b8('0x1b')](_0x2ca8eb[_0x42b8('0x1c')]);if(_0x5d8d97)for(const _0x29f305 of _0x5d8d97)_0x29f305['is'](_0x42b8('0xb'))&&(_0x589222[_0x42b8('0x14')]['unbindElementFromMarkerName'](_0x29f305,_0x2ca8eb['markerName']),_0x589222['writer'][_0x42b8('0x1a')](_0x29f305));},{'priority':_0x42b8('0x17')});}}
|