@ckeditor/ckeditor5-track-changes 33.0.0 → 34.2.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/LICENSE.md +2 -2
- package/README.md +5 -2
- package/build/track-changes.js +2 -2
- package/build/translations/az.js +1 -0
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -1
- package/build/translations/lv.js +1 -0
- package/build/translations/nl.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +2 -0
- package/lang/translations/az.po +397 -0
- package/lang/translations/cs.po +40 -28
- package/lang/translations/da.po +10 -0
- package/lang/translations/de.po +10 -0
- package/lang/translations/el.po +10 -0
- package/lang/translations/en-au.po +15 -5
- package/lang/translations/en.po +10 -0
- package/lang/translations/es.po +29 -1
- package/lang/translations/et.po +10 -0
- package/lang/translations/fr.po +29 -1
- package/lang/translations/gl.po +13 -3
- package/lang/translations/hi.po +10 -0
- package/lang/translations/hr.po +24 -13
- package/lang/translations/id.po +379 -0
- package/lang/translations/it.po +29 -1
- package/lang/translations/lv.po +415 -0
- package/lang/translations/nl.po +19 -9
- package/lang/translations/pl.po +12 -0
- package/lang/translations/pt-br.po +29 -1
- package/lang/translations/sk.po +69 -57
- package/lang/translations/sr-latn.po +11 -0
- package/lang/translations/sr.po +11 -0
- package/lang/translations/tk.po +10 -0
- package/lang/translations/tr.po +10 -0
- package/lang/translations/zh-cn.po +13 -4
- package/lang/translations/zh.po +9 -0
- package/package.json +3 -3
- package/src/commands/acceptallsuggestionscommand.js +1 -1
- package/src/commands/acceptselectedsuggestionscommand.js +1 -1
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardallsuggestionscommand.js +1 -1
- package/src/commands/discardselectedsuggestionscommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +23 -0
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +23 -0
- package/src/integrations/image.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +23 -0
- package/src/utils/getrangesofblockgroups.js +23 -0
- package/src/utils/getselectedsuggestions.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/normalizedescription.js +1 -1
- package/src/utils/sortsuggestions.js +1 -1
- package/theme/integrations/horizontalline.css +0 -15
- package/theme/integrations/image.css +0 -55
- package/theme/integrations/mediaembed.css +0 -19
- package/theme/integrations/pagebreak.css +0 -15
- package/theme/integrations/table.css +0 -147
- package/theme/suggestion.css +0 -87
- package/theme/suggestionmarker.css +0 -161
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2022, 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
|
+
export function getTranslation(_0x5243f3,_0x44a504,_0x23390b){const t=_0x5243f3['t'];switch(_0x44a504){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x23390b);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x23390b);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x23390b);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x23390b);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x23390b);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x23390b);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x23390b);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x23390b);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x23390b);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x23390b);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x23390b);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x23390b);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x23390b);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x23390b);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x23390b);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x23390b);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x23390b);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x23390b);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x23390b);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x23390b);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x23390b);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x23390b);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x23390b);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x23390b);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x23390b);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x23390b);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x23390b);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x23390b);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x23390b);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x23390b);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x23390b);case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x23390b);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x23390b);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x23390b);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x23390b);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x23390b);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x23390b);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x23390b);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});}}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2022, 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 _0x36df=['createPositionAfter','createPositionBefore','isObject','end','isTouching','push','createPositionAt','createRange'];(function(_0x33206e,_0x36df64){const _0x4545cf=function(_0x3c9492){while(--_0x3c9492){_0x33206e['push'](_0x33206e['shift']());}};_0x4545cf(++_0x36df64);}(_0x36df,0x13a));const _0x4545=function(_0x33206e,_0x36df64){_0x33206e=_0x33206e-0x0;let _0x4545cf=_0x36df[_0x33206e];return _0x4545cf;};export function getRangesOfBlockGroups(_0x2ed02e,_0x516fca){let _0x2f53d5,_0x49ea64=0x0;const _0x713b87=[],_0x159dbf=_0x516fca['schema'];for(;_0x49ea64<_0x2ed02e['length'];){const _0x3d5ae6=_0x2ed02e[_0x49ea64],_0x5d2e3b=_0x2ed02e[_0x49ea64+0x1];_0x2f53d5||(_0x2f53d5=_0x516fca[_0x4545('0x7')](_0x3d5ae6)),tn(_0x516fca,_0x3d5ae6,_0x5d2e3b)||(_0x713b87[_0x4545('0x3')](_0x516fca[_0x4545('0x5')](_0x2f53d5,_0x159dbf[_0x4545('0x0')](_0x3d5ae6)?_0x516fca[_0x4545('0x6')](_0x3d5ae6):_0x516fca[_0x4545('0x4')](_0x3d5ae6,_0x4545('0x1')))),_0x2f53d5=null),_0x49ea64++;}return _0x713b87;}function tn(_0x44c1d1,_0x3dfa5d,_0x427460){if(!_0x427460)return!0x1;const _0x3bcc15=_0x44c1d1[_0x4545('0x6')](_0x3dfa5d),_0x417740=_0x44c1d1[_0x4545('0x7')](_0x427460);return _0x3bcc15[_0x4545('0x2')](_0x417740);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9815=['getMarkers','start','getRange','isMultiRange','isTouching','isIntersecting','end','isCollapsed','add','from'];(function(_0x42f4c3,_0x9815ad){const _0x2bcb8c=function(_0x2dcae4){while(--_0x2dcae4){_0x42f4c3['push'](_0x42f4c3['shift']());}};_0x2bcb8c(++_0x9815ad);}(_0x9815,0x17d));const _0x2bcb=function(_0x42f4c3,_0x9815ad){_0x42f4c3=_0x42f4c3-0x0;let _0x2bcb8c=_0x9815[_0x42f4c3];return _0x2bcb8c;};export default function jt(_0x54881a,_0x3480da){const _0x7e2d4d=Array[_0x2bcb('0x8')](_0x54881a['getRanges']()),_0x4720b1=new Set();for(const _0x185c62 of _0x3480da)if(_0x185c62['isInContent'])for(const _0x3d4ab7 of _0x7e2d4d)for(const _0x4bd694 of _0x185c62[_0x2bcb('0x9')]()){const _0x51803c=_0x4bd694[_0x2bcb('0x1')]();(_0x3d4ab7[_0x2bcb('0x4')](_0x51803c)||_0x54881a[_0x2bcb('0x6')]&&!_0x185c62[_0x2bcb('0x2')]&&_0x185c62['next']&&_0x51803c[_0x2bcb('0x5')][_0x2bcb('0x3')](_0x3d4ab7[_0x2bcb('0x0')]))&&_0x4720b1[_0x2bcb('0x7')](_0x185c62);}return _0x4720b1;}
|
package/src/utils/hashobject.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1562=['keys','sign','string','charCodeAt','isArray','boolean'];(function(_0x3baaa5,_0x15625e){const _0x2ab71d=function(_0x51853c){while(--_0x51853c){_0x3baaa5['push'](_0x3baaa5['shift']());}};_0x2ab71d(++_0x15625e);}(_0x1562,0x15e));const _0x2ab7=function(_0x3baaa5,_0x15625e){_0x3baaa5=_0x3baaa5-0x0;let _0x2ab71d=_0x1562[_0x3baaa5];return _0x2ab71d;};export default function mt(_0x385ec9){let _0x627c74=0x0,_0x5175f2=0x0;for(const _0x19493e of fe(_0x385ec9))_0x627c74=(_0x627c74<<0x5)-_0x627c74+_0x19493e,_0x627c74&=_0x627c74,[_0x627c74,_0x5175f2]=[_0x5175f2,_0x627c74];return ce(_0x627c74)+ce(_0x5175f2);}function*ie(_0x5bb419){_0x5bb419?_0x2ab7('0x3')==typeof _0x5bb419?yield 0x1:Array[_0x2ab7('0x2')](_0x5bb419)?yield*function*(_0x3e7a6b){for(const _0x247731 of _0x3e7a6b)yield*ie(_0x247731);}(_0x5bb419):'object'==typeof _0x5bb419?yield*fe(_0x5bb419):_0x2ab7('0x0')==typeof _0x5bb419?yield*ye(_0x5bb419):'number'==typeof _0x5bb419&&(yield _0x5bb419):yield 0x0;}function*fe(_0x12ed45){if(yield de('{'),_0x12ed45){const _0x496318=Object[_0x2ab7('0x4')](_0x12ed45)['sort']();for(const _0x43db29 of _0x496318){yield*ye(_0x43db29),yield de(':');const _0x3624ec=_0x12ed45[_0x43db29];yield*ie(_0x3624ec);}}yield de('}');}function*ye(_0x134120){yield de('\x22');for(const _0x2630d3 of _0x134120)yield de(_0x2630d3);yield de('\x22');}function de(_0x57a9af){return _0x57a9af[_0x2ab7('0x1')](0x0);}function ce(_0x246c81){return(_0x246c81*=Math[_0x2ab7('0x5')](_0x246c81))['toString'](0x24);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14c2=['value','map','type','\x20[color\x20','content','isArray'];(function(_0x2fa950,_0x14c27a){const _0x38f875=function(_0x7e4bc){while(--_0x7e4bc){_0x2fa950['push'](_0x2fa950['shift']());}};_0x38f875(++_0x14c27a);}(_0x14c2,0x12c));const _0x38f8=function(_0x2fa950,_0x14c27a){_0x2fa950=_0x2fa950-0x0;let _0x38f875=_0x14c2[_0x2fa950];return _0x38f875;};export function normalizeDescription(_0x176645){return Array[_0x38f8('0x5')](_0x176645)||(_0x176645=[_0x176645]),_0x176645[_0x38f8('0x1')](_0x56d495=>{const _0x8a3dc0=_0x56d495[_0x38f8('0x4')]['replace'](/\*/g,''),_0x3f86ce=_0x56d495['color']?_0x38f8('0x3')+_0x56d495['color'][_0x38f8('0x0')]+']':'';return'['+_0x56d495[_0x38f8('0x2')]+']\x20'+_0x8a3dc0+_0x3f86ce;})['join'](';\x20');}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x28e7=['type','deletion'];(function(_0x3ee310,_0x28e79b){var _0xe6a4ce=function(_0x4f95b2){while(--_0x4f95b2){_0x3ee310['push'](_0x3ee310['shift']());}};_0xe6a4ce(++_0x28e79b);}(_0x28e7,0x16c));var _0xe6a4=function(_0x3ee310,_0x28e79b){_0x3ee310=_0x3ee310-0x0;var _0xe6a4ce=_0x28e7[_0x3ee310];return _0xe6a4ce;};export default function ts(_0x2aa1f1){return _0x2aa1f1['sort']((_0x3d7f8b,_0x1e0084)=>'deletion'==_0x3d7f8b[_0xe6a4('0x0')]&&_0xe6a4('0x1')!=_0x1e0084['type']?-0x1:_0xe6a4('0x1')!=_0x3d7f8b['type']&&'deletion'==_0x1e0084[_0xe6a4('0x0')]?0x1:0x0);}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line {
|
|
2
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background);
|
|
3
|
-
|
|
4
|
-
&.ck-suggestion-marker--active {
|
|
5
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background-active);
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line {
|
|
10
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background);
|
|
11
|
-
|
|
12
|
-
&.ck-suggestion-marker--active {
|
|
13
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background-active);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
.ck-content .ck-suggestion-marker-deletion.ck-widget.image {
|
|
2
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background);
|
|
3
|
-
|
|
4
|
-
& img {
|
|
5
|
-
opacity: 0.6;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
& figcaption {
|
|
9
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&.ck-suggestion-marker--active {
|
|
13
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background-active);
|
|
14
|
-
|
|
15
|
-
& figcaption {
|
|
16
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background-active);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.ck-content .ck-suggestion-marker-insertion.ck-widget.image {
|
|
22
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background);
|
|
23
|
-
|
|
24
|
-
& figcaption {
|
|
25
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&.ck-suggestion-marker--active {
|
|
29
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background-active);
|
|
30
|
-
|
|
31
|
-
& figcaption {
|
|
32
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background-active);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.ck-content .ck-widget.image > figcaption {
|
|
38
|
-
&.ck-suggestion-marker-deletion {
|
|
39
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background);
|
|
40
|
-
border: none;
|
|
41
|
-
|
|
42
|
-
&.ck-suggestion-marker--active {
|
|
43
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background-active);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&.ck-suggestion-marker-insertion {
|
|
48
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background);
|
|
49
|
-
border: none;
|
|
50
|
-
|
|
51
|
-
&.ck-suggestion-marker--active {
|
|
52
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background-active);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
.ck-content .ck-suggestion-marker-deletion.ck-widget.media {
|
|
2
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background);
|
|
3
|
-
|
|
4
|
-
& .ck-media__wrapper {
|
|
5
|
-
opacity: 0.6;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
&.ck-suggestion-marker--active {
|
|
9
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background-active);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.ck-content .ck-suggestion-marker-insertion.ck-widget.media {
|
|
14
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background);
|
|
15
|
-
|
|
16
|
-
&.ck-suggestion-marker--active {
|
|
17
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background-active);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
.ck-content .ck-suggestion-marker-deletion.ck-widget.page-break {
|
|
2
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background);
|
|
3
|
-
|
|
4
|
-
&.ck-suggestion-marker--active {
|
|
5
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background-active);
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ck-content .ck-suggestion-marker-insertion.ck-widget.page-break {
|
|
10
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background);
|
|
11
|
-
|
|
12
|
-
&.ck-suggestion-marker--active {
|
|
13
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background-active);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--ck-color-suggestion-widget-th-insertion-background: hsla(128, 71%, 65%, .12);
|
|
3
|
-
--ck-color-suggestion-widget-th-insertion-background-active: hsla(128, 71%, 50%, .14);
|
|
4
|
-
|
|
5
|
-
--ck-color-suggestion-widget-th-deletion-background: hsla(345, 71%, 65%, .14);
|
|
6
|
-
--ck-color-suggestion-widget-th-deletion-background-active: hsla(345, 71%, 45%, .16);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ck-content figure.table .ck-suggestion-marker-formatBlock {
|
|
10
|
-
box-shadow: -3px 0 0 0 var(--ck-color-suggestion-marker-format-border);
|
|
11
|
-
|
|
12
|
-
&.ck-suggestion-marker--active {
|
|
13
|
-
box-shadow: -3px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ck-content .ck-suggestion-marker-insertion.table > table {
|
|
18
|
-
border-color: var(--ck-color-suggestion-marker-insertion-border);
|
|
19
|
-
|
|
20
|
-
& > tbody > tr > th {
|
|
21
|
-
background-color: var(--ck-color-suggestion-widget-th-insertion-background);
|
|
22
|
-
border-color: var(--ck-color-suggestion-marker-insertion-border);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
& > thead > tr > th {
|
|
26
|
-
background-color: var(--ck-color-suggestion-widget-th-insertion-background);
|
|
27
|
-
border-color: var(--ck-color-suggestion-marker-insertion-border);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
& > tbody > tr > td {
|
|
31
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background);
|
|
32
|
-
border-color: var(--ck-color-suggestion-marker-insertion-border);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table > table {
|
|
37
|
-
border-color: var(--ck-color-suggestion-marker-insertion-border-active);
|
|
38
|
-
|
|
39
|
-
& > tbody > tr > th {
|
|
40
|
-
background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
|
|
41
|
-
border-color: var(--ck-color-suggestion-marker-insertion-border-active);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
& > thead > tr > th {
|
|
45
|
-
background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
|
|
46
|
-
border-color: var(--ck-color-suggestion-marker-insertion-border-active);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
& > tbody > tr > td {
|
|
50
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background-active);
|
|
51
|
-
border-color: var(--ck-color-suggestion-marker-insertion-border-active);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.ck-content .ck-suggestion-marker-deletion.table > table {
|
|
56
|
-
border-color: var(--ck-color-suggestion-marker-deletion-border);
|
|
57
|
-
|
|
58
|
-
& > tbody > tr > th {
|
|
59
|
-
background-color: var(--ck-color-suggestion-widget-th-deletion-background);
|
|
60
|
-
border-color: var(--ck-color-suggestion-marker-deletion-border);
|
|
61
|
-
text-decoration: none;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
& > thead > tr > th {
|
|
65
|
-
background-color: var(--ck-color-suggestion-widget-th-deletion-background);
|
|
66
|
-
border-color: var(--ck-color-suggestion-marker-deletion-border);
|
|
67
|
-
text-decoration: none;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
& > tbody > tr > td {
|
|
71
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background);
|
|
72
|
-
border-color: var(--ck-color-suggestion-marker-deletion-border);
|
|
73
|
-
text-decoration: none;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table > table {
|
|
78
|
-
border-color: var(--ck-color-suggestion-marker-deletion-border-active);
|
|
79
|
-
|
|
80
|
-
& > tbody > tr > th {
|
|
81
|
-
background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
|
|
82
|
-
border-color: var(--ck-color-suggestion-marker-deletion-border-active);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
& > thead > tr > th {
|
|
86
|
-
background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
|
|
87
|
-
border-color: var(--ck-color-suggestion-marker-deletion-border-active);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
& > tbody > tr > td {
|
|
91
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background-active);
|
|
92
|
-
border-color: var(--ck-color-suggestion-marker-deletion-border-active);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/*
|
|
97
|
-
* We need here at least 022 CSS Specificity because of table styles like `.ck-content .table table th { background: ... }
|
|
98
|
-
* See: https://github.com/ckeditor/ckeditor5-table/blob/master/theme/table.css#L29
|
|
99
|
-
*/
|
|
100
|
-
.ck-content .table {
|
|
101
|
-
& th.ck-suggestion-marker-insertion {
|
|
102
|
-
background-color: var(--ck-color-suggestion-widget-th-insertion-background);
|
|
103
|
-
|
|
104
|
-
&.ck-suggestion-marker--active {
|
|
105
|
-
background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
& th.ck-suggestion-marker-deletion {
|
|
110
|
-
background-color: var(--ck-color-suggestion-widget-th-deletion-background);
|
|
111
|
-
text-decoration: none;
|
|
112
|
-
|
|
113
|
-
&.ck-suggestion-marker--active {
|
|
114
|
-
background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
& td.ck-suggestion-marker-insertion {
|
|
119
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background);
|
|
120
|
-
|
|
121
|
-
&.ck-suggestion-marker--active {
|
|
122
|
-
background-color: var(--ck-color-suggestion-widget-insertion-background-active);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
& td.ck-suggestion-marker-deletion {
|
|
127
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background);
|
|
128
|
-
text-decoration: none;
|
|
129
|
-
|
|
130
|
-
&.ck-suggestion-marker--active {
|
|
131
|
-
background-color: var(--ck-color-suggestion-widget-deletion-background-active);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
& th.ck-suggestion-marker-formatInline,
|
|
136
|
-
& td.ck-suggestion-marker-formatInline,
|
|
137
|
-
& th.ck-suggestion-marker-formatBlock,
|
|
138
|
-
& td.ck-suggestion-marker-formatBlock {
|
|
139
|
-
background-color: var(--ck-color-suggestion-widget-format-background);
|
|
140
|
-
box-shadow: none;
|
|
141
|
-
|
|
142
|
-
&.ck-suggestion-marker--active {
|
|
143
|
-
background-color: var(--ck-color-suggestion-widget-format-background-active);
|
|
144
|
-
box-shadow: none;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
package/theme/suggestion.css
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--ck-color-comment-box-border: hsl(55, 98%, 48%);
|
|
3
|
-
--ck-color-suggestion-box-deletion-border: hsl(345, 62%, 60%);
|
|
4
|
-
--ck-color-suggestion-box-insertion-border: hsl(128, 62%, 60%);
|
|
5
|
-
--ck-color-suggestion-box-format-border: hsl(191, 62%, 60%);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.ck .ck-suggestion {
|
|
9
|
-
border-top-left-radius: var(--ck-border-radius);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.ck .ck-annotation {
|
|
13
|
-
border-left: 3px solid transparent;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/* See: #3683.
|
|
18
|
-
* Inline Suggestion annotations that can't be commented on contains a scrollbar by default */
|
|
19
|
-
.ck .ck-suggestion--disabled-comments .ck-annotation {
|
|
20
|
-
min-height: 80px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* See: #2459.
|
|
24
|
-
With track-changes feature enabled, we need to distinguish various types of annotations (comments and suggestions). */
|
|
25
|
-
.ck .ck-comment,
|
|
26
|
-
.ck .ck-thread__comment-count,
|
|
27
|
-
.ck .ck-comment__input-container {
|
|
28
|
-
border-left: 3px solid var(--ck-color-comment-box-border);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.ck .ck-suggestion-insertion .ck-suggestion {
|
|
32
|
-
border-left-color: var(--ck-color-suggestion-box-insertion-border);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.ck .ck-suggestion-deletion .ck-suggestion {
|
|
36
|
-
border-left-color: var(--ck-color-suggestion-box-deletion-border);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.ck .ck-suggestion-replace .ck-suggestion {
|
|
40
|
-
border-left-color: var(--ck-color-suggestion-box-insertion-border);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.ck .ck-suggestion-format .ck-suggestion {
|
|
44
|
-
border-left-color: var(--ck-color-suggestion-box-format-border);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.ck .ck-suggestion-wrapper {
|
|
48
|
-
outline: 0;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.ck .ck-suggestion-type {
|
|
52
|
-
font-weight: bold;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.ck .ck-suggestion-color {
|
|
56
|
-
display: inline-block;
|
|
57
|
-
width: 14px;
|
|
58
|
-
height: 14px;
|
|
59
|
-
border-radius: 14px;
|
|
60
|
-
vertical-align: text-bottom;
|
|
61
|
-
margin: 0 5px;
|
|
62
|
-
box-shadow: 0 0 0 1px #444;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/* Comments inside suggestion. */
|
|
66
|
-
|
|
67
|
-
/* Handle comments inside suggestion keep same border-color. */
|
|
68
|
-
.ck .ck-suggestion-insertion .ck-comment,
|
|
69
|
-
.ck .ck-suggestion-insertion .ck-thread__comment-count,
|
|
70
|
-
.ck .ck-suggestion-insertion .ck-comment__input-container,
|
|
71
|
-
.ck .ck-suggestion-replace .ck-comment,
|
|
72
|
-
.ck .ck-suggestion-replace .ck-thread__comment-count,
|
|
73
|
-
.ck .ck-suggestion-replace .ck-comment__input-container {
|
|
74
|
-
border-left-color: var(--ck-color-suggestion-box-insertion-border);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.ck .ck-suggestion-deletion .ck-comment,
|
|
78
|
-
.ck .ck-suggestion-deletion .ck-thread__comment-count,
|
|
79
|
-
.ck .ck-suggestion-deletion .ck-comment__input-container {
|
|
80
|
-
border-left-color: var(--ck-color-suggestion-box-deletion-border);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.ck .ck-suggestion-format .ck-comment,
|
|
84
|
-
.ck .ck-suggestion-format .ck-thread__comment-count,
|
|
85
|
-
.ck .ck-suggestion-format .ck-comment__input-container {
|
|
86
|
-
border-left-color: var(--ck-color-suggestion-box-format-border);
|
|
87
|
-
}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
-
* Letters is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
-
* all Letters content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
:root {
|
|
10
|
-
--ck-color-suggestion-marker-insertion-border: hsla(128, 71%, 40%, .35);
|
|
11
|
-
--ck-color-suggestion-marker-insertion-border-active: hsla(128, 71%, 25%, .5);
|
|
12
|
-
--ck-color-suggestion-marker-insertion-background: hsla(128, 71%, 65%, .35);
|
|
13
|
-
--ck-color-suggestion-marker-insertion-background-active: hsla(128, 71%, 50%, .5);
|
|
14
|
-
|
|
15
|
-
--ck-color-suggestion-marker-deletion-border: hsla(345, 71%, 40%, .35);
|
|
16
|
-
--ck-color-suggestion-marker-deletion-border-active: hsla(345, 71%, 25%, .5);
|
|
17
|
-
--ck-color-suggestion-marker-deletion-background: hsla(345, 71%, 65%, .35);
|
|
18
|
-
--ck-color-suggestion-marker-deletion-background-active: hsla(345, 71%, 50%, .5);
|
|
19
|
-
--ck-color-suggestion-marker-deletion-stroke: hsla(345, 71%, 20%, .5);
|
|
20
|
-
|
|
21
|
-
--ck-color-suggestion-marker-format-border: hsla(191, 90%, 40%, .4);
|
|
22
|
-
--ck-color-suggestion-marker-format-border-active: hsla(191, 90%, 40%, .65);
|
|
23
|
-
|
|
24
|
-
--ck-color-suggestion-widget-insertion-background: hsla(128, 71%, 65%, .05);
|
|
25
|
-
--ck-color-suggestion-widget-insertion-background-active: hsla(128, 71%, 50%, .07);
|
|
26
|
-
|
|
27
|
-
--ck-color-suggestion-widget-deletion-background: hsla(345, 71%, 65%, .05);
|
|
28
|
-
--ck-color-suggestion-widget-deletion-background-active: hsla(345, 71%, 45%, .07);
|
|
29
|
-
|
|
30
|
-
--ck-color-suggestion-widget-format-background: hsla(191, 90%, 40%, .09);
|
|
31
|
-
--ck-color-suggestion-widget-format-background-active: hsla(191, 90%, 40%, .16);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.ck-content .ck-suggestion-marker-insertion {
|
|
35
|
-
border-top: 3px solid var(--ck-color-suggestion-marker-insertion-border);
|
|
36
|
-
border-bottom: 3px solid var(--ck-color-suggestion-marker-insertion-border);
|
|
37
|
-
background: var(--ck-color-suggestion-marker-insertion-background);
|
|
38
|
-
|
|
39
|
-
&.ck-suggestion-marker--active {
|
|
40
|
-
border-color: var(--ck-color-suggestion-marker-insertion-border-active);
|
|
41
|
-
background: var(--ck-color-suggestion-marker-insertion-background-active);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/* Disable background of marker inside widget. */
|
|
45
|
-
&.ck-widget {
|
|
46
|
-
background: none;
|
|
47
|
-
text-decoration: none;
|
|
48
|
-
border: 3px solid var(--ck-color-suggestion-marker-insertion-border);
|
|
49
|
-
|
|
50
|
-
&.ck-suggestion-marker--active {
|
|
51
|
-
border-color: var(--ck-color-suggestion-marker-insertion-border-active);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.ck-content .ck-suggestion-marker-deletion {
|
|
57
|
-
border-top: 3px solid var(--ck-color-suggestion-marker-deletion-border);
|
|
58
|
-
border-bottom: 3px solid var(--ck-color-suggestion-marker-deletion-border);
|
|
59
|
-
|
|
60
|
-
/* #2810. Safari doesn't support combined text-decoration values. */
|
|
61
|
-
text-decoration: line-through;
|
|
62
|
-
text-decoration-color: var(--ck-color-suggestion-marker-deletion-stroke);
|
|
63
|
-
text-decoration-thickness: 3px;
|
|
64
|
-
|
|
65
|
-
background: var(--ck-color-suggestion-marker-deletion-background);
|
|
66
|
-
|
|
67
|
-
&.ck-suggestion-marker--active {
|
|
68
|
-
border-color: var(--ck-color-suggestion-marker-deletion-border-active);
|
|
69
|
-
background: var(--ck-color-suggestion-marker-deletion-background-active);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/* Disable background of marker inside widget. */
|
|
73
|
-
&.ck-widget {
|
|
74
|
-
background: none;
|
|
75
|
-
text-decoration: none;
|
|
76
|
-
border: 3px solid var(--ck-color-suggestion-marker-deletion-border);
|
|
77
|
-
|
|
78
|
-
&.ck-suggestion-marker--active {
|
|
79
|
-
border-color: var(--ck-color-suggestion-marker-deletion-border-active);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.ck-content .ck-suggestion-marker-merge {
|
|
85
|
-
&::after {
|
|
86
|
-
border-top: 3px solid var(--ck-color-suggestion-marker-deletion-border);
|
|
87
|
-
border-bottom: 3px solid var(--ck-color-suggestion-marker-deletion-border);
|
|
88
|
-
|
|
89
|
-
/* #2810. Safari doesn't support combined text-decoration values. */
|
|
90
|
-
text-decoration: line-through;
|
|
91
|
-
text-decoration-color: var(--ck-color-suggestion-marker-deletion-stroke);
|
|
92
|
-
|
|
93
|
-
background: var(--ck-color-suggestion-marker-deletion-background);
|
|
94
|
-
color: var(--ck-color-suggestion-marker-deletion-stroke);
|
|
95
|
-
content: '¶';
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&.ck-suggestion-marker--active::after {
|
|
99
|
-
border-color: var(--ck-color-suggestion-marker-deletion-border-active);
|
|
100
|
-
background: var(--ck-color-suggestion-marker-deletion-background-active);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.ck-content .ck-suggestion-marker-split {
|
|
105
|
-
&::after {
|
|
106
|
-
border-top: 3px solid var(--ck-color-suggestion-marker-insertion-border);
|
|
107
|
-
border-bottom: 3px solid var(--ck-color-suggestion-marker-insertion-border);
|
|
108
|
-
background: var(--ck-color-suggestion-marker-insertion-background);
|
|
109
|
-
color: var(--ck-color-suggestion-marker-insertion-border);
|
|
110
|
-
content: '¶';
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&.ck-suggestion-marker--active::after {
|
|
114
|
-
border-color: var(--ck-color-suggestion-marker-insertion-border-active);
|
|
115
|
-
background: var(--ck-color-suggestion-marker-insertion-background-active);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.ck-content .ck-suggestion-marker-formatInline {
|
|
120
|
-
border-top: 3px solid var(--ck-color-suggestion-marker-format-border);
|
|
121
|
-
border-bottom: 3px solid var(--ck-color-suggestion-marker-format-border);
|
|
122
|
-
|
|
123
|
-
&.ck-suggestion-marker--active {
|
|
124
|
-
border-color: var(--ck-color-suggestion-marker-format-border-active);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
&.ck-widget {
|
|
128
|
-
background: none;
|
|
129
|
-
border: 3px solid var(--ck-color-suggestion-marker-format-border);
|
|
130
|
-
|
|
131
|
-
&.ck-suggestion-marker--active {
|
|
132
|
-
border-color: var(--ck-color-suggestion-marker-format-border-active);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/* This is a tricky case.
|
|
138
|
-
* We can't use `border-left` because sticky marker to the element looks kinda ugly.
|
|
139
|
-
* We can't use `::before` pseudoelement because it requires `position: relative` of parent, which breaks side-image.
|
|
140
|
-
* We can't use `outline` because it's impossible to display only left side of outline.
|
|
141
|
-
* So... we need to use power of CSS hacks <3 and use doubled box-shadow.
|
|
142
|
-
*/
|
|
143
|
-
|
|
144
|
-
.ck-content .ck-suggestion-marker-formatBlock {
|
|
145
|
-
border: 0;
|
|
146
|
-
background: none;
|
|
147
|
-
box-shadow: -7px 0 0 0 var(--ck-color-base-background), -10px 0 0 0 var(--ck-color-suggestion-marker-format-border);
|
|
148
|
-
|
|
149
|
-
&.ck-suggestion-marker--active {
|
|
150
|
-
box-shadow: -5px 0 0 0 var(--ck-color-base-background), -8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.ck-content ul .ck-suggestion-marker-formatBlock,
|
|
155
|
-
.ck-content ol .ck-suggestion-marker-formatBlock {
|
|
156
|
-
box-shadow: -2px 0 0 0 var(--ck-color-base-background), -5px 0 0 0 var(--ck-color-suggestion-marker-format-border);
|
|
157
|
-
|
|
158
|
-
&.ck-suggestion-marker--active {
|
|
159
|
-
box-shadow: -2px 0 0 0 var(--ck-color-base-background), -5px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
|
|
160
|
-
}
|
|
161
|
-
}
|