@ckeditor/ckeditor5-comments
Version:
Collaborative comments feature for CKEditor 5.
23 lines • 2.68 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 _0x431bf8=_0x232f;(function(_0x2d67e4,_0x4bccee){const _0x5e998b=_0x232f,_0x9c6c09=_0x2d67e4();while(!![]){try{const _0x5e4019=parseInt(_0x5e998b(0x144))/0x1+-parseInt(_0x5e998b(0x14c))/0x2+-parseInt(_0x5e998b(0x145))/0x3+parseInt(_0x5e998b(0x141))/0x4+parseInt(_0x5e998b(0x146))/0x5*(parseInt(_0x5e998b(0x14a))/0x6)+-parseInt(_0x5e998b(0x14d))/0x7*(-parseInt(_0x5e998b(0x148))/0x8)+-parseInt(_0x5e998b(0x147))/0x9;if(_0x5e4019===_0x4bccee)break;else _0x9c6c09['push'](_0x9c6c09['shift']());}catch(_0x58d396){_0x9c6c09['push'](_0x9c6c09['shift']());}}}(_0x5114,0xe9020));import{Plugin as _0x18dac4}from'ckeditor5/src/core.js';function _0x232f(_0x2e8d1a,_0x1979ad){const _0x511404=_0x5114();return _0x232f=function(_0x232fc8,_0x5377d4){_0x232fc8=_0x232fc8-0x13e;let _0xdab886=_0x511404[_0x232fc8];return _0xdab886;},_0x232f(_0x2e8d1a,_0x1979ad);}export class CommentsRestrictedEditingMode extends _0x18dac4{[_0x431bf8(0x13f)](){const _0x394093=_0x431bf8,_0x183e39=this[_0x394093(0x13e)];if(!_0x183e39[_0x394093(0x142)][_0x394093(0x14b)](_0x394093(0x140)))return;_0x183e39[_0x394093(0x142)][_0x394093(0x143)](_0x394093(0x140))[_0x394093(0x14e)](_0x394093(0x149));}}function _0x5114(){const _0x1f39b8=['editor','afterInit','RestrictedEditingModeEditing','3810348hZLTXq','plugins','get','1018029pJwjmL','3122928aXnfTT','888935LzUHiD','6862572kpjGBm','797240hssrvT','addCommentThread','36lAGmfN','has','3149938wuqqmm','91YfIRjO','enableCommand'];_0x5114=function(){return _0x1f39b8;};return _0x5114();}