@ckeditor/ckeditor5-collaboration-core 42.0.2 → 43.0.0-alpha.1
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/CHANGELOG.md +1 -101
- package/dist/index-content.css +49 -0
- package/dist/index-editor.css +23 -1
- package/dist/index.css +143 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +1 -1
- package/dist/suggestions/view/ariadescriptionview.d.ts +27 -0
- package/dist/suggestions/view/latefocusbuttonview.d.ts +41 -0
- package/dist/suggestionstyles.d.ts +2 -0
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/utils/confirmmixin.d.ts +5 -1
- package/dist/utils/confirmview.d.ts +20 -4
- package/dist/utils/hashobject.d.ts +1 -1
- package/dist/utils/sanitizeEditorConfig.d.ts +1 -1
- package/dist/utils/setupthreadkeyboardnavigation.d.ts +49 -0
- package/dist/utils/trim-html.d.ts +3 -0
- package/package.json +6 -5
- package/src/index.d.ts +4 -1
- package/src/index.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestions/view/ariadescriptionview.d.ts +23 -0
- package/src/suggestions/view/ariadescriptionview.js +23 -0
- package/src/suggestions/view/latefocusbuttonview.d.ts +37 -0
- package/src/suggestions/view/latefocusbuttonview.js +23 -0
- package/src/suggestionstyles.d.ts +2 -0
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.d.ts +5 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.d.ts +20 -4
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.d.ts +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.d.ts +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/setupthreadkeyboardnavigation.d.ts +45 -0
- package/src/utils/setupthreadkeyboardnavigation.js +23 -0
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.d.ts +3 -0
- package/src/utils/trim-html.js +1 -1
- package/theme/ariadescription.css +12 -0
- package/theme/integrations/mergefields.css +67 -0
- package/theme/suggestion.css +29 -1
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
const _0x40e727=_0x41b8;(function(_0x14f5f4,_0x510944){const _0x2d4916=_0x41b8,_0x3c957c=_0x14f5f4();while(!![]){try{const _0x3c8521=parseInt(_0x2d4916(0x1d0))/0x1+-parseInt(_0x2d4916(0x1e7))/0x2*(parseInt(_0x2d4916(0x1d4))/0x3)+-parseInt(_0x2d4916(0x1ea))/0x4*(-parseInt(_0x2d4916(0x1df))/0x5)+-parseInt(_0x2d4916(0x1dc))/0x6*(-parseInt(_0x2d4916(0x1d8))/0x7)+parseInt(_0x2d4916(0x1e4))/0x8*(parseInt(_0x2d4916(0x1f4))/0x9)+parseInt(_0x2d4916(0x1f2))/0xa+-parseInt(_0x2d4916(0x1cc))/0xb*(parseInt(_0x2d4916(0x1e9))/0xc);if(_0x3c8521===_0x510944)break;else _0x3c957c['push'](_0x3c957c['shift']());}catch(_0x1e2d13){_0x3c957c['push'](_0x3c957c['shift']());}}}(_0x43e7,0x446cd));import{isViewWithFocusCycler as _0x43ab64}from'ckeditor5/src/ui.js';export const ENTER_THREAD_KEYSTROKE=_0x40e727(0x1ce);function _0x41b8(_0x32d31b,_0x52886a){const _0x43e7f9=_0x43e7();return _0x41b8=function(_0x41b851,_0x4d0e6b){_0x41b851=_0x41b851-0x1cc;let _0x27b876=_0x43e7f9[_0x41b851];return _0x27b876;},_0x41b8(_0x32d31b,_0x52886a);}export default function T(_0x27cc7a,_0x3d7d7a){const _0x4f16c1=_0x40e727,_0x593375=_0x27cc7a[_0x4f16c1(0x1e8)];_0x27cc7a[_0x4f16c1(0x1d3)][_0x4f16c1(0x1e1)](_0x593375);for(const _0x186ebd of _0x3d7d7a)K(_0x27cc7a,_0x186ebd);_0x3d7d7a['on'](_0x4f16c1(0x1d7),(_0x4c859e,_0x5644e3)=>{const _0xe74dc9=_0x4f16c1;for(const _0x403ba1 of _0x5644e3[_0xe74dc9(0x1ef)])_(_0x27cc7a,_0x403ba1);for(const _0x5bf19a of Array[_0xe74dc9(0x1f3)](_0x5644e3[_0xe74dc9(0x1da)])[_0xe74dc9(0x1ec)]())K(_0x27cc7a,_0x5bf19a);}),_0x27cc7a[_0x4f16c1(0x1d3)][_0x4f16c1(0x1ed)](_0x4f16c1(0x1cd),(_0x27926b,_0x1343ba)=>{const _0x50a8f5=_0x4f16c1;_0x593375===_0x27926b[_0x50a8f5(0x1f1)]&&(_0x27cc7a[_0x50a8f5(0x1e3)][_0x50a8f5(0x1de)](),_0x1343ba());},{'filter':_0x36a479=>_0x36a479[_0x4f16c1(0x1f1)]===_0x593375}),_0x27cc7a[_0x4f16c1(0x1d3)][_0x4f16c1(0x1ed)](_0x4f16c1(0x1f0),(_0x4ba551,_0x2309f2)=>{const _0x204415=_0x4f16c1;_0x593375!==_0x4ba551[_0x204415(0x1f1)]?_0x27cc7a[_0x204415(0x1dd)]():_0x27cc7a[_0x204415(0x1eb)](_0x204415(0x1e6)),_0x2309f2();}),_0x27cc7a[_0x4f16c1(0x1d3)][_0x4f16c1(0x1ed)](_0x4f16c1(0x1d6),(_0x161781,_0x4a8d3a)=>{const _0x403df6=_0x4f16c1;_0x593375===_0x161781[_0x403df6(0x1f1)]&&(_0x27cc7a[_0x403df6(0x1eb)](_0x403df6(0x1d6)),_0x4a8d3a());}),_0x27cc7a[_0x4f16c1(0x1d3)][_0x4f16c1(0x1ed)](_0x4f16c1(0x1d1),(_0x383f33,_0x183cbc)=>{const _0x5b5c56=_0x4f16c1;_0x593375===_0x383f33[_0x5b5c56(0x1f1)]&&(_0x27cc7a[_0x5b5c56(0x1eb)](_0x5b5c56(0x1d1)),_0x183cbc());});}function K(_0x17ffe0,_0x5a9a5b){const _0x1c7c27=_0x40e727;_0x5a9a5b[_0x1c7c27(0x1e0)]&&(_0x17ffe0[_0x1c7c27(0x1d9)][_0x1c7c27(0x1d5)](_0x5a9a5b[_0x1c7c27(0x1e8)]),_0x17ffe0[_0x1c7c27(0x1d3)][_0x1c7c27(0x1e1)](_0x5a9a5b[_0x1c7c27(0x1e8)]),_0x43ab64(_0x5a9a5b)&&function(_0x56036e,_0x314c87){const _0x1cb851=_0x1c7c27,_0x3c42ae=_0x56036e[_0x1cb851(0x1db)],_0x567c50=_0x314c87[_0x1cb851(0x1db)];for(const _0x442092 of Object[_0x1cb851(0x1e5)](_0x3c42ae))if(_0x442092 in _0x567c50&&_0x3c42ae[_0x442092]!==_0x567c50[_0x442092])return!0x1;return!0x0;}(_0x17ffe0[_0x1c7c27(0x1e3)],_0x5a9a5b[_0x1c7c27(0x1e3)])&&_0x17ffe0[_0x1c7c27(0x1e3)][_0x1c7c27(0x1cf)](_0x5a9a5b[_0x1c7c27(0x1e3)]));}function _0x43e7(){const _0x5ecc8c=['Ctrl+Shift+E','chain','172836eMFCIB','arrowup','stopListening','keystrokes','46473SiyyFQ','add','arrowdown','change','1321614nRfzQi','focusTracker','added','actions','12HzJeLb','focus','focusFirst','15140zbxVTk','isRendered','listenTo','unchain','focusCycler','9496sDfwkU','keys','escape','44OVUcip','element','5772kOBqgf','636PuQJkp','fire','reverse','set','remove','removed','esc','target','1551930eHwYKc','from','3699hoTrRy','24101meRHyP','enter'];_0x43e7=function(){return _0x5ecc8c;};return _0x43e7();}function _(_0x1475d7,_0x3c5a45){const _0x559d18=_0x40e727;_0x1475d7[_0x559d18(0x1d9)][_0x559d18(0x1ee)](_0x3c5a45[_0x559d18(0x1e8)]),_0x1475d7[_0x559d18(0x1d3)][_0x559d18(0x1d2)](_0x3c5a45[_0x559d18(0x1e8)]),_0x43ab64(_0x3c5a45)&&_0x1475d7[_0x559d18(0x1e3)][_0x559d18(0x1e2)](_0x3c5a45[_0x559d18(0x1e3)]);}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0xc8ad6f,_0x1c60e5){const _0x2ad61b=_0x4f2e,_0x1ad5b3=_0xc8ad6f();while(!![]){try{const _0x4476c0=-parseInt(_0x2ad61b(0xc4))/0x1+parseInt(_0x2ad61b(0xc8))/0x2*(-parseInt(_0x2ad61b(0xbf))/0x3)+parseInt(_0x2ad61b(0xce))/0x4+parseInt(_0x2ad61b(0xc2))/0x5+-parseInt(_0x2ad61b(0xcd))/0x6*(parseInt(_0x2ad61b(0xcc))/0x7)+parseInt(_0x2ad61b(0xbd))/0x8*(-parseInt(_0x2ad61b(0xc0))/0x9)+-parseInt(_0x2ad61b(0xb9))/0xa*(-parseInt(_0x2ad61b(0xcf))/0xb);if(_0x4476c0===_0x1c60e5)break;else _0x1ad5b3['push'](_0x1ad5b3['shift']());}catch(_0x538210){_0x1ad5b3['push'](_0x1ad5b3['shift']());}}}(_0x1a65,0x210f1));function _0x4f2e(_0x5ba593,_0x574279){const _0x1a656f=_0x1a65();return _0x4f2e=function(_0x4f2ea0,_0x14a63a){_0x4f2ea0=_0x4f2ea0-0xb9;let _0x1f414e=_0x1a656f[_0x4f2ea0];return _0x1f414e;},_0x4f2e(_0x5ba593,_0x574279);}export default function B(_0x5f100b,_0x25501e){const _0x223901=_0x4f2e,_0xae98a9=[];_0x5f100b[_0x223901(0xcb)][_0x223901(0xc9)]['on'](_0x223901(0xc7),()=>{const _0x465265=_0x223901,_0x107ed9=function(_0xeaf4db,_0xb23995){const _0x4b367e=_0x4f2e,_0x2945d5=[];for(const _0x58401b of _0xeaf4db[_0x4b367e(0xc1)]){const _0x50d14c=_0x58401b[_0x4b367e(0xba)]();(_0x50d14c[_0x4b367e(0xc5)](_0xb23995)||_0x50d14c[_0x4b367e(0xd0)][_0x4b367e(0xc3)](_0xb23995)||_0x50d14c[_0x4b367e(0xc6)][_0x4b367e(0xc3)](_0xb23995))&&_0x2945d5[_0x4b367e(0xbc)](_0x58401b);}return _0x2945d5;}(_0x5f100b,_0x5f100b[_0x465265(0xcb)][_0x465265(0xc9)][_0x465265(0xca)]),_0x1a4c96=[],_0x5c3c28=[],_0x1522ce=[];for(const _0x3b85cc of _0xae98a9)_0x107ed9[_0x465265(0xbb)](_0x3b85cc)||_0x1a4c96[_0x465265(0xbc)](_0x3b85cc);for(const _0x76467b of _0x107ed9)_0xae98a9[_0x465265(0xbb)](_0x76467b)||_0x5c3c28[_0x465265(0xbc)](_0x76467b),_0x1522ce[_0x465265(0xbc)](_0x76467b);(_0x1a4c96[_0x465265(0xbe)]||_0x5c3c28[_0x465265(0xbe)])&&_0x25501e({'left':_0x1a4c96,'entered':_0x5c3c28}),_0xae98a9[_0x465265(0xbe)]=0x0,_0xae98a9[_0x465265(0xbc)](..._0x1522ce);});}function _0x1a65(){const _0x377c21=['279XnxFXf','markers','393525iSfqwL','isEqual','218771WKRXLY','containsPosition','end','change:range','2ybJtOf','selection','focus','document','68852vdKldb','6yArCpU','470504XfOekE','143AQQqyu','start','427070mGJogH','getRange','includes','push','60776lQwRko','length','455997hHFWGc'];_0x1a65=function(){return _0x377c21;};return _0x1a65();}
|
package/src/utils/trim-html.d.ts
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
|
+
/**
|
6
|
+
* @module collaboration-core/utils/trim-html
|
7
|
+
*/
|
5
8
|
/**
|
6
9
|
* Trims text inside a html tags and takes care of all closing tags.
|
7
10
|
*
|
package/src/utils/trim-html.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0xb59f5f=_0x4d9e;(function(_0x335748,_0x41cc64){const _0x4ebb53=_0x4d9e,_0x127273=_0x335748();while(!![]){try{const _0x4884c5=-parseInt(_0x4ebb53(0x137))/0x1+-parseInt(_0x4ebb53(0x13c))/0x2+parseInt(_0x4ebb53(0x12a))/0x3+parseInt(_0x4ebb53(0x131))/0x4*(-parseInt(_0x4ebb53(0x13d))/0x5)+-parseInt(_0x4ebb53(0x130))/0x6+-parseInt(_0x4ebb53(0x136))/0x7*(-parseInt(_0x4ebb53(0x139))/0x8)+-parseInt(_0x4ebb53(0x12b))/0x9*(-parseInt(_0x4ebb53(0x12e))/0xa);if(_0x4884c5===_0x41cc64)break;else _0x127273['push'](_0x127273['shift']());}catch(_0x584563){_0x127273['push'](_0x127273['shift']());}}}(_0x3d0f,0x95f78));export default function Z(_0xc7df97,{limit:_0x496151,suffix:_0x4761dd=_0xb59f5f(0x13a)}){const _0x172ce1=_0xb59f5f,_0x417c72=[];let _0x3d7c16=0x0;const _0x3ba589=_0xc7df97[_0x172ce1(0x12d)](/</g,'\x0a<')[_0x172ce1(0x12d)](/>/g,'>\x0a')[_0x172ce1(0x12d)](/^\n/g,'')[_0x172ce1(0x12d)](/\n$/g,'')[_0x172ce1(0x13e)]('\x0a');for(let _0x1475a1=0x0;_0x1475a1<_0x3ba589[_0x172ce1(0x134)];_0x1475a1++){let _0x582305=_0x3ba589[_0x1475a1];const _0x374169=$(_0x582305);if(_0x582305[_0x172ce1(0x132)]('<')){if(_0x3d7c16>=_0x496151){const _0x3f43a9=_0x582305[_0x172ce1(0x133)](/[a-zA-Z]+/);if(!_0x3f43a9){_0x3ba589[_0x1475a1]='';continue;}const _0x2bdd50=_0x3f43a9[0x0];_0x582305[_0x172ce1(0x132)]('</')?(_0x417c72[_0x172ce1(0x134)]&&(_0x582305=''),_0x417c72[_0x172ce1(0x129)]()):(_0x417c72[_0x172ce1(0x13b)](_0x2bdd50),_0x582305='');}}else{if(_0x3d7c16>=_0x496151)_0x582305='';else{if(_0x3d7c16+_0x374169[_0x172ce1(0x134)]>=_0x496151){let _0x5399c9=_0x496151-_0x3d7c16;if('\x20'===_0x374169[_0x5399c9-0x1])_0x5399c9--;else{const _0x3de524=_0x374169[_0x172ce1(0x12f)](_0x5399c9)[_0x172ce1(0x135)]('\x20');-0x1!==_0x3de524?_0x5399c9+=_0x3de524:_0x5399c9=_0x582305[_0x172ce1(0x134)];}_0x582305=_0x374169[_0x172ce1(0x12f)](0x0,_0x5399c9)[_0x172ce1(0x138)]('')+_0x4761dd,_0x3d7c16=_0x496151;}else _0x3d7c16+=_0x374169[_0x172ce1(0x134)];}}_0x3ba589[_0x1475a1]=_0x582305;}return _0x3ba589[_0x172ce1(0x138)]('\x0a')[_0x172ce1(0x12d)](/\n/g,'');}function _0x4d9e(_0x4fc43c,_0x28425f){const _0x3d0f99=_0x3d0f();return _0x4d9e=function(_0x4d9eed,_0x56d009){_0x4d9eed=_0x4d9eed-0x129;let _0x107a83=_0x3d0f99[_0x4d9eed];return _0x107a83;},_0x4d9e(_0x4fc43c,_0x28425f);}function _0x3d0f(){const _0x2d4740=['match','length','indexOf','255752OLUCeD','494355aNDqKc','join','152HBQiBd','...','push','1360942QFmfDC','185hWwVkL','split','pop','2386758RUvImT','1845nkXitu','substring','replace','61310vvhwuM','slice','1312758pqnfIg','79864PnWiAs','startsWith'];_0x3d0f=function(){return _0x2d4740;};return _0x3d0f();}function $(_0x532e01){const _0x37966b=_0xb59f5f,_0x2af3a1=[];for(let _0x2fb1e2=0x0;_0x2fb1e2<_0x532e01[_0x37966b(0x134)];_0x2fb1e2++){const _0x583dec=_0x532e01[_0x37966b(0x12c)](_0x2fb1e2)[_0x37966b(0x133)](/^&[a-z0-9#]+;/);if(_0x583dec){const _0x111b97=_0x583dec[0x0];_0x2af3a1[_0x37966b(0x13b)](_0x111b97),_0x2fb1e2+=_0x111b97[_0x37966b(0x134)]-0x1;}else _0x2af3a1[_0x37966b(0x13b)](_0x532e01[_0x2fb1e2]);}return _0x2af3a1;}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
5
|
+
*
|
6
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
|
10
|
+
.ck.ck-aria-description {
|
11
|
+
display: none;
|
12
|
+
}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
/*
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
5
|
+
*
|
6
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
|
10
|
+
.ck-content .ck-suggestion-marker.ck-widget.ck-merge-field,
|
11
|
+
.ck-content .ck-comment-marker.ck-widget.ck-merge-field {
|
12
|
+
/* Note that comments markers have transparent border to be better aligned with suggestions markers. */
|
13
|
+
border-width: 2px;
|
14
|
+
border-left: none;
|
15
|
+
border-right: none;
|
16
|
+
padding-top: 0;
|
17
|
+
padding-bottom: 0;
|
18
|
+
}
|
19
|
+
|
20
|
+
.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field {
|
21
|
+
border-top-color: var(--ck-color-suggestion-marker-deletion-border);
|
22
|
+
border-bottom-color: var(--ck-color-suggestion-marker-deletion-border);
|
23
|
+
|
24
|
+
background: var(--ck-color-suggestion-marker-deletion-background);
|
25
|
+
|
26
|
+
& :not(.ck-merge-field__affix),
|
27
|
+
&.ck-merge-field_with-value,
|
28
|
+
&.ck-merge-field_with-warning {
|
29
|
+
text-decoration: line-through;
|
30
|
+
text-decoration-color: var(--ck-color-suggestion-marker-deletion-stroke);
|
31
|
+
text-decoration-thickness: 3px;
|
32
|
+
}
|
33
|
+
|
34
|
+
&.ck-suggestion-marker--active {
|
35
|
+
background-color: var(--ck-color-suggestion-marker-deletion-background-active);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field {
|
40
|
+
background-color: var(--ck-color-suggestion-marker-insertion-background);
|
41
|
+
|
42
|
+
&.ck-suggestion-marker--active {
|
43
|
+
background-color: var(--ck-color-suggestion-marker-insertion-background-active);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.ck-content .ck-comment-marker.ck-widget.ck-merge-field {
|
48
|
+
background: var(--ck-color-comment-marker);
|
49
|
+
|
50
|
+
&.ck-comment-marker--active {
|
51
|
+
background: var(--ck-color-comment-marker-active);
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
/*
|
56
|
+
This is a hack for a specific situation. The selector targets all regular markers made on text that are just before
|
57
|
+
a merge field (also in marker). This is a common situation. For example, if you have some text and a merge field
|
58
|
+
just after and all that is in a suggestion. Without this hack, there is a 1px spacing between the span and the merge
|
59
|
+
field, because the merge field has margin. The margin is needed because otherwise caret does not display. To
|
60
|
+
"remove" the spacing, we extend the span before the merge field by 1px using padding, but we need to compensate
|
61
|
+
by using negative margin, so that the whole content does not change its position.
|
62
|
+
*/
|
63
|
+
.ck-content span.ck-comment-marker:has(+.ck-comment-marker.ck-widget.ck-merge-field),
|
64
|
+
.ck-content span.ck-suggestion-marker:has(+.ck-suggestion-marker.ck-widget.ck-merge-field) {
|
65
|
+
padding-right: 1px;
|
66
|
+
margin-right: -1px;
|
67
|
+
}
|
package/theme/suggestion.css
CHANGED
@@ -7,6 +7,10 @@
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
8
|
*/
|
9
9
|
|
10
|
+
@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_focus.css";
|
11
|
+
@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";
|
12
|
+
@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";
|
13
|
+
|
10
14
|
:root {
|
11
15
|
--ck-color-comment-box-border: hsl(55, 98%, 48%);
|
12
16
|
--ck-color-suggestion-box-deletion-border: hsl(345, 62%, 60%);
|
@@ -55,8 +59,32 @@ With track-changes feature enabled, we need to distinguish various types of anno
|
|
55
59
|
}
|
56
60
|
|
57
61
|
.ck .ck-suggestion-wrapper {
|
58
|
-
|
62
|
+
@mixin ck-rounded-corners;
|
63
|
+
|
59
64
|
overflow: hidden;
|
65
|
+
|
66
|
+
&:focus {
|
67
|
+
/*
|
68
|
+
* We cannot use the ck-focus-ring mixin here because it adds a border that would need to stay transparent
|
69
|
+
* in non-focused state and create an odd space inside the surrounding annotation container.
|
70
|
+
*/
|
71
|
+
outline: var(--ck-focus-ring);
|
72
|
+
|
73
|
+
/*
|
74
|
+
* We cannot use the ck-box-shadow mixin because we're using outline instead of border (see the comment above).
|
75
|
+
* And the shadow size has to be custom because outline is rendered on top of the shadow.
|
76
|
+
*/
|
77
|
+
box-shadow: 0 0 0 4px var(--ck-color-focus-outer-shadow);
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
/*
|
82
|
+
* In case of inline annotations, their focus styles get hoisted to the balloon panel to work around overflow that would
|
83
|
+
* otherwise get them cropped..
|
84
|
+
*/
|
85
|
+
.ck-balloon-panel:has( .ck-suggestion-wrapper:focus ) {
|
86
|
+
@mixin ck-focus-ring;
|
87
|
+
@mixin ck-box-shadow var(--ck-drop-shadow), var(--ck-focus-outer-shadow);
|
60
88
|
}
|
61
89
|
|
62
90
|
.ck .ck-suggestion-type {
|