@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 3.45 kB
JavaScript
/*
* 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. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
const _0x9c3e9b=_0x2d8f;(function(_0x5459b3,_0x5bf6b4){const _0x1fd234=_0x2d8f,_0x5324eb=_0x5459b3();while(!![]){try{const _0x1f7553=-parseInt(_0x1fd234(0xcb))/0x1+-parseInt(_0x1fd234(0xbf))/0x2+-parseInt(_0x1fd234(0xba))/0x3+-parseInt(_0x1fd234(0xcc))/0x4*(parseInt(_0x1fd234(0xbc))/0x5)+parseInt(_0x1fd234(0xd2))/0x6+parseInt(_0x1fd234(0xcd))/0x7*(-parseInt(_0x1fd234(0xd3))/0x8)+parseInt(_0x1fd234(0xc4))/0x9;if(_0x1f7553===_0x5bf6b4)break;else _0x5324eb['push'](_0x5324eb['shift']());}catch(_0x20b653){_0x5324eb['push'](_0x5324eb['shift']());}}}(_0x409f,0xf124f));import{Plugin as _0x5bb6a2}from'ckeditor5/src/core.js';function _0x2d8f(_0x258e31,_0xa420c0){const _0x409f9d=_0x409f();return _0x2d8f=function(_0x2d8ffc,_0x3859c2){_0x2d8ffc=_0x2d8ffc-0xb8;let _0x554ea9=_0x409f9d[_0x2d8ffc];return _0x554ea9;},_0x2d8f(_0x258e31,_0xa420c0);}import{getTranslation as _0xca9f61}from'../utils/common-translations.js';function _0x409f(){const _0x2f606b=['1758430OuwMMw','descriptionFactory','afterInit','2221114mmiYgI','has','format','formatBlock','TrackChangesEditing','12620079WhMtlY','removeFormat','commandName','plugins','enableDefaultAttributesIntegration','formatInline','locale','106744DRJfCZ','8ZpFGQp','77ufkskN','editor','get','registerDescriptionCallback','_registerLegacyDescription','10540398HnBNoF','80336EUzPmm','type','*Remove\x20all\x20formatting*','420306jEuCkH','RemoveFormatEditing'];_0x409f=function(){return _0x2f606b;};return _0x409f();}export default class St extends _0x5bb6a2{[_0x9c3e9b(0xbe)](){const _0xec916f=_0x9c3e9b,_0x15cc0c=this[_0xec916f(0xce)];if(!_0x15cc0c[_0xec916f(0xc7)][_0xec916f(0xc0)](_0xec916f(0xbb)))return;_0x15cc0c[_0xec916f(0xc7)][_0xec916f(0xcf)](_0xec916f(0xc3))[_0xec916f(0xc8)](_0xec916f(0xc5)),this[_0xec916f(0xd1)]();}[_0x9c3e9b(0xd1)](){const _0x2fa34d=_0x9c3e9b,_0x3f7d70=this[_0x2fa34d(0xce)];_0x3f7d70[_0x2fa34d(0xc7)][_0x2fa34d(0xcf)](_0x2fa34d(0xc3))[_0x2fa34d(0xbd)][_0x2fa34d(0xd0)](_0x6ccd4c=>{const _0x823c21=_0x2fa34d;if(_0x823c21(0xc2)!=_0x6ccd4c[_0x823c21(0xb8)]&&_0x823c21(0xc9)!=_0x6ccd4c[_0x823c21(0xb8)])return;const {data:_0x526f30}=_0x6ccd4c;return _0x526f30&&_0x823c21(0xc5)==_0x526f30[_0x823c21(0xc6)]?{'type':_0x823c21(0xc1),'content':_0xca9f61(_0x3f7d70[_0x823c21(0xca)],_0x823c21(0xb9))}:void 0x0;});}}