@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250203.0 → 0.0.0-nightly-20250204.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/source-editing-enhanced.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/replacesourcecommand.js +1 -1
- package/src/sourceeditingenhanced.js +1 -1
- package/src/sourceeditingenhancedui.js +1 -1
- package/src/ui/codeeditorview.js +1 -1
- package/src/ui/editsourcecommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createcodemirroreditor.js +1 -1
- package/src/utils/format.js +1 -1
- package/src/utils/getactiverootname.js +1 -1
package/src/utils/format.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x386325=_0x4778;function _0x4778(_0x4530dd,_0x3e2768){const _0x2a0d05=_0x2a0d();return _0x4778=function(_0x477854,_0x42a344){_0x477854=_0x477854-0x1f3;let _0x212ed2=_0x2a0d05[_0x477854];return _0x212ed2;},_0x4778(_0x4530dd,_0x3e2768);}(function(_0x461f78,_0x4ab810){const _0xee333=_0x4778,_0xcd8220=_0x461f78();while(!![]){try{const _0x129664=parseInt(_0xee333(0x204))/0x1+parseInt(_0xee333(0x20a))/0x2+parseInt(_0xee333(0x217))/0x3*(-parseInt(_0xee333(0x21b))/0x4)+-parseInt(_0xee333(0x205))/0x5+parseInt(_0xee333(0x209))/0x6*(-parseInt(_0xee333(0x20f))/0x7)+-parseInt(_0xee333(0x200))/0x8+parseInt(_0xee333(0x228))/0x9*(parseInt(_0xee333(0x208))/0xa);if(_0x129664===_0x4ab810)break;else _0xcd8220['push'](_0xcd8220['shift']());}catch(_0x396dc7){_0xcd8220['push'](_0xcd8220['shift']());}}}(_0x2a0d,0xedb5c));export function formatSource(_0x17e100){return $(_0x17e100)?formatHtml(_0x17e100):_0x17e100;}function _0x2a0d(){const _0x1d851e=['thead','last','name','7622867UIhtWg','address','repeat','middle','split','table','join','isVoid','719517xdecgy','filter','length','footer','8aWcaZd','blockquote','tbody','div','\x0a$&\x0a','hgroup','(\x20.*?)?>',')(\x20.*?)?>','startsWith','</?(','details','</pre>','fieldset','1098hZLKcV','figure','replace','$&\x0a','figcaption','article','\x20\x20\x20\x20','main','map','first','dialog','<pre(\x20.*?)?>','nav','some','10320168gHyTtS','max','form','test','1142392JVJNpj','2632835RNdKal','section','aside','248490XheJXN','6ZRdTwN','369874NvPcEG','header'];_0x2a0d=function(){return _0x1d851e;};return _0x2a0d();}export function unformatSource(_0x448316){const _0x2203d4=_0x4778;return $(_0x448316[_0x2203d4(0x1f4)](/^[\n\s]*/g,''))?_0x448316[_0x2203d4(0x1f4)](/\s+/g,''):_0x448316;}export function formatHtml(_0x3ba5f2){const _0xb43a5f=_0x4778,_0x1803d1=[{'name':_0xb43a5f(0x210),'isVoid':!0x1},{'name':_0xb43a5f(0x1f7),'isVoid':!0x1},{'name':_0xb43a5f(0x207),'isVoid':!0x1},{'name':_0xb43a5f(0x21c),'isVoid':!0x1},{'name':_0xb43a5f(0x225),'isVoid':!0x1},{'name':_0xb43a5f(0x1fc),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0xb43a5f(0x21e),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0xb43a5f(0x227),'isVoid':!0x1},{'name':_0xb43a5f(0x1f6),'isVoid':!0x1},{'name':_0xb43a5f(0x1f3),'isVoid':!0x1},{'name':_0xb43a5f(0x21a),'isVoid':!0x1},{'name':_0xb43a5f(0x202),'isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':_0xb43a5f(0x20b),'isVoid':!0x1},{'name':_0xb43a5f(0x220),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0xb43a5f(0x1f9),'isVoid':!0x1},{'name':_0xb43a5f(0x1fe),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0xb43a5f(0x206),'isVoid':!0x1},{'name':_0xb43a5f(0x214),'isVoid':!0x1},{'name':_0xb43a5f(0x21d),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0xb43a5f(0x20c),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x559ee9=_0x1803d1[_0xb43a5f(0x1fa)](_0x1677bd=>_0x1677bd[_0xb43a5f(0x20e)])[_0xb43a5f(0x215)]('|'),_0x358cea=_0x3ba5f2[_0xb43a5f(0x1f4)](new RegExp(_0xb43a5f(0x224)+_0x559ee9+_0xb43a5f(0x222),'g'),_0xb43a5f(0x21f))[_0xb43a5f(0x1f4)](/<br[^>]*>/g,_0xb43a5f(0x1f5))[_0xb43a5f(0x213)]('\x0a');let _0x104b8b=0x0,_0x3cda20=!0x1;return _0x358cea[_0xb43a5f(0x218)](_0x10f3ad=>_0x10f3ad[_0xb43a5f(0x219)])[_0xb43a5f(0x1fa)](_0x1569cc=>(_0x3cda20=function(_0x460c87,_0x1b0b65){const _0x21a660=_0xb43a5f;return new RegExp(_0x21a660(0x1fd))[_0x21a660(0x203)](_0x460c87)?_0x21a660(0x1fb):new RegExp(_0x21a660(0x226))[_0x21a660(0x203)](_0x460c87)?_0x21a660(0x20d):(_0x21a660(0x1fb)===_0x1b0b65||_0x21a660(0x212)===_0x1b0b65)&&_0x21a660(0x212);}(_0x1569cc,_0x3cda20),function(_0x314fc4,_0x3a667f){const _0x5460f5=_0xb43a5f;return _0x3a667f[_0x5460f5(0x1ff)](_0x35ef99=>!_0x35ef99[_0x5460f5(0x216)]&&!!new RegExp('<'+_0x35ef99[_0x5460f5(0x20e)]+_0x5460f5(0x221))[_0x5460f5(0x203)](_0x314fc4));}(_0x1569cc,_0x1803d1)?X(_0x1569cc,_0x104b8b++):function(_0x1f3f15,_0x3c7b87){const _0x16bb39=_0xb43a5f;return _0x3c7b87[_0x16bb39(0x1ff)](_0x2c04c6=>new RegExp('</'+_0x2c04c6[_0x16bb39(0x20e)]+'>')[_0x16bb39(0x203)](_0x1f3f15));}(_0x1569cc,_0x1803d1)?X(_0x1569cc,--_0x104b8b):_0xb43a5f(0x212)===_0x3cda20||_0xb43a5f(0x20d)===_0x3cda20?_0x1569cc:X(_0x1569cc,_0x104b8b)))[_0xb43a5f(0x215)]('\x0a');}function $(_0x4eaea2){const _0x32b6a6=_0x4778;return _0x4eaea2[_0x32b6a6(0x223)]('<');}function X(_0x319513,_0x1c68c7,_0x556c20=_0x386325(0x1f8)){const _0x273e58=_0x386325;return''+_0x556c20[_0x273e58(0x211)](Math[_0x273e58(0x201)](0x0,_0x1c68c7))+_0x319513;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3b20a5,_0x5b0072){const _0x508200=_0x2757,_0x2d5dad=_0x3b20a5();while(!![]){try{const _0x5905bd=parseInt(_0x508200(0xdf))/0x1*(parseInt(_0x508200(0xec))/0x2)+parseInt(_0x508200(0xe4))/0x3+parseInt(_0x508200(0xe8))/0x4+parseInt(_0x508200(0xe9))/0x5*(parseInt(_0x508200(0xde))/0x6)+-parseInt(_0x508200(0xea))/0x7+-parseInt(_0x508200(0xeb))/0x8+parseInt(_0x508200(0xe0))/0x9;if(_0x5905bd===_0x5b0072)break;else _0x2d5dad['push'](_0x2d5dad['shift']());}catch(_0x4a5347){_0x2d5dad['push'](_0x2d5dad['shift']());}}}(_0x1b45,0x507b2));function _0x1b45(){const _0x365a73=['732884ACoqUJ','425rSYAoG','3026989qgEfnQ','3242672cdEWoP','201586rIfITR','from','getRanges','source-editing-enhanced-editor-no-root','roots','length','document','10032zDlMDr','2zHfRmK','4708764XxuxYZ','first','view','root','351864FJsMyV','editing','selection','rootName'];_0x1b45=function(){return _0x365a73;};return _0x1b45();}function _0x2757(_0x5e75c4,_0x425da5){const _0x1b45d7=_0x1b45();return _0x2757=function(_0x27573b,_0x28eb27){_0x27573b=_0x27573b-0xdc;let _0x38b363=_0x1b45d7[_0x27573b];return _0x38b363;},_0x2757(_0x5e75c4,_0x425da5);}import{CKEditorError as _0x58eb59}from'ckeditor5/src/utils.js';export function getActiveRootName(_0x23c6a2){const _0xa68df8=_0x2757,_0x3c7a4b=_0x23c6a2[_0xa68df8(0xe5)][_0xa68df8(0xe2)][_0xa68df8(0xdd)][_0xa68df8(0xf0)],_0x344c02=_0x3c7a4b[_0xa68df8(0xdc)];if(0x0===_0x344c02)throw new _0x58eb59(_0xa68df8(0xef),_0x23c6a2);if(0x1===_0x344c02)return _0x3c7a4b[_0xa68df8(0xe1)][_0xa68df8(0xe7)];return Array[_0xa68df8(0xed)](_0x23c6a2[_0xa68df8(0xe5)][_0xa68df8(0xe2)][_0xa68df8(0xdd)][_0xa68df8(0xe6)][_0xa68df8(0xee)]())[0x0][_0xa68df8(0xe3)][_0xa68df8(0xe7)];}
|