@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 3.4 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 _0x3350c3=_0x2c93;function _0x405e(){const _0x25d1e0=['4algEos','acceptAllSuggestions','discardSuggestion','21sIXARs','acceptSuggestion','891ATjKUl','goToPreviousRestrictedEditingException','TrackChangesEditing','has','goToNextRestrictedEditingException','editor','114416dKGsFh','discardAllSuggestions','trackChanges','discardSelectedSuggestions','233724StxhTN','afterInit','get','plugins','225294XUCSDd','acceptSelectedSuggestions','287975wjhCgZ','RestrictedEditingModeEditing','1698320BTRHzk','529623XIzIjv','4456cUXMKa','enableCommand'];_0x405e=function(){return _0x25d1e0;};return _0x405e();}(function(_0x4a505c,_0x5ea42a){const _0x9af4c3=_0x2c93,_0x122326=_0x4a505c();while(!![]){try{const _0x250639=parseInt(_0x9af4c3(0x72))/0x1+-parseInt(_0x9af4c3(0x76))/0x2+parseInt(_0x9af4c3(0x7f))/0x3+-parseInt(_0x9af4c3(0x82))/0x4*(parseInt(_0x9af4c3(0x7c))/0x5)+-parseInt(_0x9af4c3(0x7a))/0x6*(-parseInt(_0x9af4c3(0x6a))/0x7)+-parseInt(_0x9af4c3(0x80))/0x8*(-parseInt(_0x9af4c3(0x6c))/0x9)+-parseInt(_0x9af4c3(0x7e))/0xa;if(_0x250639===_0x5ea42a)break;else _0x122326['push'](_0x122326['shift']());}catch(_0x3fc414){_0x122326['push'](_0x122326['shift']());}}}(_0x405e,0x1bf1a));function _0x2c93(_0x45d334,_0x3ede7e){const _0x405e3a=_0x405e();return _0x2c93=function(_0x2c9314,_0x3c58c3){_0x2c9314=_0x2c9314-0x68;let _0x4554a1=_0x405e3a[_0x2c9314];return _0x4554a1;},_0x2c93(_0x45d334,_0x3ede7e);}import{Plugin as _0x3d5262}from'ckeditor5/src/core.js';export class TrackChangesRestrictedEditingMode extends _0x3d5262{[_0x3350c3(0x77)](){const _0x1590f7=_0x3350c3,_0x4d8483=this[_0x1590f7(0x71)];if(!_0x4d8483[_0x1590f7(0x79)][_0x1590f7(0x6f)](_0x1590f7(0x7d)))return;const _0x305129=_0x4d8483[_0x1590f7(0x79)][_0x1590f7(0x78)](_0x1590f7(0x6e));_0x305129[_0x1590f7(0x81)](_0x1590f7(0x6d)),_0x305129[_0x1590f7(0x81)](_0x1590f7(0x70));const _0x205066=_0x4d8483[_0x1590f7(0x79)][_0x1590f7(0x78)](_0x1590f7(0x7d));_0x205066[_0x1590f7(0x81)](_0x1590f7(0x74)),_0x205066[_0x1590f7(0x81)](_0x1590f7(0x6b)),_0x205066[_0x1590f7(0x81)](_0x1590f7(0x69)),_0x205066[_0x1590f7(0x81)](_0x1590f7(0x68)),_0x205066[_0x1590f7(0x81)](_0x1590f7(0x73)),_0x205066[_0x1590f7(0x81)](_0x1590f7(0x7b)),_0x205066[_0x1590f7(0x81)](_0x1590f7(0x75));}}