@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231215.0 → 0.0.0-nightly-20231216.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 +1 -1
- package/build/track-changes.js +1 -1
- package/package.json +4 -3
- package/src/augmentation.d.ts +2 -2
- package/src/commands/acceptsuggestioncommand.d.ts +2 -2
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.d.ts +2 -2
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.d.ts +2 -2
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.d.ts +2 -2
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.d.ts +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.d.ts +12 -12
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.d.ts +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.d.ts +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.d.ts +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.d.ts +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.d.ts +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.d.ts +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.d.ts +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.d.ts +2 -2
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.d.ts +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.d.ts +3 -3
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.d.ts +2 -2
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.d.ts +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.d.ts +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.d.ts +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.d.ts +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.d.ts +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.d.ts +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.d.ts +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.d.ts +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.d.ts +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.d.ts +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.d.ts +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.d.ts +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.d.ts +2 -2
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.d.ts +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.d.ts +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.d.ts +3 -3
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.d.ts +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.d.ts +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.d.ts +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.d.ts +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.d.ts +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.d.ts +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.d.ts +2 -2
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.d.ts +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.d.ts +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.d.ts +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.d.ts +2 -2
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.d.ts +2 -2
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.d.ts +4 -4
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.d.ts +2 -2
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.d.ts +2 -2
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.d.ts +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.d.ts +4 -4
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.d.ts +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.d.ts +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.d.ts +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.d.ts +3 -3
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.d.ts +5 -5
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.d.ts +3 -3
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +5 -5
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +1 -1
- package/src/trackchangesdata.d.ts +2 -2
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +53 -53
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.d.ts +3 -3
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.d.ts +5 -5
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.d.ts +6 -6
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.d.ts +5 -5
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.d.ts +4 -4
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4491=['data','ELEMENT_MEDIA','showSuggestionHighlights','createEmptyElement','has','options','plugins','MediaEmbedEditing','locale','TrackChangesEditing','registerElementLabel','downcastDispatcher','div','stop','attribute:url:media','mediaEmbed','get','_descriptionFactory','high','conversion','elementToElement','dataDowncast','enableCommand','media','afterInit'];(function(_0x1734ce,_0x44910d){const _0x141999=function(_0x30fd06){while(--_0x30fd06){_0x1734ce['push'](_0x1734ce['shift']());}};_0x141999(++_0x44910d);}(_0x4491,0xc5));const _0x1419=function(_0x1734ce,_0x44910d){_0x1734ce=_0x1734ce-0x0;let _0x141999=_0x4491[_0x1734ce];return _0x141999;};import{Plugin as _0x8ad636}from'ckeditor5/src/core.js';import{getTranslation as _0x5f0651}from'../utils/common-translations.js';export default class ht extends _0x8ad636{[_0x1419('0x2')](){const _0x50e34d=this['editor'];if(!_0x50e34d[_0x1419('0x9')][_0x1419('0x7')](_0x1419('0xa')))return;const _0x319141=_0x50e34d[_0x1419('0x9')][_0x1419('0x13')](_0x1419('0xc')),_0x1be42d=_0x50e34d[_0x1419('0xb')];_0x319141[_0x1419('0x0')](_0x1419('0x12')),_0x319141[_0x1419('0x14')][_0x1419('0xd')](_0x1419('0x1'),_0x361e13=>_0x5f0651(_0x1be42d,_0x1419('0x4'),_0x361e13)),_0x50e34d[_0x1419('0x16')]['for'](_0x1419('0x18'))[_0x1419('0x17')]({'model':_0x1419('0x1'),'view':(_0x4f3318,{writer:_0xacc8af,options:_0x279819})=>{if(_0x279819[_0x1419('0x5')])return _0xacc8af[_0x1419('0x6')](_0x1419('0xf'));},'converterPriority':_0x1419('0x15')}),_0x50e34d[_0x1419('0x3')][_0x1419('0xe')]['on'](_0x1419('0x11'),(_0x12cd47,_0x15a5ab,_0x49da26)=>{_0x49da26[_0x1419('0x8')][_0x1419('0x5')]&&_0x12cd47[_0x1419('0x10')]();},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2304=['plugins','has','get','mention','editor','afterInit','MentionEditing','TrackChangesEditing','enableCommand'];(function(_0x49ce12,_0x230496){const _0x599778=function(_0x14e1ea){while(--_0x14e1ea){_0x49ce12['push'](_0x49ce12['shift']());}};_0x599778(++_0x230496);}(_0x2304,0x19a));const _0x5997=function(_0x49ce12,_0x230496){_0x49ce12=_0x49ce12-0x0;let _0x599778=_0x2304[_0x49ce12];return _0x599778;};import{Plugin as _0x2e2638}from'ckeditor5/src/core.js';export default class ft extends _0x2e2638{[_0x5997('0x0')](){const _0x3984a1=this[_0x5997('0x8')];_0x3984a1[_0x5997('0x4')][_0x5997('0x5')](_0x5997('0x1'))&&_0x3984a1[_0x5997('0x4')][_0x5997('0x6')](_0x5997('0x2'))[_0x5997('0x3')](_0x5997('0x7'));}}
|
|
@@ -5,7 +5,7 @@
|
|
|
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
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50bb=['ELEMENT_PAGE_BREAK','registerElementLabel','TrackChangesEditing','afterInit','locale','has','PageBreakEditing','pageBreak','enableCommand','get','plugins'];(function(_0x2aef05,_0x50bbb5){const _0x2d5929=function(_0x10fd02){while(--_0x10fd02){_0x2aef05['push'](_0x2aef05['shift']());}};_0x2d5929(++_0x50bbb5);}(_0x50bb,0x118));const _0x2d59=function(_0x2aef05,_0x50bbb5){_0x2aef05=_0x2aef05-0x0;let _0x2d5929=_0x50bb[_0x2aef05];return _0x2d5929;};import{Plugin as _0x2ce76a}from'ckeditor5/src/core.js';import{getTranslation as _0x1c9eba}from'../utils/common-translations.js';export default class gt extends _0x2ce76a{[_0x2d59('0x9')](){const _0x590393=this['editor'];if(!_0x590393[_0x2d59('0x5')][_0x2d59('0x0')](_0x2d59('0x1')))return;_0x590393[_0x2d59('0x5')][_0x2d59('0x4')](_0x2d59('0x8'))[_0x2d59('0x3')](_0x2d59('0x2'));const _0x5d139b=_0x590393[_0x2d59('0x5')][_0x2d59('0x4')](_0x2d59('0x8')),_0x4b6ba8=_0x590393[_0x2d59('0xa')];_0x5d139b['_descriptionFactory'][_0x2d59('0x7')](_0x2d59('0x2'),_0x787636=>_0x1c9eba(_0x4b6ba8,_0x2d59('0x6'),_0x787636));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a31=['span','locale','plugins','registerDescriptionCallback','getFirstRange','consumable','format','isBlock','editor','createUIElement','bindElementToMarker','highest','isLimit','consume','schema','get','isTouching','ck-suggestion-marker--active','_registerLegacyDescription','type','editing','formatBlock','insertion','mapper','addMarker:suggestion:insertion','checkChild','*Change\x20to:*\x20%0','downcastDispatcher','$text','model','markerName','markerRange','start','_enableDefaultAttributesIntegration','data','Paragraph','options','writer','name','has','nodeAfter','end','commandName','insert','*Insert:*\x20%0','_descriptionFactory','paragraph','getItemLabel','TrackChangesEditing','afterInit','showSuggestionHighlights'];(function(_0x582cf3,_0x2a31f9){const _0x344f4c=function(_0x383f1e){while(--_0x383f1e){_0x582cf3['push'](_0x582cf3['shift']());}};_0x344f4c(++_0x2a31f9);}(_0x2a31,0x1d6));const _0x344f=function(_0x582cf3,_0x2a31f9){_0x582cf3=_0x582cf3-0x0;let _0x344f4c=_0x2a31[_0x582cf3];return _0x344f4c;};import{Plugin as _0x2f6622}from'ckeditor5/src/core.js';import{getTranslation as _0x32b567}from'../utils/common-translations.js';export default class lt extends _0x2f6622{[_0x344f('0x26')](){const _0x38e740=this[_0x344f('0x30')];if(!_0x38e740[_0x344f('0x2a')][_0x344f('0x1c')](_0x344f('0x18')))return;const _0x4b0aaa=_0x38e740['locale'],_0x59e29b=_0x38e740['plugins'][_0x344f('0x4')](_0x344f('0x25'));_0x59e29b['_descriptionFactory']['registerElementLabel'](_0x344f('0x23'),_0x293a16=>_0x32b567(_0x4b0aaa,'ELEMENT_PARAGRAPH',_0x293a16)),_0x59e29b[_0x344f('0x16')](_0x344f('0x23')),_0x59e29b['enableCommand']('insertParagraph'),_0x38e740[_0x344f('0x9')][_0x344f('0x10')]['on']('addMarker:suggestion:insertion',nr(_0x38e740),{'priority':_0x344f('0x0')}),_0x38e740[_0x344f('0x17')][_0x344f('0x10')]['on'](_0x344f('0xd'),(_0x58fd95,_0x1b8988,_0x1e1efb)=>{_0x1e1efb[_0x344f('0x19')][_0x344f('0x27')]&&nr(_0x38e740,{'showActiveMarker':!0x1})(_0x58fd95,_0x1b8988,_0x1e1efb);},{'priority':'highest'});const _0x362ff7=_0x59e29b[_0x344f('0x22')];_0x362ff7[_0x344f('0x2b')](_0x4f2ad2=>{if(_0x344f('0xb')!==_0x4f2ad2[_0x344f('0x8')])return;const {start:_0x2917ca,end:_0x2dc854}=_0x4f2ad2[_0x344f('0x2c')]();if(!_0x2917ca[_0x344f('0x5')](_0x2dc854)||!_0x2917ca[_0x344f('0x1d')])return;const _0x15e924=_0x38e740[_0x344f('0x12')]['schema'],_0x3c14d8=_0x2917ca[_0x344f('0x1d')];return _0x15e924['isBlock'](_0x3c14d8)&&!_0x15e924[_0x344f('0x1')](_0x3c14d8)&&_0x15e924['checkChild'](_0x3c14d8,_0x344f('0x11'))?{'type':_0x344f('0xb'),'content':_0x32b567(_0x4b0aaa,_0x344f('0x21'),_0x362ff7[_0x344f('0x24')](_0x3c14d8,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}[_0x344f('0x7')](){const _0x2af86b=this[_0x344f('0x30')],_0x4e2423=_0x2af86b[_0x344f('0x29')];_0x2af86b[_0x344f('0x2a')][_0x344f('0x4')](_0x344f('0x25'))[_0x344f('0x22')][_0x344f('0x2b')](_0xc11fbb=>{if(_0x344f('0xa')!=_0xc11fbb[_0x344f('0x8')])return;const {data:_0x313d31}=_0xc11fbb;return _0x313d31&&'paragraph'==_0x313d31[_0x344f('0x1f')]?{'type':_0x344f('0x2e'),'content':_0x32b567(_0x4e2423,_0x344f('0xf'),_0x32b567(_0x4e2423,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}function nr(_0x2a4e73,{showActiveMarker:_0x56aa63=!0x0}={}){return(_0x1774e7,_0x576eef,_0x112a53)=>{const _0x474ec7=_0x2a4e73[_0x344f('0x2a')][_0x344f('0x4')](_0x344f('0x25')),_0x141899=_0x576eef['markerRange'][_0x344f('0x15')],_0x539e88=_0x576eef[_0x344f('0x14')][_0x344f('0x1e')],_0x20d09a=_0x2a4e73[_0x344f('0x12')][_0x344f('0x3')];if(!_0x141899[_0x344f('0x5')](_0x539e88)||!_0x141899[_0x344f('0x1d')])return;const _0x5b161a=_0x141899[_0x344f('0x1d')];if(_0x20d09a[_0x344f('0x2f')](_0x5b161a)&&!_0x20d09a[_0x344f('0x1')](_0x5b161a)&&_0x20d09a[_0x344f('0xe')](_0x5b161a,_0x344f('0x11'))){if(!_0x112a53[_0x344f('0x2d')][_0x344f('0x2')](_0x576eef['markerRange'],_0x1774e7[_0x344f('0x1b')]))return;const _0x39556c=_0x112a53['writer'][_0x344f('0x31')](_0x344f('0x28'),{'class':'ck-suggestion-marker-split'}),_0x644b84=_0x112a53[_0x344f('0xc')]['toViewPosition'](_0x539e88);_0x56aa63&&_0x474ec7['activeMarkers']['includes'](_0x576eef['markerName'])&&_0x112a53['writer']['addClass'](_0x344f('0x6'),_0x39556c),_0x112a53[_0x344f('0x1a')][_0x344f('0x20')](_0x644b84,_0x39556c),_0x112a53[_0x344f('0xc')][_0x344f('0x32')](_0x39556c,_0x576eef[_0x344f('0x13')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3253=['editor','registerDescriptionCallback','_enableDefaultAttributesIntegration','type','has','commandName','format','get','removeFormat','formatBlock','locale','plugins','*Remove\x20all\x20formatting*','_registerLegacyDescription','afterInit','RemoveFormatEditing','formatInline'];(function(_0x3b02d2,_0x3253f3){const _0x5c08ab=function(_0x329ed8){while(--_0x329ed8){_0x3b02d2['push'](_0x3b02d2['shift']());}};_0x5c08ab(++_0x3253f3);}(_0x3253,0x15c));const _0x5c08=function(_0x3b02d2,_0x3253f3){_0x3b02d2=_0x3b02d2-0x0;let _0x5c08ab=_0x3253[_0x3b02d2];return _0x5c08ab;};import{Plugin as _0x2e81e7}from'ckeditor5/src/core.js';import{getTranslation as _0x2e6e2b}from'../utils/common-translations.js';export default class mt extends _0x2e81e7{[_0x5c08('0x6')](){const _0xede4c2=this[_0x5c08('0x9')];if(!_0xede4c2[_0x5c08('0x3')][_0x5c08('0xd')](_0x5c08('0x7')))return;_0xede4c2[_0x5c08('0x3')][_0x5c08('0x10')]('TrackChangesEditing')[_0x5c08('0xb')](_0x5c08('0x0')),this[_0x5c08('0x5')]();}[_0x5c08('0x5')](){const _0x24e7ee=this[_0x5c08('0x9')];_0x24e7ee['plugins'][_0x5c08('0x10')]('TrackChangesEditing')['_descriptionFactory'][_0x5c08('0xa')](_0x13e9b2=>{if(_0x5c08('0x1')!=_0x13e9b2[_0x5c08('0xc')]&&_0x5c08('0x8')!=_0x13e9b2[_0x5c08('0xc')])return;const {data:_0x4dd502}=_0x13e9b2;return _0x4dd502&&_0x5c08('0x0')==_0x4dd502[_0x5c08('0xe')]?{'type':_0x5c08('0xf'),'content':_0x2e6e2b(_0x24e7ee[_0x5c08('0x2')],_0x5c08('0x4'))}:void 0x0;});}}
|
|
@@ -5,7 +5,7 @@
|
|
|
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
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5229=['acceptSuggestion','RestrictedEditingModeEditing','get','editor','plugins','afterInit','discardSelectedSuggestions','discardSuggestion','goToPreviousRestrictedEditingException','TrackChangesEditing','acceptSelectedSuggestions','discardAllSuggestions','goToNextRestrictedEditingException','has','enableCommand'];(function(_0x49e26d,_0x522904){const _0x1e77c7=function(_0x43296a){while(--_0x43296a){_0x49e26d['push'](_0x49e26d['shift']());}};_0x1e77c7(++_0x522904);}(_0x5229,0x19a));const _0x1e77=function(_0x49e26d,_0x522904){_0x49e26d=_0x49e26d-0x0;let _0x1e77c7=_0x5229[_0x49e26d];return _0x1e77c7;};import{Plugin as _0x2f87e5}from'ckeditor5/src/core.js';export default class dt extends _0x2f87e5{[_0x1e77('0x0')](){const _0x7ecb65=this[_0x1e77('0xd')];if(!_0x7ecb65[_0x1e77('0xe')][_0x1e77('0x8')](_0x1e77('0xb')))return;const _0x587f39=_0x7ecb65['plugins'][_0x1e77('0xc')](_0x1e77('0x4'));_0x587f39[_0x1e77('0x9')](_0x1e77('0x3')),_0x587f39['enableCommand'](_0x1e77('0x7'));const _0x382c8b=_0x7ecb65[_0x1e77('0xe')]['get'](_0x1e77('0xb'));_0x382c8b[_0x1e77('0x9')]('trackChanges'),_0x382c8b[_0x1e77('0x9')](_0x1e77('0xa')),_0x382c8b[_0x1e77('0x9')](_0x1e77('0x2')),_0x382c8b[_0x1e77('0x9')]('acceptAllSuggestions'),_0x382c8b[_0x1e77('0x9')](_0x1e77('0x6')),_0x382c8b[_0x1e77('0x9')](_0x1e77('0x5')),_0x382c8b[_0x1e77('0x9')](_0x1e77('0x1'));}}
|
|
@@ -5,8 +5,8 @@
|
|
|
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
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x490c=['get','deletion','bindElementToMarker','requires','mapper','addMarker:suggestion','data','getItems','name','element','createPositionBefore','split','showSuggestionHighlights','downcastDispatcher','markerName','addClass','TrackChangesEditing','createUIElement','activeMarkers','span','enableCommand','high','writer','editor','ck-suggestion-marker-','merge','test','plugins','markerRange','toViewPosition','includes','editing','locale','init','ELEMENT_LINE_BREAK','consumable','shiftEnter','options','insert','softBreak'];(function(_0xdf9d12,_0x490cb2){const _0x1ff654=function(_0x1a11fb){while(--_0x1a11fb){_0xdf9d12['push'](_0xdf9d12['shift']());}};_0x1ff654(++_0x490cb2);}(_0x490c,0x9e));const _0x1ff6=function(_0xdf9d12,_0x490cb2){_0xdf9d12=_0xdf9d12-0x0;let _0x1ff654=_0x490c[_0xdf9d12];return _0x1ff654;};import{Plugin as _0x39651b}from'ckeditor5/src/core.js';import{ShiftEnter as _0x189c18}from'ckeditor5/src/enter.js';import{getTranslation as _0x11c079}from'../utils/common-translations.js';export default class pt extends _0x39651b{static get[_0x1ff6('0x5')](){return[_0x189c18];}[_0x1ff6('0x23')](){const _0x2fd112=this[_0x1ff6('0x19')],_0x5db8e0=_0x2fd112[_0x1ff6('0x1d')][_0x1ff6('0x2')](_0x1ff6('0x12'));_0x5db8e0[_0x1ff6('0x16')](_0x1ff6('0x26')),_0x2fd112[_0x1ff6('0x21')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',re(_0x2fd112),{'priority':_0x1ff6('0x17')}),_0x2fd112['editing'][_0x1ff6('0xf')]['on']('addMarker:suggestion:deletion',re(_0x2fd112),{'priority':'high'}),_0x2fd112[_0x1ff6('0x8')]['downcastDispatcher']['on'](_0x1ff6('0x7'),(_0x4439b0,_0x399a15,_0xe50985)=>{_0xe50985[_0x1ff6('0x27')][_0x1ff6('0xe')]&&re(_0x2fd112,{'showActiveMarker':!0x1})(_0x4439b0,_0x399a15,_0xe50985);}),_0x5db8e0['_descriptionFactory']['registerElementLabel']('softBreak',_0x4d70df=>_0x11c079(_0x2fd112[_0x1ff6('0x22')],_0x1ff6('0x24'),_0x4d70df));}}function re(_0x388583,{showActiveMarker:_0x33f797=!0x0}={}){return(_0x36a33b,_0x5e542d,_0x46abc9)=>{const _0x3eee1b=_0x388583[_0x1ff6('0x1d')][_0x1ff6('0x2')](_0x1ff6('0x12'));if(!_0x46abc9[_0x1ff6('0x25')][_0x1ff6('0x1c')](_0x5e542d[_0x1ff6('0x1e')],_0x36a33b[_0x1ff6('0xa')]))return;const _0x25d393=_0x388583['model'];for(const _0x5a0568 of _0x5e542d[_0x1ff6('0x1e')][_0x1ff6('0x9')]()){if(!_0x5a0568['is'](_0x1ff6('0xb'),_0x1ff6('0x1')))continue;const _0x469f8f=_0x1ff6('0x3')==_0x5e542d[_0x1ff6('0x10')][_0x1ff6('0xd')](':')[0x1]?_0x1ff6('0x1b'):_0x1ff6('0xd'),_0x8b54c7=_0x46abc9['writer'][_0x1ff6('0x13')](_0x1ff6('0x15'),{'class':_0x1ff6('0x1a')+_0x469f8f}),_0x386f6d=_0x46abc9['mapper'][_0x1ff6('0x1f')](_0x25d393[_0x1ff6('0xc')](_0x5a0568));_0x33f797&&_0x3eee1b[_0x1ff6('0x14')][_0x1ff6('0x20')](_0x5e542d['markerName'])&&_0x46abc9[_0x1ff6('0x18')][_0x1ff6('0x11')]('ck-suggestion-marker--active',_0x8b54c7),_0x46abc9[_0x1ff6('0x18')][_0x1ff6('0x0')](_0x386f6d,_0x8b54c7),_0x46abc9[_0x1ff6('0x6')][_0x1ff6('0x4')](_0x8b54c7,_0x5e542d[_0x1ff6('0x10')]);}};}
|
|
@@ -5,7 +5,7 @@
|
|
|
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
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6a66=['FORMAT_RESTRICTED_ENABLED','enableCommand','plugins','from','commands','editor','type','formatBlock','afterInit','forceValue','value','has','StandardEditingModeEditing','isCollapsed','locale','getRanges','selection','registerDescriptionCallback','format','restrictedEditingException','change','get','formatInline'];(function(_0x19e890,_0x6a6635){const _0xb05dfe=function(_0x131cd4){while(--_0x131cd4){_0x19e890['push'](_0x19e890['shift']());}};_0xb05dfe(++_0x6a6635);}(_0x6a66,0xd0));const _0xb05d=function(_0x19e890,_0x6a6635){_0x19e890=_0x19e890-0x0;let _0xb05dfe=_0x6a66[_0x19e890];return _0xb05dfe;};import{Plugin as _0x41124d}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0x9a2048}from'./utils.js';import{getTranslation as _0x42eceb}from'../utils/common-translations.js';export default class kt extends _0x41124d{[_0xb05d('0x7')](){const _0x57eb03=this[_0xb05d('0x4')],_0x39a3d9=_0x57eb03['model'],_0x270c84=_0x57eb03[_0xb05d('0xd')];if(!_0x57eb03[_0xb05d('0x1')][_0xb05d('0xa')](_0xb05d('0xb')))return;const _0x917561=_0x57eb03[_0xb05d('0x1')]['get']('TrackChangesEditing'),_0x2de3fa=_0xb05d('0x12'),_0x4bd330=_0x57eb03[_0xb05d('0x3')][_0xb05d('0x14')](_0x2de3fa);_0x917561[_0xb05d('0x0')](_0x2de3fa,(_0x38c407,_0x440d2b={})=>{const _0x172ae0=_0x39a3d9['document'][_0xb05d('0xf')];if(_0x172ae0[_0xb05d('0xc')])return void _0x38c407(_0x440d2b);const _0x394f53=void 0x0!==_0x440d2b[_0xb05d('0x8')]?_0x440d2b[_0xb05d('0x8')]:!_0x4bd330[_0xb05d('0x9')];_0x39a3d9[_0xb05d('0x13')](()=>{const _0x3e98c7=Array[_0xb05d('0x2')](_0x172ae0[_0xb05d('0xe')]());for(const _0x43b6f3 of _0x3e98c7){const _0x1fe108=_0x394f53?[_0x43b6f3]:_0x9a2048(_0x2de3fa,_0x43b6f3,_0x39a3d9);for(const _0x45a336 of _0x1fe108)_0x917561['markInlineFormat'](_0x45a336,{'commandName':_0x2de3fa,'commandParams':[{'forceValue':_0x394f53}]});}});}),_0x917561['_descriptionFactory'][_0xb05d('0x10')](_0x50f221=>{if(_0xb05d('0x6')!=_0x50f221['type']&&_0xb05d('0x15')!=_0x50f221[_0xb05d('0x5')])return;const {data:_0x42e9b7}=_0x50f221;return _0x42e9b7&&_0x42e9b7['commandName']==_0x2de3fa?_0x42e9b7['commandParams'][0x0]['forceValue']?{'type':_0xb05d('0x11'),'content':_0x42eceb(_0x270c84,_0xb05d('0x16'))}:{'type':_0xb05d('0x11'),'content':_0x42eceb(_0x270c84,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25da=['ghsAttributes','type','_registerBlockAttribute','forceValue','DataSchema','inline','normalizeConfig','plugins','FORMAT_STYLE','add','*Remove\x20format:*\x20%0','element','registerAttributeLabel','formatBlock','locale','has','commandParams','TrackChangesEditing','StyleUtils','*Set\x20format:*\x20%0','config','registerDescriptionCallback','afterInit','style','styleName','_registerLegacyDescription','getGhsAttributeNameForElement','format','_enableDefaultAttributesIntegration','toLowerCase','GeneralHtmlSupport','get','_descriptionFactory','editor','formatInline','_registerInlineAttribute'];(function(_0x558786,_0x25da9c){const _0x59ace2=function(_0x38d073){while(--_0x38d073){_0x558786['push'](_0x558786['shift']());}};_0x59ace2(++_0x25da9c);}(_0x25da,0x1cb));const _0x59ac=function(_0x558786,_0x25da9c){_0x558786=_0x558786-0x0;let _0x59ace2=_0x25da[_0x558786];return _0x59ace2;};import{Plugin as _0x1efbb1}from'ckeditor5/src/core.js';import{getTranslation as _0x10c6aa}from'../utils/common-translations.js';export default class bt extends _0x1efbb1{[_0x59ac('0x1f')](){const _0x9e21ca=this['editor'];if(!_0x9e21ca[_0x59ac('0x10')][_0x59ac('0x18')]('Style')||!_0x9e21ca[_0x59ac('0x10')][_0x59ac('0x18')](_0x59ac('0xd')))return;const _0x1f0cfb=_0x9e21ca['plugins'][_0x59ac('0x4')](_0x59ac('0x1a')),_0x54ca47=_0x9e21ca['locale'],_0xbac13d=_0x9e21ca[_0x59ac('0x1d')][_0x59ac('0x4')](_0x59ac('0x20')),_0x21e43d=_0x9e21ca['plugins'][_0x59ac('0x4')](_0x59ac('0x3')),_0x1b229a=_0x9e21ca['plugins'][_0x59ac('0x4')](_0x59ac('0x1b'))[_0x59ac('0xf')](_0x9e21ca[_0x59ac('0x10')][_0x59ac('0x4')]('DataSchema'),_0xbac13d['definitions']);_0x1f0cfb[_0x59ac('0x1')](_0x59ac('0x20'));const _0x330325=new Set();for(const _0x93cfd7 of _0x1b229a['block']){const _0x2bdcc3=_0x21e43d[_0x59ac('0x23')](_0x93cfd7[_0x59ac('0x14')]);_0x330325[_0x59ac('0x12')](_0x2bdcc3);}const _0x334698=new Set();for(const _0x3dc91b of _0x1b229a[_0x59ac('0xe')]){const _0x4911b4=_0x21e43d['getGhsAttributeNameForElement'](_0x3dc91b[_0x59ac('0x14')]);_0x334698['add'](_0x4911b4);for(const _0x3365c5 of _0x3dc91b[_0x59ac('0x9')])_0x334698[_0x59ac('0x12')](_0x3365c5);}for(const _0x238fa9 of _0x330325)_0x1f0cfb[_0x59ac('0xb')](_0x238fa9),_0x1f0cfb[_0x59ac('0x5')][_0x59ac('0x15')](_0x238fa9,_0x10c6aa(_0x54ca47,'FORMAT_STYLE'));for(const _0x1985da of _0x334698)_0x1f0cfb[_0x59ac('0x8')](_0x1985da),_0x1f0cfb[_0x59ac('0x5')][_0x59ac('0x15')](_0x1985da,_0x10c6aa(_0x54ca47,_0x59ac('0x11')));this[_0x59ac('0x22')]();}[_0x59ac('0x22')](){const _0x4137f4=this[_0x59ac('0x6')],_0x1e1e7e=_0x4137f4[_0x59ac('0x17')];_0x4137f4[_0x59ac('0x10')][_0x59ac('0x4')](_0x59ac('0x1a'))[_0x59ac('0x5')][_0x59ac('0x1e')](_0xce3796=>{if(_0x59ac('0x16')!=_0xce3796[_0x59ac('0xa')]&&_0x59ac('0x7')!=_0xce3796[_0x59ac('0xa')])return;const {data:_0x48feb1}=_0xce3796;return _0x48feb1&&'style'===_0x48feb1['commandName']?_0x48feb1[_0x59ac('0x19')][0x0][_0x59ac('0xc')]?{'type':_0x59ac('0x0'),'content':_0x10c6aa(_0x1e1e7e,_0x59ac('0x1c'),_0x48feb1[_0x59ac('0x19')][0x0][_0x59ac('0x21')][_0x59ac('0x2')]())}:{'type':_0x59ac('0x0'),'content':_0x10c6aa(_0x1e1e7e,_0x59ac('0x13'),_0x48feb1[_0x59ac('0x19')][0x0][_0x59ac('0x21')][_0x59ac('0x2')]())}:void 0x0;});}}
|
|
@@ -5,7 +5,7 @@
|
|
|
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
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x34db=['map','nodeBefore','ELEMENT_TABLE_COLUMN_WITH_TEXT','$textProxy','plugins','maxRow','getItems','$graveyard','change','TableUtils','highest','classes','suggestion','first','refresh','hasAttribute','accept','removeTableRow','type','TableEditing','addMarker:suggestion','createPositionAt','deletion','table','getFirstRange','_splitMarkerName','item','getRanges','_getSuggestionCoords','isInContent','add','isArray','_tableSuggestions','TrackChangesEditing','locale','above','detach','has','max','_getCoordsForCells','substr','_descriptionFactory','*Remove:*\x20%0','model','nodeAfter','showSuggestionHighlights','insertTableColumnLeft','length','start','tableCell','ELEMENT_TABLE','every','markMultiRangeDeletion','writer','createRangeOn','some','mapper','get','getChanges','from','push','isIntersectingWithRange','change:data','MIN_SAFE_INTEGER','minColumn','setSelection','filter','batch','getAttribute','createTableWalker','addClass','span','afterInit','ELEMENT_TABLE_ROW','discard','getColumnIndexes','low','cell','subType','tableRow','toLowerCase','addRange','tablePaste','last','tableColumn','document','ELEMENT_TABLE_WITH_TEXT','data','enqueueChange','markMultiRangeInsertion','insertTableRowBelow','registerPostFixer','getChildren','oldRange','findAncestor','insertTableColumnRight','colspan','values','selectTableColumn','_suggestionFactory','order','end','getContainedElement','*Insert:*\x20%0','commands','maxColumn','editor','selectTableRow','join','root','removeTableColumn','registerCustomCallback','downcastDispatcher','execute','position','getCellLocation','ELEMENT_TABLE_ROW_WITH_TEXT','insertTableRowAbove','getSelectionAffectedTableCells','createRangeIn','insertion','registerDescriptionCallback','enableCommand','_setupColumnsRowsFixing','isEqual','getSuggestion','fromRange','registerElementLabel','ELEMENT_TABLE_COLUMN','selection','rowspan','insert','options','name','left','rootName'];(function(_0x13d59e,_0x34db1a){const _0x2072b7=function(_0x20ce2e){while(--_0x20ce2e){_0x13d59e['push'](_0x13d59e['shift']());}};_0x2072b7(++_0x34db1a);}(_0x34db,0xb7));const _0x2072=function(_0x13d59e,_0x34db1a){_0x13d59e=_0x13d59e-0x0;let _0x2072b7=_0x34db[_0x13d59e];return _0x2072b7;};import{Plugin as _0x2adb98}from'ckeditor5/src/core';import{LiveRange as _0x1c4dd2}from'ckeditor5/src/engine';import{setHighlightHandling as _0xbb2528}from'ckeditor5/src/widget';import{getTranslation as _0x3472d7}from'../utils/common-translations';export default class wt extends _0x2adb98{constructor(_0x1870c6){super(_0x1870c6),this['_tablePostFixingSubtypes']=[_0x2072('0x20'),_0x2072('0x25')],this[_0x2072('0x79')]=new Set();}[_0x2072('0x19')](){const _0x4345cd=this[_0x2072('0x3b')],_0x540194=_0x4345cd[_0x2072('0x84')][_0x2072('0x26')][_0x2072('0x52')];if(!_0x4345cd[_0x2072('0x5d')][_0x2072('0x7e')](_0x2072('0x6c')))return;const _0x59441=_0x4345cd[_0x2072('0x7b')],_0x2a3bf1=_0x4345cd[_0x2072('0x5d')]['get']('TrackChangesEditing'),_0x3fc6e6=_0x4345cd['plugins'][_0x2072('0xa')]('TableUtils');_0x2a3bf1['_descriptionFactory'][_0x2072('0x50')](_0x2072('0x70'),_0x157915=>_0x3472d7(_0x59441,_0x2072('0x3'),_0x157915)),this[_0x2072('0x4c')](),_0x2a3bf1[_0x2072('0x4b')]('insertTable'),_0x2a3bf1[_0x2072('0x4b')](_0x2072('0x3c')),_0x2a3bf1[_0x2072('0x4b')](_0x2072('0x33'));for(const _0x5a8c9b of[_0x2072('0x46'),_0x2072('0x2b')]){const _0x18df49=_0x4345cd[_0x2072('0x39')]['get'](_0x5a8c9b);_0x2a3bf1[_0x2072('0x4b')](_0x5a8c9b,_0x358c23=>{_0x4345cd[_0x2072('0x84')][_0x2072('0x61')](_0x501e23=>{_0x358c23();const _0x211c94=_0x2072('0x7c')===_0x18df49['order'],_0x3ac57a=_0x3fc6e6[_0x2072('0x47')](_0x540194),_0x309775=_0x3fc6e6['getRowIndexes'](_0x3ac57a),_0x4b398e=_0x211c94?_0x309775[_0x2072('0x66')]-0x1:_0x309775[_0x2072('0x24')]+0x1,_0x3faade=_0x3ac57a[0x0][_0x2072('0x2f')](_0x2072('0x70')),_0x941fd0=_0x3fc6e6[_0x2072('0x16')](_0x3faade,{'startRow':_0x4b398e,'endRow':_0x4b398e}),_0x398b4e=Array[_0x2072('0xc')](_0x941fd0)['map'](_0x348951=>_0x501e23[_0x2072('0x7')](_0x348951[_0x2072('0x1e')]));_0x2a3bf1['markMultiRangeInsertion'](_0x398b4e,_0x2072('0x20'));});});}for(const _0x166f04 of[_0x2072('0x87'),_0x2072('0x30')]){const _0x3b2ae5=_0x4345cd[_0x2072('0x39')]['get'](_0x166f04);_0x2a3bf1['enableCommand'](_0x166f04,_0x4c1f12=>{_0x4345cd['model'][_0x2072('0x61')](_0x1bc3ad=>{_0x4c1f12();const _0x226fda=_0x2072('0x57')===_0x3b2ae5[_0x2072('0x35')],_0x5be001=_0x3fc6e6[_0x2072('0x47')](_0x540194),_0x424076=_0x3fc6e6['getColumnIndexes'](_0x5be001),_0x138c41=_0x226fda?_0x424076[_0x2072('0x66')]-0x1:_0x424076['last']+0x1,_0x5849d5=_0x5be001[0x0][_0x2072('0x2f')]('table'),_0x5ce782=_0x3fc6e6['createTableWalker'](_0x5849d5,{'startRow':0x0,'column':_0x138c41,'includeAllSlots':!0x1}),_0x31cc19=Array[_0x2072('0xc')](_0x5ce782)['map'](_0x523f24=>_0x1bc3ad['createRangeOn'](_0x523f24[_0x2072('0x1e')]));_0x2a3bf1[_0x2072('0x2a')](_0x31cc19,_0x2072('0x25'));});});}for(const _0x2b572e of[_0x2072('0x6a'),_0x2072('0x3f')]){const _0x5838d2=_0x2b572e[_0x2072('0x81')](0xb),_0x1f0deb=_0x5838d2[_0x2072('0x21')](),_0xcb4e5b=_0x1f0deb[_0x2072('0x81')](0x0,0x3)+_0x2072('0x18'),_0x17d5ae=_0x2072('0x70')+_0x5838d2,_0x4e458a='min'+_0x5838d2,_0x2824a9='max'+_0x5838d2;_0x2a3bf1[_0x2072('0x4b')](_0x2b572e,()=>{_0x4345cd['model'][_0x2072('0x61')](_0x207de8=>{const _0x55a2c7=_0x3fc6e6[_0x2072('0x47')](_0x540194),_0x212390=_0x55a2c7[0x0][_0x2072('0x2f')](_0x2072('0x70'));let _0x4cb10d;if(_0x2072('0x6a')==_0x2b572e){const _0x34ff28=_0x3fc6e6['getRowIndexes'](_0x55a2c7);_0x4cb10d={'startRow':_0x34ff28[_0x2072('0x66')],'endRow':_0x34ff28['last'],'includeAllSlots':!0x0};}else{const _0x1d4d3b=_0x3fc6e6[_0x2072('0x1c')](_0x55a2c7);_0x4cb10d={'startColumn':_0x1d4d3b['first'],'endColumn':_0x1d4d3b['last'],'includeAllSlots':!0x0};}const _0x51583f=_0x3fc6e6[_0x2072('0x16')](_0x212390,_0x4cb10d),_0x32b8b2=Array[_0x2072('0xc')](_0x51583f)[_0x2072('0x59')](({cell:_0x35c16b})=>_0x35c16b),_0x212360=se(_0x32b8b2[_0x2072('0x13')](_0x4e3892=>_0x4e3892[_0x2072('0x68')](_0xcb4e5b))),_0x7de0d2=se(_0x32b8b2[_0x2072('0x13')](_0x4d6c6f=>!_0x4d6c6f['hasAttribute'](_0xcb4e5b)))[_0x2072('0x59')](_0x34dd98=>_0x207de8[_0x2072('0x7')](_0x34dd98)),_0x1ed1d8=_0x2a3bf1[_0x2072('0x5')](_0x7de0d2,_0x17d5ae);if(_0x1ed1d8&&(_0x2072('0x20')==_0x1ed1d8[_0x2072('0x1f')]||_0x2072('0x25')==_0x1ed1d8['subType'])){const _0x32a676=this[_0x2072('0x75')](_0x1ed1d8);for(const _0x4465fd of _0x212360){const _0x4aa064=_0x207de8[_0x2072('0x7')](_0x4465fd),_0x6581=_0x3fc6e6[_0x2072('0x44')](_0x4465fd),_0x53eb76=_0x4465fd[_0x2072('0x15')](_0xcb4e5b)-0x1,_0x5d5c15=_0x32a676[_0x4e458a],_0x3d2994=_0x32a676[_0x2824a9];_0x5d5c15<=_0x6581[_0x1f0deb]&&_0x6581[_0x1f0deb]+_0x53eb76<=_0x3d2994&&_0x1ed1d8[_0x2072('0x22')](_0x4aa064);}}});});}function _0x5d5ac9(_0x53cc65){const _0x2e4887=Array[_0x2072('0xc')](_0x540194[_0x2072('0x74')]())[_0x2072('0x59')](_0x193817=>_0x1c4dd2['fromRange'](_0x193817));_0x4345cd['model'][_0x2072('0x61')](_0xee3316=>{const _0x171073=_0xee3316[_0x2072('0x14')];_0x53cc65=_0x53cc65['filter'](_0x28e9ec=>_0x2072('0x60')!=_0x28e9ec[_0x2072('0x3e')][_0x2072('0x58')]),_0xee3316[_0x2072('0x12')](_0x53cc65),_0x4345cd[_0x2072('0x39')][_0x2072('0xa')](_0x2072('0x6a'))[_0x2072('0x67')](),_0x4345cd[_0x2072('0x42')](_0x2072('0x6a'),{'forceDefaultExecution':!0x0}),_0x4345cd['model'][_0x2072('0x29')](()=>{_0x4345cd[_0x2072('0x84')]['enqueueChange'](_0x171073,_0x31382b=>{const _0x1a317b=_0x2e4887['filter'](_0x36d6cf=>'$graveyard'!=_0x36d6cf['root'][_0x2072('0x58')]);_0x1a317b[_0x2072('0x0')]>0x0&&_0x31382b[_0x2072('0x12')](_0x1a317b);for(const _0x25a34b of _0x2e4887)_0x25a34b[_0x2072('0x7d')]();});});});}function _0x1bd952(_0x334feb){_0x4345cd[_0x2072('0x84')][_0x2072('0x61')](_0x406e72=>{const _0x502035=Array[_0x2072('0xc')](_0x540194['getRanges']())[_0x2072('0x59')](_0x1f4a49=>_0x1c4dd2['fromRange'](_0x1f4a49)),_0x9e8561=[];for(const _0x35dd47 of _0x334feb)for(const _0x39be54 of _0x35dd47['getItems']({'shallow':!0x0}))_0x9e8561['push'](_0x39be54);for(const _0x3b816f of _0x9e8561)'$graveyard'!=_0x3b816f[_0x2072('0x3e')][_0x2072('0x58')]&&(_0x406e72['setSelection'](_0x406e72[_0x2072('0x6e')](_0x3b816f,0x0)),_0x4345cd[_0x2072('0x39')][_0x2072('0xa')](_0x2072('0x3f'))[_0x2072('0x67')](),_0x4345cd['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x111c9a=_0x502035[_0x2072('0x13')](_0x2ca36d=>'$graveyard'!=_0x2ca36d[_0x2072('0x3e')][_0x2072('0x58')]);_0x111c9a['length']>0x0&&_0x406e72['setSelection'](_0x111c9a);for(const _0x4761c8 of _0x502035)_0x4761c8[_0x2072('0x7d')]();});}function _0xf47329(_0x3e2696,_0x4ebc55){return _0x4ebc55[_0x2072('0x4')](_0x56830a=>_0x3e2696[_0x2072('0x8')](_0x938e3c=>_0x938e3c['end'][_0x2072('0x4d')](_0x56830a['start'])||_0x56830a[_0x2072('0x36')]['isEqual'](_0x938e3c[_0x2072('0x1')])));}function _0x59cfb9(_0x527c67,_0x1a2412){return _0x527c67[_0x2072('0x8')](_0x3ed3c2=>_0x1a2412[_0x2072('0x8')](_0x3bd67c=>_0x3ed3c2[_0x2072('0x36')]['isTouching'](_0x3bd67c[_0x2072('0x1')])));}_0x4345cd[_0x2072('0x28')][_0x2072('0x41')]['on'](_0x2072('0x6d'),(_0x371868,_0xfafc00,_0x2ec4bb)=>{if(!_0x2ec4bb[_0x2072('0x55')][_0x2072('0x86')])return;const _0x991e9f=_0xfafc00[_0x2072('0x73')];if(!_0x991e9f)return;const _0x3a2f81=_0x2ec4bb[_0x2072('0x9')]['toViewElement'](_0x991e9f);function _0x46b0a0(_0x30cd59){return Array[_0x2072('0x78')](_0x30cd59)?_0x30cd59:[_0x30cd59];}_0x3a2f81&&'tableCell'===_0x991e9f[_0x2072('0x56')]&&_0xbb2528(_0x3a2f81,_0x2ec4bb[_0x2072('0x6')],(_0x582eec,_0x36d5bb,_0x23b237)=>_0x23b237[_0x2072('0x17')](_0x46b0a0(_0x36d5bb[_0x2072('0x64')]),_0x582eec),(_0x268e05,_0x26545e,_0x52c910)=>_0x52c910['removeClass'](_0x46b0a0(_0x26545e[_0x2072('0x64')]),_0x268e05));},{'priority':_0x2072('0x63')}),_0x2a3bf1[_0x2072('0x82')][_0x2072('0x4a')](_0x4b947b=>{if('insertion'!=_0x4b947b[_0x2072('0x6b')]&&'deletion'!=_0x4b947b[_0x2072('0x6b')])return;const _0x4ed858=_0x4b947b[_0x2072('0x37')]();if(null!=_0x4ed858&&_0x4ed858['is']('element',_0x2072('0x70'))){if('insertion'==_0x4b947b['type']){const _0x1d21b0=_0x4b947b[_0x2072('0x5f')]()['filter'](_0x2e3ba1=>_0x2e3ba1['is'](_0x2072('0x5c')))[_0x2072('0x59')](_0x2b7fa2=>_0x2b7fa2['data']);if(_0x1d21b0[_0x2072('0x0')])return{'type':_0x2072('0x49'),'content':_0x3472d7(_0x59441,'*Insert:*\x20%0',_0x3472d7(_0x59441,_0x2072('0x27'),'\x22'+_0x1d21b0[_0x2072('0x3d')]('\x20')+'\x22'))};}if(_0x2072('0x6f')==_0x4b947b[_0x2072('0x6b')]){const _0x2a8750=_0x4b947b[_0x2072('0x5f')]()[_0x2072('0x13')](_0xd63d70=>_0xd63d70['is']('$textProxy'))[_0x2072('0x59')](_0x46fb44=>_0x46fb44[_0x2072('0x28')]);if(_0x2a8750[_0x2072('0x0')])return{'type':_0x2072('0x6f'),'content':_0x3472d7(_0x59441,_0x2072('0x83'),_0x3472d7(_0x59441,_0x2072('0x27'),'\x22'+_0x2a8750[_0x2072('0x3d')]('\x20')+'\x22'))};}}}),_0x2a3bf1[_0x2072('0x82')][_0x2072('0x4a')](_0x13e275=>{if(_0x2072('0x20')==_0x13e275['subType']){const _0x54393b=_0x13e275[_0x2072('0x5f')]()[_0x2072('0x13')](_0x18d5a7=>_0x18d5a7['is']('$textProxy'))['map'](_0x227bdd=>_0x227bdd[_0x2072('0x28')]),_0x573bf8=this[_0x2072('0x75')](_0x13e275),_0x3cf2d0=_0x573bf8[_0x2072('0x5e')]-_0x573bf8['minRow']+0x1;if('insertion'==_0x13e275[_0x2072('0x6b')])return _0x54393b[_0x2072('0x0')]?{'type':_0x2072('0x49'),'content':_0x3472d7(_0x59441,_0x2072('0x38'),_0x3472d7(_0x59441,_0x2072('0x45'),[_0x3cf2d0,'\x22'+_0x54393b[_0x2072('0x3d')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x3472d7(_0x59441,_0x2072('0x38'),_0x3472d7(_0x59441,_0x2072('0x1a'),_0x3cf2d0))};if(_0x2072('0x6f')==_0x13e275['type'])return _0x54393b['length']?{'type':_0x2072('0x6f'),'content':_0x3472d7(_0x59441,_0x2072('0x83'),_0x3472d7(_0x59441,_0x2072('0x45'),[_0x3cf2d0,'\x22'+_0x54393b[_0x2072('0x3d')]('\x20')+'\x22']))}:{'type':_0x2072('0x6f'),'content':_0x3472d7(_0x59441,'*Remove:*\x20%0',_0x3472d7(_0x59441,_0x2072('0x1a'),_0x3cf2d0))};}if('tableColumn'==_0x13e275[_0x2072('0x1f')]){const _0x447f33=_0x13e275[_0x2072('0x5f')]()[_0x2072('0x13')](_0x5936ba=>_0x5936ba['is'](_0x2072('0x5c')))['map'](_0x169f80=>_0x169f80['data']),_0x46ebd4=this[_0x2072('0x75')](_0x13e275),_0x429080=_0x46ebd4[_0x2072('0x3a')]-_0x46ebd4[_0x2072('0x11')]+0x1;if(_0x2072('0x49')==_0x13e275[_0x2072('0x6b')])return _0x447f33[_0x2072('0x0')]?{'type':'insertion','content':_0x3472d7(_0x59441,_0x2072('0x38'),_0x3472d7(_0x59441,_0x2072('0x5b'),[_0x429080,'\x22'+_0x447f33[_0x2072('0x3d')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x3472d7(_0x59441,'*Insert:*\x20%0',_0x3472d7(_0x59441,_0x2072('0x51'),_0x429080))};if(_0x2072('0x6f')==_0x13e275['type'])return _0x447f33[_0x2072('0x0')]?{'type':_0x2072('0x6f'),'content':_0x3472d7(_0x59441,_0x2072('0x83'),_0x3472d7(_0x59441,_0x2072('0x5b'),[_0x429080,'\x22'+_0x447f33[_0x2072('0x3d')]('\x20')+'\x22']))}:{'type':_0x2072('0x6f'),'content':_0x3472d7(_0x59441,_0x2072('0x83'),_0x3472d7(_0x59441,_0x2072('0x51'),_0x429080))};}}),_0x2a3bf1[_0x2072('0x34')][_0x2072('0x40')](_0x2072('0x49'),_0x2072('0x20'),_0x2072('0x1b'),_0x5d5ac9),_0x2a3bf1[_0x2072('0x34')][_0x2072('0x40')]('deletion','tableRow',_0x2072('0x69'),_0x5d5ac9),_0x2a3bf1['_suggestionFactory'][_0x2072('0x40')](_0x2072('0x49'),'tableColumn',_0x2072('0x1b'),_0x1bd952),_0x2a3bf1['_suggestionFactory'][_0x2072('0x40')]('deletion',_0x2072('0x25'),_0x2072('0x69'),_0x1bd952),_0x2a3bf1[_0x2072('0x34')][_0x2072('0x40')]('insertion','tableColumn','join',_0xf47329),_0x2a3bf1[_0x2072('0x34')][_0x2072('0x40')](_0x2072('0x6f'),_0x2072('0x25'),_0x2072('0x3d'),_0xf47329),_0x2a3bf1[_0x2072('0x34')]['registerCustomCallback'](_0x2072('0x49'),_0x2072('0x20'),_0x2072('0x3d'),_0x59cfb9),_0x2a3bf1[_0x2072('0x34')]['registerCustomCallback'](_0x2072('0x6f'),_0x2072('0x20'),'join',_0x59cfb9);}['_acceptFormatSuggestionCallbackFactory'](){const _0x56b26b=this['editor'],_0x102110=_0x56b26b[_0x2072('0x84')][_0x2072('0x26')]['selection'];return(_0x3db2b0,_0x87fdc5)=>{_0x56b26b[_0x2072('0x84')][_0x2072('0x61')](_0x5beacc=>{const {commandName:_0x4781d3,commandParams:_0x58fd1a}=_0x87fdc5;let _0x26c01e=_0x3db2b0[0x0]['end'][_0x2072('0x5a')];_0x58fd1a&&_0x58fd1a[0x0]&&!0x1===_0x58fd1a[0x0]['forceValue']&&(_0x26c01e=_0x3db2b0[0x0][_0x2072('0x1')][_0x2072('0x85')]);const _0x475cac=_0x5beacc[_0x2072('0x48')](_0x26c01e);if(_0x2072('0x60')==_0x475cac['root']['rootName'])return;const _0x259338=Array[_0x2072('0xc')](_0x102110[_0x2072('0x74')]())[_0x2072('0x59')](_0x3f632e=>_0x1c4dd2[_0x2072('0x4f')](_0x3f632e));_0x5beacc['setSelection'](_0x475cac),_0x56b26b['commands'][_0x2072('0xa')](_0x4781d3)[_0x2072('0x67')](),_0x58fd1a[_0x2072('0xd')]({'forceDefaultExecution':!0x0}),_0x56b26b[_0x2072('0x42')](_0x4781d3,..._0x58fd1a);const _0x290afd=_0x259338[_0x2072('0x13')](_0x39245b=>_0x2072('0x60')!=_0x39245b[_0x2072('0x3e')]['rootName']);_0x290afd[_0x2072('0x0')]>0x0&&_0x5beacc[_0x2072('0x12')](_0x290afd);for(const _0x298668 of _0x259338)_0x298668['detach']();});};}[_0x2072('0x80')](_0xc1059d){const _0x3fd1e4=this[_0x2072('0x3b')]['plugins'][_0x2072('0xa')](_0x2072('0x62'));let _0x5631b1=Number['MAX_SAFE_INTEGER'],_0x1b335f=Number['MIN_SAFE_INTEGER'],_0x11a850=Number['MAX_SAFE_INTEGER'],_0x22e650=Number[_0x2072('0x10')];for(const _0x8d0f0f of _0xc1059d){if(_0x2072('0x60')==_0x8d0f0f[_0x2072('0x3e')][_0x2072('0x58')])continue;const {row:_0x266182,column:_0x93a760}=_0x3fd1e4['getCellLocation'](_0x8d0f0f),_0x9844bd=_0x8d0f0f[_0x2072('0x68')](_0x2072('0x53'))?_0x8d0f0f['getAttribute'](_0x2072('0x53'))-0x1:0x0,_0x36c1d3=_0x8d0f0f[_0x2072('0x68')](_0x2072('0x31'))?_0x8d0f0f['getAttribute']('colspan')-0x1:0x0;_0x5631b1=_0x266182<_0x5631b1?_0x266182:_0x5631b1,_0x1b335f=_0x266182+_0x9844bd>_0x1b335f?_0x266182+_0x9844bd:_0x1b335f,_0x11a850=_0x93a760<_0x11a850?_0x93a760:_0x11a850,_0x22e650=_0x93a760+_0x36c1d3>_0x22e650?_0x93a760+_0x36c1d3:_0x22e650;}return{'minRow':_0x5631b1,'maxRow':_0x1b335f,'minColumn':_0x11a850,'maxColumn':_0x22e650};}[_0x2072('0x4c')](){const _0xe42778=this[_0x2072('0x3b')],_0x2e1672=_0xe42778[_0x2072('0x5d')][_0x2072('0xa')](_0x2072('0x7a')),_0x2f151a=_0xe42778['plugins']['get'](_0x2072('0x62'));_0xe42778[_0x2072('0x84')][_0x2072('0x26')]['on'](_0x2072('0xf'),()=>{const _0xc0431d=Array[_0x2072('0xc')](_0xe42778['model'][_0x2072('0x26')]['differ']['getChangedMarkers']());for(const {name:_0x2204a3,data:_0x42c21f}of _0xc0431d){const {group:_0x584372,id:_0x295f1c,subType:_0xb34516}=_0x2e1672[_0x2072('0x72')](_0x2204a3);if(_0x2072('0x65')!=_0x584372)continue;if(null!=_0x42c21f[_0x2072('0x2e')])continue;const _0x4cbf30=_0x2e1672[_0x2072('0x4e')](_0x295f1c);this['_tablePostFixingSubtypes']['includes'](_0xb34516)&&this['_tableSuggestions'][_0x2072('0x77')](_0x4cbf30);}},{'priority':_0x2072('0x1d')});const _0x14aae6=(_0x23009d,_0x1f7d2f)=>{let _0x30c254=!0x1;const _0x4690de=_0x1f7d2f[_0x2072('0x7')](_0x23009d),_0x5b7236=_0x23009d['findAncestor'](_0x2072('0x70')),_0x4af50b=_0x2f151a['getCellLocation'](_0x23009d);for(const _0x40e553 of this[_0x2072('0x79')]){const _0x17b0cd=_0x40e553[_0x2072('0x1f')],_0x330f78=_0x17b0cd['startsWith'](_0x2072('0x23')),_0x4aa1c7=_0x17b0cd[_0x2072('0x81')](_0x330f78?0xa:0x5),_0x3dfa72=_0x4aa1c7[_0x2072('0x21')](),_0x875947=_0x3dfa72[_0x2072('0x81')](0x0,0x3)+_0x2072('0x18'),_0x8bf614='min'+_0x4aa1c7,_0x405b1a=_0x2072('0x7f')+_0x4aa1c7;if(!_0x40e553[_0x2072('0x76')])continue;if(_0x5b7236!=_0x40e553[_0x2072('0x71')]()[_0x2072('0x1')][_0x2072('0x2f')](_0x2072('0x70')))continue;if(_0x40e553[_0x2072('0xe')](_0x4690de))continue;const _0x5cf952=_0x23009d[_0x2072('0x68')](_0x875947)?_0x23009d['getAttribute'](_0x875947)-0x1:0x0,_0x3da1d1=this[_0x2072('0x75')](_0x40e553),_0x5ab363=_0x3da1d1[_0x8bf614],_0x319103=_0x3da1d1[_0x405b1a];_0x5ab363<=_0x4af50b[_0x3dfa72]&&_0x4af50b[_0x3dfa72]+_0x5cf952<=_0x319103&&(_0x40e553['addRange'](_0x4690de),_0x30c254=!0x0);}return _0x30c254;};_0xe42778[_0x2072('0x84')][_0x2072('0x26')][_0x2072('0x2c')](_0x5264f7=>{let _0x4a2fe7=!0x1;for(const _0x250edf of _0xe42778[_0x2072('0x84')][_0x2072('0x26')]['differ'][_0x2072('0xb')]())if(_0x2072('0x54')==_0x250edf[_0x2072('0x6b')]){if('tableRow'==_0x250edf[_0x2072('0x56')])for(const _0x2874cf of _0x250edf[_0x2072('0x43')][_0x2072('0x85')][_0x2072('0x2d')]())_0x4a2fe7=_0x4a2fe7||_0x14aae6(_0x2874cf,_0x5264f7);else _0x2072('0x2')==_0x250edf['name']&&(_0x4a2fe7=_0x4a2fe7||_0x14aae6(_0x250edf[_0x2072('0x43')][_0x2072('0x85')],_0x5264f7));}return _0x4a2fe7;});}[_0x2072('0x75')](_0x49169b){return this[_0x2072('0x80')](_0x49169b['getRanges']()[_0x2072('0x59')](_0x27a580=>_0x27a580['start'][_0x2072('0x85')]));}}function se(_0x546122){return Array[_0x2072('0xc')](new Set(_0x546122)[_0x2072('0x32')]());}
|
|
23
|
+
const _0x564c=['commands','ELEMENT_TABLE_COLUMN_WITH_TEXT','execute','isInContent','setSelection','_splitMarkerName','start','plugins','detach','add','getAttribute','editor','ELEMENT_TABLE_WITH_TEXT','getRanges','TableUtils','document','tableColumn','_getCoordsForCells','deletion','registerElementLabel','addRange','_getSuggestionCoords','length','insertTableColumnRight','discard','TrackChangesEditing','ELEMENT_TABLE','push','hasAttribute','getRowIndexes','insertTable','registerPostFixer','tableRow','getChildren','max','substr','filter','change:data','_acceptFormatSuggestionCallbackFactory','_tableSuggestions','rowspan','toLowerCase','classes','*Remove:*\x20%0','createRangeIn','registerDescriptionCallback','createTableWalker','getSuggestion','isEqual','name','selection','nodeAfter','values','getSelectionAffectedTableCells','root','_suggestionFactory','from','batch','insertion','tableCell','every','get','getColumnIndexes','type','locale','$graveyard','_descriptionFactory','low','insertTableRowBelow','end','has','change','highest','subType','getChangedMarkers','span','ELEMENT_TABLE_ROW','selectTableColumn','position','addClass','element','ELEMENT_TABLE_ROW_WITH_TEXT','some','removeTableRow','removeTableColumn','TableEditing','MAX_SAFE_INTEGER','model','options','isArray','enableCommand','accept','first','includes','getCellLocation','above','fromRange','differ','_tablePostFixingSubtypes','enqueueChange','min','createPositionAt','colspan','registerCustomCallback','$textProxy','downcastDispatcher','join','cell','data','_setupColumnsRowsFixing','createRangeOn','map','forceValue','isTouching','MIN_SAFE_INTEGER','*Insert:*\x20%0','minRow','last','item','showSuggestionHighlights','ELEMENT_TABLE_COLUMN','getItems','rootName','refresh','table','order','maxRow','maxColumn','findAncestor'];(function(_0x401d85,_0x564cfd){const _0x371aa1=function(_0x3e1e41){while(--_0x3e1e41){_0x401d85['push'](_0x401d85['shift']());}};_0x371aa1(++_0x564cfd);}(_0x564c,0x171));const _0x371a=function(_0x401d85,_0x564cfd){_0x401d85=_0x401d85-0x0;let _0x371aa1=_0x564c[_0x401d85];return _0x371aa1;};import{Plugin as _0x4568ec}from'ckeditor5/src/core.js';import{LiveRange as _0x40b596}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x46215}from'ckeditor5/src/widget.js';import{getTranslation as _0x484c62}from'../utils/common-translations.js';export default class wt extends _0x4568ec{constructor(_0x20427c){super(_0x20427c),this[_0x371a('0x74')]=[_0x371a('0x32'),_0x371a('0x22')],this[_0x371a('0x39')]=new Set();}['afterInit'](){const _0x4b7609=this[_0x371a('0x1d')],_0x57b167=_0x4b7609['model'][_0x371a('0x21')][_0x371a('0x44')];if(!_0x4b7609[_0x371a('0x19')][_0x371a('0x58')](_0x371a('0x67')))return;const _0xf39b10=_0x4b7609[_0x371a('0x52')],_0xf0765=_0x4b7609[_0x371a('0x19')][_0x371a('0x4f')](_0x371a('0x2b')),_0x532bf8=_0x4b7609['plugins']['get'](_0x371a('0x20'));_0xf0765['_descriptionFactory'][_0x371a('0x25')]('table',_0x4d79a6=>_0x484c62(_0xf39b10,_0x371a('0x2c'),_0x4d79a6)),this['_setupColumnsRowsFixing'](),_0xf0765[_0x371a('0x6c')](_0x371a('0x30')),_0xf0765[_0x371a('0x6c')]('selectTableRow'),_0xf0765[_0x371a('0x6c')](_0x371a('0x5f'));for(const _0x1c6de4 of['insertTableRowAbove',_0x371a('0x56')]){const _0x59b886=_0x4b7609[_0x371a('0x12')][_0x371a('0x4f')](_0x1c6de4);_0xf0765[_0x371a('0x6c')](_0x1c6de4,_0x376f51=>{_0x4b7609['model']['change'](_0x4c7a7d=>{_0x376f51();const _0x5ec7d6=_0x371a('0x71')===_0x59b886[_0x371a('0xe')],_0x2a180d=_0x532bf8['getSelectionAffectedTableCells'](_0x57b167),_0x370321=_0x532bf8[_0x371a('0x2f')](_0x2a180d),_0xfb229d=_0x5ec7d6?_0x370321[_0x371a('0x6e')]-0x1:_0x370321[_0x371a('0x6')]+0x1,_0x131a39=_0x2a180d[0x0]['findAncestor'](_0x371a('0xd')),_0x2cbaa9=_0x532bf8[_0x371a('0x40')](_0x131a39,{'startRow':_0xfb229d,'endRow':_0xfb229d}),_0x36c533=Array[_0x371a('0x4a')](_0x2cbaa9)['map'](_0x273ed7=>_0x4c7a7d[_0x371a('0x80')](_0x273ed7[_0x371a('0x7d')]));_0xf0765['markMultiRangeInsertion'](_0x36c533,_0x371a('0x32'));});});}for(const _0x4e62ff of['insertTableColumnLeft',_0x371a('0x29')]){const _0x5c2791=_0x4b7609[_0x371a('0x12')][_0x371a('0x4f')](_0x4e62ff);_0xf0765['enableCommand'](_0x4e62ff,_0x290141=>{_0x4b7609[_0x371a('0x69')]['change'](_0x7e115b=>{_0x290141();const _0x4ccd13='left'===_0x5c2791['order'],_0x4fcff0=_0x532bf8['getSelectionAffectedTableCells'](_0x57b167),_0x1fa00d=_0x532bf8[_0x371a('0x50')](_0x4fcff0),_0x1f4630=_0x4ccd13?_0x1fa00d[_0x371a('0x6e')]-0x1:_0x1fa00d[_0x371a('0x6')]+0x1,_0x41bf26=_0x4fcff0[0x0][_0x371a('0x11')](_0x371a('0xd')),_0x572a0e=_0x532bf8[_0x371a('0x40')](_0x41bf26,{'startRow':0x0,'column':_0x1f4630,'includeAllSlots':!0x1}),_0x2f31e2=Array[_0x371a('0x4a')](_0x572a0e)[_0x371a('0x0')](_0x22cd11=>_0x7e115b[_0x371a('0x80')](_0x22cd11[_0x371a('0x7d')]));_0xf0765['markMultiRangeInsertion'](_0x2f31e2,'tableColumn');});});}for(const _0x9bf007 of[_0x371a('0x65'),_0x371a('0x66')]){const _0xfe7886=_0x9bf007[_0x371a('0x35')](0xb),_0x3190d7=_0xfe7886[_0x371a('0x3b')](),_0x3990fd=_0x3190d7[_0x371a('0x35')](0x0,0x3)+_0x371a('0x5d'),_0x4a0dfa=_0x371a('0xd')+_0xfe7886,_0x117d28=_0x371a('0x76')+_0xfe7886,_0x1f6057='max'+_0xfe7886;_0xf0765['enableCommand'](_0x9bf007,()=>{_0x4b7609[_0x371a('0x69')]['change'](_0x145aa4=>{const _0x17bd43=_0x532bf8[_0x371a('0x47')](_0x57b167),_0x5a4982=_0x17bd43[0x0][_0x371a('0x11')](_0x371a('0xd'));let _0xe6bf60;if(_0x371a('0x65')==_0x9bf007){const _0x9b270a=_0x532bf8[_0x371a('0x2f')](_0x17bd43);_0xe6bf60={'startRow':_0x9b270a[_0x371a('0x6e')],'endRow':_0x9b270a[_0x371a('0x6')],'includeAllSlots':!0x0};}else{const _0x154075=_0x532bf8[_0x371a('0x50')](_0x17bd43);_0xe6bf60={'startColumn':_0x154075[_0x371a('0x6e')],'endColumn':_0x154075['last'],'includeAllSlots':!0x0};}const _0x277af9=_0x532bf8[_0x371a('0x40')](_0x5a4982,_0xe6bf60),_0x4c2a43=Array[_0x371a('0x4a')](_0x277af9)['map'](({cell:_0x50b7d2})=>_0x50b7d2),_0x45aec7=ie(_0x4c2a43['filter'](_0x24a20f=>_0x24a20f[_0x371a('0x2e')](_0x3990fd))),_0x4d1f9a=ie(_0x4c2a43['filter'](_0x59d61e=>!_0x59d61e[_0x371a('0x2e')](_0x3990fd)))[_0x371a('0x0')](_0x1e176f=>_0x145aa4[_0x371a('0x80')](_0x1e176f)),_0xe3e18a=_0xf0765['markMultiRangeDeletion'](_0x4d1f9a,_0x4a0dfa);if(_0xe3e18a&&(_0x371a('0x32')==_0xe3e18a[_0x371a('0x5b')]||'tableColumn'==_0xe3e18a[_0x371a('0x5b')])){const _0x18421=this['_getSuggestionCoords'](_0xe3e18a);for(const _0x22782a of _0x45aec7){const _0x21b674=_0x145aa4['createRangeOn'](_0x22782a),_0x201219=_0x532bf8['getCellLocation'](_0x22782a),_0x5c6472=_0x22782a['getAttribute'](_0x3990fd)-0x1,_0x47a612=_0x18421[_0x117d28],_0x2b55e3=_0x18421[_0x1f6057];_0x47a612<=_0x201219[_0x3190d7]&&_0x201219[_0x3190d7]+_0x5c6472<=_0x2b55e3&&_0xe3e18a[_0x371a('0x26')](_0x21b674);}}});});}function _0x538b05(_0x57b689){const _0x5a8701=Array['from'](_0x57b167['getRanges']())[_0x371a('0x0')](_0x5b00f8=>_0x40b596[_0x371a('0x72')](_0x5b00f8));_0x4b7609[_0x371a('0x69')]['change'](_0x35b670=>{const _0x3b452d=_0x35b670[_0x371a('0x4b')];_0x57b689=_0x57b689[_0x371a('0x36')](_0x519057=>_0x371a('0x53')!=_0x519057[_0x371a('0x48')][_0x371a('0xb')]),_0x35b670['setSelection'](_0x57b689),_0x4b7609[_0x371a('0x12')][_0x371a('0x4f')]('removeTableRow')['refresh'](),_0x4b7609[_0x371a('0x14')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x4b7609['model'][_0x371a('0x75')](()=>{_0x4b7609['model'][_0x371a('0x75')](_0x3b452d,_0x5cc786=>{const _0x548f8b=_0x5a8701[_0x371a('0x36')](_0x4ff0e1=>_0x371a('0x53')!=_0x4ff0e1[_0x371a('0x48')][_0x371a('0xb')]);_0x548f8b[_0x371a('0x28')]>0x0&&_0x5cc786[_0x371a('0x16')](_0x548f8b);for(const _0x259503 of _0x5a8701)_0x259503['detach']();});});});}function _0x16a8c6(_0x61010a){_0x4b7609[_0x371a('0x69')][_0x371a('0x59')](_0xc9445f=>{const _0x5d95fc=Array[_0x371a('0x4a')](_0x57b167[_0x371a('0x1f')]())[_0x371a('0x0')](_0x41ac34=>_0x40b596['fromRange'](_0x41ac34)),_0x4794c2=[];for(const _0x5708c7 of _0x61010a)for(const _0x1e368a of _0x5708c7['getItems']({'shallow':!0x0}))_0x4794c2[_0x371a('0x2d')](_0x1e368a);for(const _0x435863 of _0x4794c2)'$graveyard'!=_0x435863[_0x371a('0x48')][_0x371a('0xb')]&&(_0xc9445f[_0x371a('0x16')](_0xc9445f[_0x371a('0x77')](_0x435863,0x0)),_0x4b7609['commands']['get'](_0x371a('0x66'))[_0x371a('0xc')](),_0x4b7609['execute'](_0x371a('0x66'),{'forceDefaultExecution':!0x0}));const _0x1a8c3d=_0x5d95fc[_0x371a('0x36')](_0x5eca5c=>'$graveyard'!=_0x5eca5c['root'][_0x371a('0xb')]);_0x1a8c3d[_0x371a('0x28')]>0x0&&_0xc9445f[_0x371a('0x16')](_0x1a8c3d);for(const _0x3496f6 of _0x5d95fc)_0x3496f6['detach']();});}function _0x5adfc7(_0x3ed98c,_0x47497d){return _0x47497d[_0x371a('0x4e')](_0x52b3a2=>_0x3ed98c[_0x371a('0x64')](_0x436e57=>_0x436e57['end']['isEqual'](_0x52b3a2[_0x371a('0x18')])||_0x52b3a2[_0x371a('0x57')][_0x371a('0x42')](_0x436e57[_0x371a('0x18')])));}function _0x492077(_0x36c525,_0x13abcb){return _0x36c525[_0x371a('0x64')](_0x257599=>_0x13abcb[_0x371a('0x64')](_0x5beb8a=>_0x257599[_0x371a('0x57')][_0x371a('0x2')](_0x5beb8a['start'])));}_0x4b7609[_0x371a('0x7e')][_0x371a('0x7b')]['on']('addMarker:suggestion',(_0x3bf51a,_0xd1c50b,_0x3747a6)=>{if(!_0x3747a6[_0x371a('0x6a')][_0x371a('0x8')])return;const _0x40a7ab=_0xd1c50b[_0x371a('0x7')];if(!_0x40a7ab)return;const _0x606041=_0x3747a6['mapper']['toViewElement'](_0x40a7ab);function _0x3163be(_0x52ab08){return Array[_0x371a('0x6b')](_0x52ab08)?_0x52ab08:[_0x52ab08];}_0x606041&&'tableCell'===_0x40a7ab['name']&&_0x46215(_0x606041,_0x3747a6['writer'],(_0xbe0f60,_0x342438,_0x2d5480)=>_0x2d5480[_0x371a('0x61')](_0x3163be(_0x342438[_0x371a('0x3c')]),_0xbe0f60),(_0x131e37,_0x27dfdf,_0x587706)=>_0x587706['removeClass'](_0x3163be(_0x27dfdf[_0x371a('0x3c')]),_0x131e37));},{'priority':_0x371a('0x5a')}),_0xf0765[_0x371a('0x54')][_0x371a('0x3f')](_0x481579=>{if(_0x371a('0x4c')!=_0x481579[_0x371a('0x51')]&&'deletion'!=_0x481579['type'])return;const _0x495e8e=_0x481579['getContainedElement']();if(null!=_0x495e8e&&_0x495e8e['is'](_0x371a('0x62'),'table')){if(_0x371a('0x4c')==_0x481579[_0x371a('0x51')]){const _0x708993=_0x481579[_0x371a('0xa')]()['filter'](_0x5e103d=>_0x5e103d['is'](_0x371a('0x7a')))[_0x371a('0x0')](_0x54c97e=>_0x54c97e[_0x371a('0x7e')]);if(_0x708993['length'])return{'type':_0x371a('0x4c'),'content':_0x484c62(_0xf39b10,'*Insert:*\x20%0',_0x484c62(_0xf39b10,_0x371a('0x1e'),'\x22'+_0x708993[_0x371a('0x7c')]('\x20')+'\x22'))};}if(_0x371a('0x24')==_0x481579[_0x371a('0x51')]){const _0x1f57c0=_0x481579['getItems']()['filter'](_0x546ceb=>_0x546ceb['is'](_0x371a('0x7a')))[_0x371a('0x0')](_0x703112=>_0x703112[_0x371a('0x7e')]);if(_0x1f57c0[_0x371a('0x28')])return{'type':'deletion','content':_0x484c62(_0xf39b10,'*Remove:*\x20%0',_0x484c62(_0xf39b10,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x1f57c0[_0x371a('0x7c')]('\x20')+'\x22'))};}}}),_0xf0765[_0x371a('0x54')][_0x371a('0x3f')](_0x5b3cb5=>{if(_0x371a('0x32')==_0x5b3cb5['subType']){const _0xaa29fa=_0x5b3cb5['getItems']()[_0x371a('0x36')](_0x3deefc=>_0x3deefc['is']('$textProxy'))['map'](_0x5107aa=>_0x5107aa[_0x371a('0x7e')]),_0x12c28b=this[_0x371a('0x27')](_0x5b3cb5),_0x1c6b84=_0x12c28b[_0x371a('0xf')]-_0x12c28b[_0x371a('0x5')]+0x1;if(_0x371a('0x4c')==_0x5b3cb5[_0x371a('0x51')])return _0xaa29fa[_0x371a('0x28')]?{'type':_0x371a('0x4c'),'content':_0x484c62(_0xf39b10,_0x371a('0x4'),_0x484c62(_0xf39b10,_0x371a('0x63'),[_0x1c6b84,'\x22'+_0xaa29fa[_0x371a('0x7c')]('\x20')+'\x22']))}:{'type':_0x371a('0x4c'),'content':_0x484c62(_0xf39b10,_0x371a('0x4'),_0x484c62(_0xf39b10,_0x371a('0x5e'),_0x1c6b84))};if(_0x371a('0x24')==_0x5b3cb5[_0x371a('0x51')])return _0xaa29fa['length']?{'type':'deletion','content':_0x484c62(_0xf39b10,_0x371a('0x3d'),_0x484c62(_0xf39b10,_0x371a('0x63'),[_0x1c6b84,'\x22'+_0xaa29fa['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x484c62(_0xf39b10,_0x371a('0x3d'),_0x484c62(_0xf39b10,_0x371a('0x5e'),_0x1c6b84))};}if(_0x371a('0x22')==_0x5b3cb5[_0x371a('0x5b')]){const _0x2c6954=_0x5b3cb5[_0x371a('0xa')]()[_0x371a('0x36')](_0x2c4d66=>_0x2c4d66['is'](_0x371a('0x7a')))[_0x371a('0x0')](_0x54cb8e=>_0x54cb8e[_0x371a('0x7e')]),_0xf318e9=this[_0x371a('0x27')](_0x5b3cb5),_0x3acae1=_0xf318e9[_0x371a('0x10')]-_0xf318e9['minColumn']+0x1;if(_0x371a('0x4c')==_0x5b3cb5[_0x371a('0x51')])return _0x2c6954[_0x371a('0x28')]?{'type':_0x371a('0x4c'),'content':_0x484c62(_0xf39b10,_0x371a('0x4'),_0x484c62(_0xf39b10,_0x371a('0x13'),[_0x3acae1,'\x22'+_0x2c6954[_0x371a('0x7c')]('\x20')+'\x22']))}:{'type':_0x371a('0x4c'),'content':_0x484c62(_0xf39b10,'*Insert:*\x20%0',_0x484c62(_0xf39b10,'ELEMENT_TABLE_COLUMN',_0x3acae1))};if(_0x371a('0x24')==_0x5b3cb5[_0x371a('0x51')])return _0x2c6954[_0x371a('0x28')]?{'type':_0x371a('0x24'),'content':_0x484c62(_0xf39b10,'*Remove:*\x20%0',_0x484c62(_0xf39b10,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x3acae1,'\x22'+_0x2c6954['join']('\x20')+'\x22']))}:{'type':_0x371a('0x24'),'content':_0x484c62(_0xf39b10,'*Remove:*\x20%0',_0x484c62(_0xf39b10,_0x371a('0x9'),_0x3acae1))};}}),_0xf0765[_0x371a('0x49')]['registerCustomCallback'](_0x371a('0x4c'),_0x371a('0x32'),_0x371a('0x2a'),_0x538b05),_0xf0765[_0x371a('0x49')][_0x371a('0x79')]('deletion',_0x371a('0x32'),_0x371a('0x6d'),_0x538b05),_0xf0765[_0x371a('0x49')]['registerCustomCallback'](_0x371a('0x4c'),_0x371a('0x22'),_0x371a('0x2a'),_0x16a8c6),_0xf0765[_0x371a('0x49')][_0x371a('0x79')]('deletion',_0x371a('0x22'),_0x371a('0x6d'),_0x16a8c6),_0xf0765[_0x371a('0x49')]['registerCustomCallback'](_0x371a('0x4c'),_0x371a('0x22'),_0x371a('0x7c'),_0x5adfc7),_0xf0765[_0x371a('0x49')][_0x371a('0x79')]('deletion',_0x371a('0x22'),_0x371a('0x7c'),_0x5adfc7),_0xf0765[_0x371a('0x49')][_0x371a('0x79')](_0x371a('0x4c'),'tableRow',_0x371a('0x7c'),_0x492077),_0xf0765['_suggestionFactory'][_0x371a('0x79')](_0x371a('0x24'),_0x371a('0x32'),_0x371a('0x7c'),_0x492077);}[_0x371a('0x38')](){const _0x227b20=this[_0x371a('0x1d')],_0x5a7803=_0x227b20[_0x371a('0x69')]['document'][_0x371a('0x44')];return(_0x1bd689,_0x5e8665)=>{_0x227b20[_0x371a('0x69')][_0x371a('0x59')](_0x453ec6=>{const {commandName:_0x35fe8a,commandParams:_0x57c643}=_0x5e8665;let _0x1be876=_0x1bd689[0x0]['end']['nodeBefore'];_0x57c643&&_0x57c643[0x0]&&!0x1===_0x57c643[0x0][_0x371a('0x1')]&&(_0x1be876=_0x1bd689[0x0][_0x371a('0x18')][_0x371a('0x45')]);const _0x3ee0e3=_0x453ec6[_0x371a('0x3e')](_0x1be876);if(_0x371a('0x53')==_0x3ee0e3['root'][_0x371a('0xb')])return;const _0x566d9a=Array[_0x371a('0x4a')](_0x5a7803[_0x371a('0x1f')]())[_0x371a('0x0')](_0x24c3cd=>_0x40b596[_0x371a('0x72')](_0x24c3cd));_0x453ec6['setSelection'](_0x3ee0e3),_0x227b20['commands'][_0x371a('0x4f')](_0x35fe8a)['refresh'](),_0x57c643[_0x371a('0x2d')]({'forceDefaultExecution':!0x0}),_0x227b20[_0x371a('0x14')](_0x35fe8a,..._0x57c643);const _0x1da938=_0x566d9a[_0x371a('0x36')](_0x487cc5=>'$graveyard'!=_0x487cc5['root']['rootName']);_0x1da938['length']>0x0&&_0x453ec6[_0x371a('0x16')](_0x1da938);for(const _0x54e449 of _0x566d9a)_0x54e449[_0x371a('0x1a')]();});};}[_0x371a('0x23')](_0x3a9c32){const _0x17ccd0=this[_0x371a('0x1d')][_0x371a('0x19')]['get'](_0x371a('0x20'));let _0x4da919=Number['MAX_SAFE_INTEGER'],_0x7b9b34=Number[_0x371a('0x3')],_0x5a9665=Number[_0x371a('0x68')],_0x24c22c=Number['MIN_SAFE_INTEGER'];for(const _0x40b9dd of _0x3a9c32){if('$graveyard'==_0x40b9dd[_0x371a('0x48')][_0x371a('0xb')])continue;const {row:_0x527d71,column:_0x49866e}=_0x17ccd0[_0x371a('0x70')](_0x40b9dd),_0x24f914=_0x40b9dd[_0x371a('0x2e')](_0x371a('0x3a'))?_0x40b9dd[_0x371a('0x1c')](_0x371a('0x3a'))-0x1:0x0,_0x1157f8=_0x40b9dd[_0x371a('0x2e')](_0x371a('0x78'))?_0x40b9dd['getAttribute'](_0x371a('0x78'))-0x1:0x0;_0x4da919=_0x527d71<_0x4da919?_0x527d71:_0x4da919,_0x7b9b34=_0x527d71+_0x24f914>_0x7b9b34?_0x527d71+_0x24f914:_0x7b9b34,_0x5a9665=_0x49866e<_0x5a9665?_0x49866e:_0x5a9665,_0x24c22c=_0x49866e+_0x1157f8>_0x24c22c?_0x49866e+_0x1157f8:_0x24c22c;}return{'minRow':_0x4da919,'maxRow':_0x7b9b34,'minColumn':_0x5a9665,'maxColumn':_0x24c22c};}[_0x371a('0x7f')](){const _0x66ffad=this['editor'],_0x4144ec=_0x66ffad[_0x371a('0x19')][_0x371a('0x4f')](_0x371a('0x2b')),_0xc5aed0=_0x66ffad[_0x371a('0x19')][_0x371a('0x4f')](_0x371a('0x20'));_0x66ffad[_0x371a('0x69')][_0x371a('0x21')]['on'](_0x371a('0x37'),()=>{const _0x23854c=Array[_0x371a('0x4a')](_0x66ffad[_0x371a('0x69')][_0x371a('0x21')][_0x371a('0x73')][_0x371a('0x5c')]());for(const {name:_0xccc6d5,data:_0x229056}of _0x23854c){const {group:_0x5f1031,id:_0x746fae,subType:_0x5b526a}=_0x4144ec[_0x371a('0x17')](_0xccc6d5);if('suggestion'!=_0x5f1031)continue;if(null!=_0x229056['oldRange'])continue;const _0x813cfa=_0x4144ec[_0x371a('0x41')](_0x746fae);this[_0x371a('0x74')][_0x371a('0x6f')](_0x5b526a)&&this['_tableSuggestions'][_0x371a('0x1b')](_0x813cfa);}},{'priority':_0x371a('0x55')});const _0x146f42=(_0x1c9af5,_0xc546e)=>{let _0x403425=!0x1;const _0x8cd3be=_0xc546e['createRangeOn'](_0x1c9af5),_0x1c7b6a=_0x1c9af5['findAncestor']('table'),_0x210ca1=_0xc5aed0[_0x371a('0x70')](_0x1c9af5);for(const _0x4a8dbd of this[_0x371a('0x39')]){const _0xbbbef7=_0x4a8dbd[_0x371a('0x5b')],_0x51436d=_0xbbbef7['startsWith']('tablePaste'),_0x570963=_0xbbbef7[_0x371a('0x35')](_0x51436d?0xa:0x5),_0x44f2a2=_0x570963[_0x371a('0x3b')](),_0x24aead=_0x44f2a2[_0x371a('0x35')](0x0,0x3)+_0x371a('0x5d'),_0x568c5f=_0x371a('0x76')+_0x570963,_0x5b68d3=_0x371a('0x34')+_0x570963;if(!_0x4a8dbd[_0x371a('0x15')])continue;if(_0x1c7b6a!=_0x4a8dbd['getFirstRange']()[_0x371a('0x18')]['findAncestor'](_0x371a('0xd')))continue;if(_0x4a8dbd['isIntersectingWithRange'](_0x8cd3be))continue;const _0x389030=_0x1c9af5['hasAttribute'](_0x24aead)?_0x1c9af5[_0x371a('0x1c')](_0x24aead)-0x1:0x0,_0xa189e8=this[_0x371a('0x27')](_0x4a8dbd),_0x42c88a=_0xa189e8[_0x568c5f],_0x57fb86=_0xa189e8[_0x5b68d3];_0x42c88a<=_0x210ca1[_0x44f2a2]&&_0x210ca1[_0x44f2a2]+_0x389030<=_0x57fb86&&(_0x4a8dbd[_0x371a('0x26')](_0x8cd3be),_0x403425=!0x0);}return _0x403425;};_0x66ffad[_0x371a('0x69')][_0x371a('0x21')][_0x371a('0x31')](_0x3228ec=>{let _0x22363e=!0x1;for(const _0x322719 of _0x66ffad[_0x371a('0x69')][_0x371a('0x21')][_0x371a('0x73')]['getChanges']())if('insert'==_0x322719[_0x371a('0x51')]){if(_0x371a('0x32')==_0x322719[_0x371a('0x43')])for(const _0x26ad3a of _0x322719[_0x371a('0x60')][_0x371a('0x45')][_0x371a('0x33')]())_0x22363e=_0x22363e||_0x146f42(_0x26ad3a,_0x3228ec);else _0x371a('0x4d')==_0x322719[_0x371a('0x43')]&&(_0x22363e=_0x22363e||_0x146f42(_0x322719[_0x371a('0x60')]['nodeAfter'],_0x3228ec));}return _0x22363e;});}[_0x371a('0x27')](_0xabc452){return this[_0x371a('0x23')](_0xabc452[_0x371a('0x1f')]()['map'](_0x5d0d3f=>_0x5d0d3f['start']['nodeAfter']));}}function ie(_0x5eb147){return Array[_0x371a('0x4a')](new Set(_0x5eb147)[_0x371a('0x46')]());}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module track-changes/integrations/tablecaption
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import TrackChangesTable from './table';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import TrackChangesTable from './table.js';
|
|
10
10
|
/**
|
|
11
11
|
* Provides track changes plugin integration for {@link module:table/table~Table table feature} caption.
|
|
12
12
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe43b=['get','enableCommand','requires','plugins','has','TrackChangesEditing'];(function(_0x14bf54,_0xe43b0b){const _0xd89353=function(_0xb0c4a){while(--_0xb0c4a){_0x14bf54['push'](_0x14bf54['shift']());}};_0xd89353(++_0xe43b0b);}(_0xe43b,0x69));const _0xd893=function(_0x14bf54,_0xe43b0b){_0x14bf54=_0x14bf54-0x0;let _0xd89353=_0xe43b[_0x14bf54];return _0xd89353;};import{Plugin as _0x2bef06}from'ckeditor5/src/core.js';import _0x41b489 from'./table.js';export default class Dt extends _0x2bef06{static get[_0xd893('0x5')](){return[_0x41b489];}['afterInit'](){const _0x2cb6c9=this['editor'];if(!_0x2cb6c9[_0xd893('0x0')][_0xd893('0x1')]('TableCaptionEditing'))return;_0x2cb6c9[_0xd893('0x0')][_0xd893('0x3')](_0xd893('0x2'))[_0xd893('0x4')]('toggleTableCaption');}}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, 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
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
6
|
-
import TrackChangesTable from './table';
|
|
5
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
6
|
+
import TrackChangesTable from './table.js';
|
|
7
7
|
/**
|
|
8
8
|
* Provides track changes plugin integration for {@link module:table/tableclipboard~TableClipboard table clipboard feature}.
|
|
9
9
|
*/
|