@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 3.87 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 _0x35499f=_0x2183;(function(_0x370324,_0x3648a0){const _0x5abae1=_0x2183,_0x3a0807=_0x370324();while(!![]){try{const _0x53c2fb=parseInt(_0x5abae1(0x155))/0x1+-parseInt(_0x5abae1(0x14b))/0x2*(-parseInt(_0x5abae1(0x140))/0x3)+-parseInt(_0x5abae1(0x161))/0x4+parseInt(_0x5abae1(0x15a))/0x5+parseInt(_0x5abae1(0x145))/0x6+-parseInt(_0x5abae1(0x14d))/0x7*(-parseInt(_0x5abae1(0x143))/0x8)+parseInt(_0x5abae1(0x153))/0x9*(-parseInt(_0x5abae1(0x14a))/0xa);if(_0x53c2fb===_0x3648a0)break;else _0x3a0807['push'](_0x3a0807['shift']());}catch(_0x13cf1d){_0x3a0807['push'](_0x3a0807['shift']());}}}(_0x5f10,0xb1663));function _0x5f10(){const _0x4343a7=['editor','high','enableCommand','1441190aOfiuR','12522HzsEFL','dataDowncast','757057UAipKm','plugins','locale','conversion','ELEMENT_HORIZONTAL_LINE','has','117SzjeAD','for','965774VofKdG','createPositionAt','afterInit','ck-horizontal-line','get','3941390PszXIV','horizontalLine','createEmptyElement','addClass','registerElementLabel','HorizontalLineEditing','showSuggestionHighlights','3973124kcbuYz','createContainerElement','descriptionFactory','615AQMnXt','div','elementToStructure','24FtSGcN','insert','1388670SoWfYD','TrackChangesEditing'];_0x5f10=function(){return _0x4343a7;};return _0x5f10();}import{Plugin as _0x3a88be}from'ckeditor5/src/core.js';function _0x2183(_0x5cb34e,_0x1a0e09){const _0x5f1041=_0x5f10();return _0x2183=function(_0x21835a,_0x42ecb2){_0x21835a=_0x21835a-0x13f;let _0xb50c8c=_0x5f1041[_0x21835a];return _0xb50c8c;},_0x2183(_0x5cb34e,_0x1a0e09);}import{getTranslation as _0x372208}from'../utils/common-translations.js';export class TrackChangesHorizontalLine extends _0x3a88be{[_0x35499f(0x157)](){const _0x1f7e30=_0x35499f,_0x2054b5=this[_0x1f7e30(0x147)];if(!_0x2054b5[_0x1f7e30(0x14e)][_0x1f7e30(0x152)](_0x1f7e30(0x15f)))return;_0x2054b5[_0x1f7e30(0x14e)][_0x1f7e30(0x159)](_0x1f7e30(0x146))[_0x1f7e30(0x149)](_0x1f7e30(0x15b));const _0x23da81=_0x2054b5[_0x1f7e30(0x14e)][_0x1f7e30(0x159)](_0x1f7e30(0x146)),_0x2567aa=_0x2054b5[_0x1f7e30(0x14f)];_0x23da81[_0x1f7e30(0x13f)][_0x1f7e30(0x15e)](_0x1f7e30(0x15b),_0x1d8024=>_0x372208(_0x2567aa,_0x1f7e30(0x151),_0x1d8024)),_0x2054b5[_0x1f7e30(0x150)][_0x1f7e30(0x154)](_0x1f7e30(0x14c))[_0x1f7e30(0x142)]({'model':_0x1f7e30(0x15b),'view':(_0x2b1df7,{writer:_0x2ac061,options:_0x4abfad})=>{const _0xa337c0=_0x1f7e30;if(!_0x4abfad[_0xa337c0(0x160)])return null;const _0x276fae=_0x2ac061[_0xa337c0(0x162)](_0xa337c0(0x141)),_0x381048=_0x2ac061[_0xa337c0(0x15c)]('hr');return _0x2ac061[_0xa337c0(0x15d)](_0xa337c0(0x158),_0x276fae),_0x2ac061[_0xa337c0(0x144)](_0x2ac061[_0xa337c0(0x156)](_0x276fae,0x0),_0x381048),_0x276fae;},'converterPriority':_0x1f7e30(0x148)});}}