UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

23 lines 3.46 kB
/* * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * * * * * +---------------------------------------------------------------------------------+ * | | * | Hello stranger! | * | | * | | * | What you're currently looking at is the source code of a legally protected, | * | proprietary software. Any attempts to deobfuscate / disassemble this code | * | are forbidden and will result in legal consequences. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ function _0x2648(_0x264d1c,_0x2ecd49){const _0x8cfa8f=_0x8cfa();return _0x2648=function(_0x264871,_0x384096){_0x264871=_0x264871-0x8b;let _0x286ee6=_0x8cfa8f[_0x264871];return _0x286ee6;},_0x2648(_0x264d1c,_0x2ecd49);}const _0x4b9e45=_0x2648;(function(_0x173fb4,_0x5b943f){const _0x52b80d=_0x2648,_0x22a0b3=_0x173fb4();while(!![]){try{const _0x3aa76b=-parseInt(_0x52b80d(0xa5))/0x1+parseInt(_0x52b80d(0x95))/0x2+-parseInt(_0x52b80d(0x8d))/0x3+parseInt(_0x52b80d(0x9d))/0x4+-parseInt(_0x52b80d(0x9b))/0x5*(-parseInt(_0x52b80d(0xa3))/0x6)+parseInt(_0x52b80d(0x94))/0x7+-parseInt(_0x52b80d(0x8b))/0x8*(parseInt(_0x52b80d(0x91))/0x9);if(_0x3aa76b===_0x5b943f)break;else _0x22a0b3['push'](_0x22a0b3['shift']());}catch(_0x1b8154){_0x22a0b3['push'](_0x22a0b3['shift']());}}}(_0x8cfa,0xb0170));import{Plugin as _0x17abf5}from'ckeditor5/src/core.js';function _0x8cfa(){const _0x1405ae=['18ZLKsHA','format','1271780XNoTEC','*Remove\x20all\x20formatting*','325880jcEVSk','plugins','1588875RcmrQG','TrackChangesEditing','_registerLegacyDescription','type','333etEMGy','RemoveFormatEditing','get','4275922JumNnZ','2298836LQUGfS','enableDefaultAttributesIntegration','has','removeFormat','descriptionFactory','afterInit','1653130UhIKdK','commandName','5110888msJkDc','locale','formatBlock','registerDescriptionCallback','formatInline','editor'];_0x8cfa=function(){return _0x1405ae;};return _0x8cfa();}import{getTranslation as _0x207943}from'../utils/common-translations.js';export default class jt extends _0x17abf5{[_0x4b9e45(0x9a)](){const _0x338031=_0x4b9e45,_0x10d6cc=this[_0x338031(0xa2)];if(!_0x10d6cc[_0x338031(0x8c)][_0x338031(0x97)](_0x338031(0x92)))return;_0x10d6cc[_0x338031(0x8c)][_0x338031(0x93)](_0x338031(0x8e))[_0x338031(0x96)](_0x338031(0x98)),this[_0x338031(0x8f)]();}[_0x4b9e45(0x8f)](){const _0x1f58d0=_0x4b9e45,_0x517c21=this[_0x1f58d0(0xa2)];_0x517c21[_0x1f58d0(0x8c)][_0x1f58d0(0x93)](_0x1f58d0(0x8e))[_0x1f58d0(0x99)][_0x1f58d0(0xa0)](_0x491475=>{const _0x4f6181=_0x1f58d0;if(_0x4f6181(0x9f)!=_0x491475[_0x4f6181(0x90)]&&_0x4f6181(0xa1)!=_0x491475[_0x4f6181(0x90)])return;const {data:_0x1fca81}=_0x491475;return _0x1fca81&&_0x4f6181(0x98)==_0x1fca81[_0x4f6181(0x9c)]?{'type':_0x4f6181(0xa4),'content':_0x207943(_0x517c21[_0x4f6181(0x9e)],_0x4f6181(0xa6))}:void 0x0;});}}