@ckeditor/ckeditor5-highlight 41.3.0-alpha.4 → 41.3.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.
Files changed (129) hide show
  1. package/build/highlight.js +1 -1
  2. package/build/translations/es-co.js +1 -0
  3. package/lang/translations/es-co.po +54 -0
  4. package/package.json +2 -3
  5. package/src/highlightui.d.ts +4 -0
  6. package/src/highlightui.js +55 -1
  7. package/dist/content-index.css +0 -32
  8. package/dist/editor-index.css +0 -4
  9. package/dist/index.css +0 -45
  10. package/dist/index.css.map +0 -1
  11. package/dist/translations/ar.d.ts +0 -8
  12. package/dist/translations/ar.js +0 -5
  13. package/dist/translations/az.d.ts +0 -8
  14. package/dist/translations/az.js +0 -5
  15. package/dist/translations/bg.d.ts +0 -8
  16. package/dist/translations/bg.js +0 -5
  17. package/dist/translations/bn.d.ts +0 -8
  18. package/dist/translations/bn.js +0 -5
  19. package/dist/translations/ca.d.ts +0 -8
  20. package/dist/translations/ca.js +0 -5
  21. package/dist/translations/cs.d.ts +0 -8
  22. package/dist/translations/cs.js +0 -5
  23. package/dist/translations/da.d.ts +0 -8
  24. package/dist/translations/da.js +0 -5
  25. package/dist/translations/de-ch.d.ts +0 -8
  26. package/dist/translations/de-ch.js +0 -5
  27. package/dist/translations/de.d.ts +0 -8
  28. package/dist/translations/de.js +0 -5
  29. package/dist/translations/el.d.ts +0 -8
  30. package/dist/translations/el.js +0 -5
  31. package/dist/translations/en-au.d.ts +0 -8
  32. package/dist/translations/en-au.js +0 -5
  33. package/dist/translations/en-gb.d.ts +0 -8
  34. package/dist/translations/en-gb.js +0 -5
  35. package/dist/translations/en.d.ts +0 -8
  36. package/dist/translations/en.js +0 -5
  37. package/dist/translations/es.d.ts +0 -8
  38. package/dist/translations/es.js +0 -5
  39. package/dist/translations/et.d.ts +0 -8
  40. package/dist/translations/et.js +0 -5
  41. package/dist/translations/fa.d.ts +0 -8
  42. package/dist/translations/fa.js +0 -5
  43. package/dist/translations/fi.d.ts +0 -8
  44. package/dist/translations/fi.js +0 -5
  45. package/dist/translations/fr.d.ts +0 -8
  46. package/dist/translations/fr.js +0 -5
  47. package/dist/translations/gl.d.ts +0 -8
  48. package/dist/translations/gl.js +0 -5
  49. package/dist/translations/he.d.ts +0 -8
  50. package/dist/translations/he.js +0 -5
  51. package/dist/translations/hi.d.ts +0 -8
  52. package/dist/translations/hi.js +0 -5
  53. package/dist/translations/hr.d.ts +0 -8
  54. package/dist/translations/hr.js +0 -5
  55. package/dist/translations/hu.d.ts +0 -8
  56. package/dist/translations/hu.js +0 -5
  57. package/dist/translations/id.d.ts +0 -8
  58. package/dist/translations/id.js +0 -5
  59. package/dist/translations/it.d.ts +0 -8
  60. package/dist/translations/it.js +0 -5
  61. package/dist/translations/ja.d.ts +0 -8
  62. package/dist/translations/ja.js +0 -5
  63. package/dist/translations/jv.d.ts +0 -8
  64. package/dist/translations/jv.js +0 -5
  65. package/dist/translations/ko.d.ts +0 -8
  66. package/dist/translations/ko.js +0 -5
  67. package/dist/translations/ku.d.ts +0 -8
  68. package/dist/translations/ku.js +0 -5
  69. package/dist/translations/lt.d.ts +0 -8
  70. package/dist/translations/lt.js +0 -5
  71. package/dist/translations/lv.d.ts +0 -8
  72. package/dist/translations/lv.js +0 -5
  73. package/dist/translations/ms.d.ts +0 -8
  74. package/dist/translations/ms.js +0 -5
  75. package/dist/translations/nb.d.ts +0 -8
  76. package/dist/translations/nb.js +0 -5
  77. package/dist/translations/ne.d.ts +0 -8
  78. package/dist/translations/ne.js +0 -5
  79. package/dist/translations/nl.d.ts +0 -8
  80. package/dist/translations/nl.js +0 -5
  81. package/dist/translations/no.d.ts +0 -8
  82. package/dist/translations/no.js +0 -5
  83. package/dist/translations/pl.d.ts +0 -8
  84. package/dist/translations/pl.js +0 -5
  85. package/dist/translations/pt-br.d.ts +0 -8
  86. package/dist/translations/pt-br.js +0 -5
  87. package/dist/translations/pt.d.ts +0 -8
  88. package/dist/translations/pt.js +0 -5
  89. package/dist/translations/ro.d.ts +0 -8
  90. package/dist/translations/ro.js +0 -5
  91. package/dist/translations/ru.d.ts +0 -8
  92. package/dist/translations/ru.js +0 -5
  93. package/dist/translations/sk.d.ts +0 -8
  94. package/dist/translations/sk.js +0 -5
  95. package/dist/translations/sl.d.ts +0 -8
  96. package/dist/translations/sl.js +0 -5
  97. package/dist/translations/sq.d.ts +0 -8
  98. package/dist/translations/sq.js +0 -5
  99. package/dist/translations/sr-latn.d.ts +0 -8
  100. package/dist/translations/sr-latn.js +0 -5
  101. package/dist/translations/sr.d.ts +0 -8
  102. package/dist/translations/sr.js +0 -5
  103. package/dist/translations/sv.d.ts +0 -8
  104. package/dist/translations/sv.js +0 -5
  105. package/dist/translations/th.d.ts +0 -8
  106. package/dist/translations/th.js +0 -5
  107. package/dist/translations/tk.d.ts +0 -8
  108. package/dist/translations/tk.js +0 -5
  109. package/dist/translations/tr.d.ts +0 -8
  110. package/dist/translations/tr.js +0 -5
  111. package/dist/translations/uk.d.ts +0 -8
  112. package/dist/translations/uk.js +0 -5
  113. package/dist/translations/ur.d.ts +0 -8
  114. package/dist/translations/ur.js +0 -5
  115. package/dist/translations/uz.d.ts +0 -8
  116. package/dist/translations/uz.js +0 -5
  117. package/dist/translations/vi.d.ts +0 -8
  118. package/dist/translations/vi.js +0 -5
  119. package/dist/translations/zh-cn.d.ts +0 -8
  120. package/dist/translations/zh-cn.js +0 -5
  121. package/dist/translations/zh.d.ts +0 -8
  122. package/dist/translations/zh.js +0 -5
  123. package/dist/types/augmentation.d.ts +0 -27
  124. package/dist/types/highlight.d.ts +0 -32
  125. package/dist/types/highlightcommand.d.ts +0 -49
  126. package/dist/types/highlightconfig.d.ts +0 -175
  127. package/dist/types/highlightediting.d.ts +0 -32
  128. package/dist/types/highlightui.d.ts +0 -77
  129. package/dist/types/index.d.ts +0 -17
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var e={809:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var r=i(935),n=i.n(r)()((function(e){return e[1]}));n.push([e.id,":root{--ck-highlight-marker-yellow:#fdfd77;--ck-highlight-marker-green:#62f962;--ck-highlight-marker-pink:#fc7899;--ck-highlight-marker-blue:#72ccfd;--ck-highlight-pen-red:#e71313;--ck-highlight-pen-green:#128a00}.ck-content .marker-yellow{background-color:var(--ck-highlight-marker-yellow)}.ck-content .marker-green{background-color:var(--ck-highlight-marker-green)}.ck-content .marker-pink{background-color:var(--ck-highlight-marker-pink)}.ck-content .marker-blue{background-color:var(--ck-highlight-marker-blue)}.ck-content .pen-red{background-color:transparent;color:var(--ck-highlight-pen-red)}.ck-content .pen-green{background-color:transparent;color:var(--ck-highlight-pen-green)}",""]);const o=n},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,r){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(r)for(var o=0;o<this.length;o++){var l=this[o][0];null!=l&&(n[l]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);r&&n[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),t.push(c))}},t}},591:(e,t,i)=>{"use strict";var r,n=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),l=[];function a(e){for(var t=-1,i=0;i<l.length;i++)if(l[i].identifier===e){t=i;break}return t}function c(e,t){for(var i={},r=[],n=0;n<e.length;n++){var o=e[n],c=t.base?o[0]+t.base:o[0],s=i[c]||0,h="".concat(c," ").concat(s);i[c]=s+1;var g=a(h),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==g?(l[g].references++,l[g].updater(d)):l.push({identifier:h,updater:v(d,t),references:1}),r.push(h)}return r}function s(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var n=i.nc;n&&(r.nonce=n)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var l=o(e.insert||"head");if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(t)}return t}var h,g=(h=[],function(e,t){return h[e]=t,h.filter(Boolean).join("\n")});function d(e,t,i,r){var n=i?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,n);else{var o=document.createTextNode(n),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(o,l[t]):e.appendChild(o)}}function u(e,t,i){var r=i.css,n=i.media,o=i.sourceMap;if(n?e.setAttribute("media",n):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var m=null,p=0;function v(e,t){var i,r,n;if(t.singleton){var o=p++;i=m||(m=s(t)),r=d.bind(null,i,o,!1),n=d.bind(null,i,o,!0)}else i=s(t),r=u.bind(null,i,t),n=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else n()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=n());var i=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<i.length;r++){var n=a(i[r]);l[n].references--}for(var o=c(e,t),s=0;s<i.length;s++){var h=a(i[s]);0===l[h].references&&(l[h].updater(),l.splice(h,1))}i=o}}}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(r){var n=t[r];if(void 0!==n)return n.exports;var o=t[r]={id:r,exports:{}};return e[r](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var r={};(()=>{"use strict";i.r(r),i.d(r,{Highlight:()=>d,HighlightEditing:()=>n,HighlightUI:()=>h});var e=i(782);class t extends e.Command{refresh(){const e=this.editor.model,t=e.document;this.value=t.selection.getAttribute("highlight"),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"highlight")}execute(e={}){const t=this.editor.model,i=t.document.selection,r=e.value;t.change((e=>{if(i.isCollapsed){const t=i.getFirstPosition();if(i.hasAttribute("highlight")){const i=e=>e.item.hasAttribute("highlight")&&e.item.getAttribute("highlight")===this.value,n=t.getLastMatchingPosition(i,{direction:"backward"}),o=t.getLastMatchingPosition(i),l=e.createRange(n,o);r&&this.value!==r?(t.isEqual(o)||e.setAttribute("highlight",r,l),e.setSelectionAttribute("highlight",r)):(t.isEqual(o)||e.removeAttribute("highlight",l),e.removeSelectionAttribute("highlight"))}else r&&e.setSelectionAttribute("highlight",r)}else{const n=t.schema.getValidRanges(i.getRanges(),"highlight");for(const t of n)r?e.setAttribute("highlight",r,t):e.removeAttribute("highlight",t)}}))}}class n extends e.Plugin{static get pluginName(){return"HighlightEditing"}constructor(e){super(e),e.config.define("highlight",{options:[{model:"yellowMarker",class:"marker-yellow",title:"Yellow marker",color:"var(--ck-highlight-marker-yellow)",type:"marker"},{model:"greenMarker",class:"marker-green",title:"Green marker",color:"var(--ck-highlight-marker-green)",type:"marker"},{model:"pinkMarker",class:"marker-pink",title:"Pink marker",color:"var(--ck-highlight-marker-pink)",type:"marker"},{model:"blueMarker",class:"marker-blue",title:"Blue marker",color:"var(--ck-highlight-marker-blue)",type:"marker"},{model:"redPen",class:"pen-red",title:"Red pen",color:"var(--ck-highlight-pen-red)",type:"pen"},{model:"greenPen",class:"pen-green",title:"Green pen",color:"var(--ck-highlight-pen-green)",type:"pen"}]})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:"highlight"});const i=e.config.get("highlight.options");e.conversion.attributeToElement(function(e){const t={model:{key:"highlight",values:[]},view:{}};for(const i of e)t.model.values.push(i.model),t.view[i.model]={name:"mark",classes:i.class};return t}(i)),e.commands.add("highlight",new t(e))}}var o=i(311);var l=i(591),a=i.n(l),c=i(809),s={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};a()(c.A,s);c.A.locals;class h extends e.Plugin{get localizedOptionTitles(){const e=this.editor.t;return{"Yellow marker":e("Yellow marker"),"Green marker":e("Green marker"),"Pink marker":e("Pink marker"),"Blue marker":e("Blue marker"),"Red pen":e("Red pen"),"Green pen":e("Green pen")}}static get pluginName(){return"HighlightUI"}init(){const e=this.editor.config.get("highlight.options");for(const t of e)this._addHighlighterButton(t);this._addRemoveHighlightButton(),this._addDropdown(e)}_addRemoveHighlightButton(){const t=this.editor.t,i=this.editor.commands.get("highlight");this._addButton("removeHighlight",t("Remove highlight"),e.icons.eraser,null,(e=>{e.bind("isEnabled").to(i,"isEnabled")}))}_addHighlighterButton(e){const t=this.editor.commands.get("highlight");this._addButton("highlight:"+e.model,e.title,g(e.type),e.model,(function(i){i.bind("isEnabled").to(t,"isEnabled"),i.bind("isOn").to(t,"value",(t=>t===e.model)),i.iconView.fillColor=e.color,i.isToggleable=!0}))}_addButton(e,t,i,r,n){const l=this.editor;l.ui.componentFactory.add(e,(e=>{const a=new o.ButtonView(e),c=this.localizedOptionTitles[t]?this.localizedOptionTitles[t]:t;return a.set({label:c,icon:i,tooltip:!0}),a.on("execute",(()=>{l.execute("highlight",{value:r}),l.editing.view.focus()})),n(a),a}))}_addDropdown(e){const t=this.editor,i=t.t,r=t.ui.componentFactory,n=e[0],l=e.reduce(((e,t)=>(e[t.model]=t,e)),{});r.add("highlight",(a=>{const c=t.commands.get("highlight"),s=(0,o.createDropdown)(a,o.SplitButtonView),h=s.buttonView;h.set({label:i("Highlight"),tooltip:!0,lastExecuted:n.model,commandValue:n.model,isToggleable:!0}),h.bind("icon").to(c,"value",(e=>g(d(e,"type")))),h.bind("color").to(c,"value",(e=>d(e,"color"))),h.bind("commandValue").to(c,"value",(e=>d(e,"model"))),h.bind("isOn").to(c,"value",(e=>!!e)),h.delegate("execute").to(s);function d(e,t){const i=e&&e!==h.lastExecuted?e:h.lastExecuted;return l[i][t]}return s.bind("isEnabled").to(c,"isEnabled"),(0,o.addToolbarToDropdown)(s,(()=>{const t=e.map((e=>{const t=r.create("highlight:"+e.model);return this.listenTo(t,"execute",(()=>{s.buttonView.set({lastExecuted:e.model})})),t}));return t.push(new o.ToolbarSeparatorView),t.push(r.create("removeHighlight")),t}),{enableActiveItemFocusOnDropdownOpen:!0,ariaLabel:i("Text highlight toolbar")}),function(e){const t=e.buttonView.actionView;t.iconView.bind("fillColor").to(e.buttonView,"color")}(s),h.on("execute",(()=>{t.execute("highlight",{value:h.commandValue})})),this.listenTo(s,"execute",(()=>{t.editing.view.focus()})),s}))}}function g(e){return"marker"===e?'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path class="ck-icon__fill" d="M10.798 1.59 3.002 12.875l1.895 1.852 2.521 1.402 6.997-12.194z"/><path d="m2.556 16.727.234-.348c-.297-.151-.462-.293-.498-.426-.036-.137.002-.416.115-.837.094-.25.15-.449.169-.595a4.495 4.495 0 0 0 0-.725c-.209-.621-.303-1.041-.284-1.26.02-.218.178-.506.475-.862l6.77-9.414c.539-.91 1.605-.85 3.199.18 1.594 1.032 2.188 1.928 1.784 2.686l-5.877 10.36c-.158.412-.333.673-.526.782-.193.108-.604.179-1.232.21-.362.131-.608.237-.738.318-.13.081-.305.238-.526.47-.293.265-.504.397-.632.397-.096 0-.27-.075-.524-.226l-.31.41-1.6-1.12zm-.279.415 1.575 1.103-.392.515H1.19l1.087-1.618zm8.1-13.656-4.953 6.9L8.75 12.57l4.247-7.574c.175-.25-.188-.647-1.092-1.192-.903-.546-1.412-.652-1.528-.32zM8.244 18.5 9.59 17h9.406v1.5H8.245z"/></svg>':'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path class="ck-icon__fill" d="M10.126 2.268 2.002 13.874l1.895 1.852 2.521 1.402L14.47 5.481l-1.543-2.568-2.801-.645z"/><path d="m4.5 18.088-2.645-1.852-.04-2.95-.006-.005.006-.008v-.025l.011.008L8.73 2.97c.165-.233.356-.417.567-.557l-1.212.308L4.604 7.9l-.83-.558 3.694-5.495 2.708-.69 1.65 1.145.046.018.85-1.216 2.16 1.512-.856 1.222c.828.967 1.144 2.141.432 3.158L7.55 17.286l.006.005-3.055.797H4.5zm-.634.166-1.976.516-.026-1.918 2.002 1.402zM9.968 3.817l-.006-.004-6.123 9.184 3.277 2.294 6.108-9.162.005.003c.317-.452-.16-1.332-1.064-1.966-.891-.624-1.865-.776-2.197-.349zM8.245 18.5 9.59 17h9.406v1.5H8.245z"/></svg>'}class d extends e.Plugin{static get requires(){return[n,h]}static get pluginName(){return"Highlight"}}})(),(window.CKEditor5=window.CKEditor5||{}).highlight=r})();
5
+ */(()=>{var e={809:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(935),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,":root{--ck-highlight-marker-yellow:#fdfd77;--ck-highlight-marker-green:#62f962;--ck-highlight-marker-pink:#fc7899;--ck-highlight-marker-blue:#72ccfd;--ck-highlight-pen-red:#e71313;--ck-highlight-pen-green:#128a00}.ck-content .marker-yellow{background-color:var(--ck-highlight-marker-yellow)}.ck-content .marker-green{background-color:var(--ck-highlight-marker-green)}.ck-content .marker-pink{background-color:var(--ck-highlight-marker-pink)}.ck-content .marker-blue{background-color:var(--ck-highlight-marker-blue)}.ck-content .pen-red{background-color:transparent;color:var(--ck-highlight-pen-red)}.ck-content .pen-green{background-color:transparent;color:var(--ck-highlight-pen-green)}",""]);const o=r},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(n)for(var o=0;o<this.length;o++){var l=this[o][0];null!=l&&(r[l]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&r[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),t.push(c))}},t}},591:(e,t,i)=>{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},o=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),l=[];function a(e){for(var t=-1,i=0;i<l.length;i++)if(l[i].identifier===e){t=i;break}return t}function c(e,t){for(var i={},n=[],r=0;r<e.length;r++){var o=e[r],c=t.base?o[0]+t.base:o[0],s=i[c]||0,h="".concat(c," ").concat(s);i[c]=s+1;var d=a(h),g={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(l[d].references++,l[d].updater(g)):l.push({identifier:h,updater:v(g,t),references:1}),n.push(h)}return n}function s(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var r=i.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var l=o(e.insert||"head");if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(t)}return t}var h,d=(h=[],function(e,t){return h[e]=t,h.filter(Boolean).join("\n")});function g(e,t,i,n){var r=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,r);else{var o=document.createTextNode(r),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(o,l[t]):e.appendChild(o)}}function u(e,t,i){var n=i.css,r=i.media,o=i.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var m=null,p=0;function v(e,t){var i,n,r;if(t.singleton){var o=p++;i=m||(m=s(t)),n=g.bind(null,i,o,!1),r=g.bind(null,i,o,!0)}else i=s(t),n=u.bind(null,i,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var i=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<i.length;n++){var r=a(i[n]);l[r].references--}for(var o=c(e,t),s=0;s<i.length;s++){var h=a(i[s]);0===l[h].references&&(l[h].updater(),l.splice(h,1))}i=o}}}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={id:n,exports:{}};return e[n](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var n={};(()=>{"use strict";i.r(n),i.d(n,{Highlight:()=>g,HighlightEditing:()=>r,HighlightUI:()=>h});var e=i(782);class t extends e.Command{refresh(){const e=this.editor.model,t=e.document;this.value=t.selection.getAttribute("highlight"),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"highlight")}execute(e={}){const t=this.editor.model,i=t.document.selection,n=e.value;t.change((e=>{if(i.isCollapsed){const t=i.getFirstPosition();if(i.hasAttribute("highlight")){const i=e=>e.item.hasAttribute("highlight")&&e.item.getAttribute("highlight")===this.value,r=t.getLastMatchingPosition(i,{direction:"backward"}),o=t.getLastMatchingPosition(i),l=e.createRange(r,o);n&&this.value!==n?(t.isEqual(o)||e.setAttribute("highlight",n,l),e.setSelectionAttribute("highlight",n)):(t.isEqual(o)||e.removeAttribute("highlight",l),e.removeSelectionAttribute("highlight"))}else n&&e.setSelectionAttribute("highlight",n)}else{const r=t.schema.getValidRanges(i.getRanges(),"highlight");for(const t of r)n?e.setAttribute("highlight",n,t):e.removeAttribute("highlight",t)}}))}}class r extends e.Plugin{static get pluginName(){return"HighlightEditing"}constructor(e){super(e),e.config.define("highlight",{options:[{model:"yellowMarker",class:"marker-yellow",title:"Yellow marker",color:"var(--ck-highlight-marker-yellow)",type:"marker"},{model:"greenMarker",class:"marker-green",title:"Green marker",color:"var(--ck-highlight-marker-green)",type:"marker"},{model:"pinkMarker",class:"marker-pink",title:"Pink marker",color:"var(--ck-highlight-marker-pink)",type:"marker"},{model:"blueMarker",class:"marker-blue",title:"Blue marker",color:"var(--ck-highlight-marker-blue)",type:"marker"},{model:"redPen",class:"pen-red",title:"Red pen",color:"var(--ck-highlight-pen-red)",type:"pen"},{model:"greenPen",class:"pen-green",title:"Green pen",color:"var(--ck-highlight-pen-green)",type:"pen"}]})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:"highlight"});const i=e.config.get("highlight.options");e.conversion.attributeToElement(function(e){const t={model:{key:"highlight",values:[]},view:{}};for(const i of e)t.model.values.push(i.model),t.view[i.model]={name:"mark",classes:i.class};return t}(i)),e.commands.add("highlight",new t(e))}}var o=i(311);var l=i(591),a=i.n(l),c=i(809),s={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};a()(c.A,s);c.A.locals;class h extends e.Plugin{get localizedOptionTitles(){const e=this.editor.t;return{"Yellow marker":e("Yellow marker"),"Green marker":e("Green marker"),"Pink marker":e("Pink marker"),"Blue marker":e("Blue marker"),"Red pen":e("Red pen"),"Green pen":e("Green pen")}}static get pluginName(){return"HighlightUI"}init(){const e=this.editor.config.get("highlight.options");for(const t of e)this._addHighlighterButton(t);this._addRemoveHighlightButton(),this._addDropdown(e),this._addMenuBarButton(e)}_addRemoveHighlightButton(){const t=this.editor.t,i=this.editor.commands.get("highlight");this._addButton("removeHighlight",t("Remove highlight"),e.icons.eraser,null,(e=>{e.bind("isEnabled").to(i,"isEnabled")}))}_addHighlighterButton(e){const t=this.editor.commands.get("highlight");this._addButton("highlight:"+e.model,e.title,d(e.type),e.model,(function(i){i.bind("isEnabled").to(t,"isEnabled"),i.bind("isOn").to(t,"value",(t=>t===e.model)),i.iconView.fillColor=e.color,i.isToggleable=!0}))}_addButton(e,t,i,n,r){const l=this.editor;l.ui.componentFactory.add(e,(e=>{const a=new o.ButtonView(e),c=this.localizedOptionTitles[t]?this.localizedOptionTitles[t]:t;return a.set({label:c,icon:i,tooltip:!0}),a.on("execute",(()=>{l.execute("highlight",{value:n}),l.editing.view.focus()})),r(a),a}))}_addDropdown(e){const t=this.editor,i=t.t,n=t.ui.componentFactory,r=e[0],l=e.reduce(((e,t)=>(e[t.model]=t,e)),{});n.add("highlight",(a=>{const c=t.commands.get("highlight"),s=(0,o.createDropdown)(a,o.SplitButtonView),h=s.buttonView;h.set({label:i("Highlight"),tooltip:!0,lastExecuted:r.model,commandValue:r.model,isToggleable:!0}),h.bind("icon").to(c,"value",(e=>d(g(e,"type")))),h.bind("color").to(c,"value",(e=>g(e,"color"))),h.bind("commandValue").to(c,"value",(e=>g(e,"model"))),h.bind("isOn").to(c,"value",(e=>!!e)),h.delegate("execute").to(s);function g(e,t){const i=e&&e!==h.lastExecuted?e:h.lastExecuted;return l[i][t]}return s.bind("isEnabled").to(c,"isEnabled"),(0,o.addToolbarToDropdown)(s,(()=>{const t=e.map((e=>{const t=n.create("highlight:"+e.model);return this.listenTo(t,"execute",(()=>{s.buttonView.set({lastExecuted:e.model})})),t}));return t.push(new o.ToolbarSeparatorView),t.push(n.create("removeHighlight")),t}),{enableActiveItemFocusOnDropdownOpen:!0,ariaLabel:i("Text highlight toolbar")}),function(e){const t=e.buttonView.actionView;t.iconView.bind("fillColor").to(e.buttonView,"color")}(s),h.on("execute",(()=>{t.execute("highlight",{value:h.commandValue})})),this.listenTo(s,"execute",(()=>{t.editing.view.focus()})),s}))}_addMenuBarButton(t){const i=this.editor,n=i.t;i.ui.componentFactory.add("menuBar:highlight",(r=>{const l=i.commands.get("highlight"),a=new o.MenuBarMenuView(r);a.buttonView.set({label:n("Highlight"),icon:d("marker")}),a.bind("isEnabled").to(l),a.buttonView.iconView.fillColor="transparent";const c=new o.MenuBarMenuListView(r);for(const e of t){const t=new o.MenuBarMenuListItemView(r,a),n=new o.MenuBarMenuListItemButtonView(r);n.set({label:e.title,icon:d(e.type)}),n.delegate("execute").to(a),n.bind("isOn").to(l,"value",(t=>t===e.model)),n.bind("ariaChecked").to(n,"isOn"),n.iconView.bind("fillColor").to(n,"isOn",(t=>t?"transparent":e.color)),n.on("execute",(()=>{i.execute("highlight",{value:e.model}),i.editing.view.focus()})),t.children.add(n),c.items.add(t)}c.items.add(new o.ListSeparatorView(r));const s=new o.MenuBarMenuListItemView(r,a),h=new o.MenuBarMenuListItemButtonView(r);return h.set({label:n("Remove highlight"),icon:e.icons.eraser}),h.delegate("execute").to(a),h.on("execute",(()=>{i.execute("highlight",{value:null}),i.editing.view.focus()})),s.children.add(h),c.items.add(s),a.panelView.children.add(c),a}))}}function d(e){return"marker"===e?'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path class="ck-icon__fill" d="M10.798 1.59 3.002 12.875l1.895 1.852 2.521 1.402 6.997-12.194z"/><path d="m2.556 16.727.234-.348c-.297-.151-.462-.293-.498-.426-.036-.137.002-.416.115-.837.094-.25.15-.449.169-.595a4.495 4.495 0 0 0 0-.725c-.209-.621-.303-1.041-.284-1.26.02-.218.178-.506.475-.862l6.77-9.414c.539-.91 1.605-.85 3.199.18 1.594 1.032 2.188 1.928 1.784 2.686l-5.877 10.36c-.158.412-.333.673-.526.782-.193.108-.604.179-1.232.21-.362.131-.608.237-.738.318-.13.081-.305.238-.526.47-.293.265-.504.397-.632.397-.096 0-.27-.075-.524-.226l-.31.41-1.6-1.12zm-.279.415 1.575 1.103-.392.515H1.19l1.087-1.618zm8.1-13.656-4.953 6.9L8.75 12.57l4.247-7.574c.175-.25-.188-.647-1.092-1.192-.903-.546-1.412-.652-1.528-.32zM8.244 18.5 9.59 17h9.406v1.5H8.245z"/></svg>':'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path class="ck-icon__fill" d="M10.126 2.268 2.002 13.874l1.895 1.852 2.521 1.402L14.47 5.481l-1.543-2.568-2.801-.645z"/><path d="m4.5 18.088-2.645-1.852-.04-2.95-.006-.005.006-.008v-.025l.011.008L8.73 2.97c.165-.233.356-.417.567-.557l-1.212.308L4.604 7.9l-.83-.558 3.694-5.495 2.708-.69 1.65 1.145.046.018.85-1.216 2.16 1.512-.856 1.222c.828.967 1.144 2.141.432 3.158L7.55 17.286l.006.005-3.055.797H4.5zm-.634.166-1.976.516-.026-1.918 2.002 1.402zM9.968 3.817l-.006-.004-6.123 9.184 3.277 2.294 6.108-9.162.005.003c.317-.452-.16-1.332-1.064-1.966-.891-.624-1.865-.776-2.197-.349zM8.245 18.5 9.59 17h9.406v1.5H8.245z"/></svg>'}class g extends e.Plugin{static get requires(){return[r,h]}static get pluginName(){return"Highlight"}}})(),(window.CKEditor5=window.CKEditor5||{}).highlight=n})();
@@ -0,0 +1 @@
1
+ !function(e){const r=e["es-co"]=e["es-co"]||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Marcador azul","Green marker":"Marcador verde","Green pen":"Pincel verde",Highlight:"Resaltar","Pink marker":"Marcador rosa","Red pen":"Pincel rojo","Remove highlight":"Quitar resaltado","Text highlight toolbar":"Herramientas de resaltado de texto","Yellow marker":"Marcador amarillo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1,54 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Spanish (Colombia) (https://app.transifex.com/ckeditor/teams/11143/es_CO/)\n"
16
+ "Language: es_CO\n"
17
+ "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Toolbar button tooltip for applying yellow marker (text highlight)."
21
+ msgid "Yellow marker"
22
+ msgstr "Marcador amarillo"
23
+
24
+ msgctxt "Toolbar button tooltip for applying green marker (text highlight)."
25
+ msgid "Green marker"
26
+ msgstr "Marcador verde"
27
+
28
+ msgctxt "Toolbar button tooltip for applying pink marker (text highlight)."
29
+ msgid "Pink marker"
30
+ msgstr "Marcador rosa"
31
+
32
+ msgctxt "Toolbar button tooltip for applying blue marker (text highlight)."
33
+ msgid "Blue marker"
34
+ msgstr "Marcador azul"
35
+
36
+ msgctxt "Toolbar button tooltip for applying red pen (text color)."
37
+ msgid "Red pen"
38
+ msgstr "Pincel rojo"
39
+
40
+ msgctxt "Toolbar button tooltip for applying green pen (text color)."
41
+ msgid "Green pen"
42
+ msgstr "Pincel verde"
43
+
44
+ msgctxt "Toolbar button tooltip for removing text highlight."
45
+ msgid "Remove highlight"
46
+ msgstr "Quitar resaltado"
47
+
48
+ msgctxt "Toolbar button tooltip for the text highlight feature."
49
+ msgid "Highlight"
50
+ msgstr "Resaltar"
51
+
52
+ msgctxt "Label used by assistive technologies describing the highlight feature toolbar."
53
+ msgid "Text highlight toolbar"
54
+ msgstr "Herramientas de resaltado de texto"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-highlight",
3
- "version": "41.3.0-alpha.4",
3
+ "version": "41.3.0",
4
4
  "description": "Highlight feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,7 +13,7 @@
13
13
  "type": "module",
14
14
  "main": "src/index.js",
15
15
  "dependencies": {
16
- "ckeditor5": "41.3.0-alpha.4"
16
+ "ckeditor5": "41.3.0"
17
17
  },
18
18
  "author": "CKSource (http://cksource.com/)",
19
19
  "license": "GPL-2.0-or-later",
@@ -25,7 +25,6 @@
25
25
  "directory": "packages/ckeditor5-highlight"
26
26
  },
27
27
  "files": [
28
- "dist",
29
28
  "lang",
30
29
  "src/**/*.js",
31
30
  "src/**/*.d.ts",
@@ -70,4 +70,8 @@ export default class HighlightUI extends Plugin {
70
70
  * Creates the split button dropdown UI from the provided highlight options.
71
71
  */
72
72
  private _addDropdown;
73
+ /**
74
+ * Creates the menu bar button for highlight including submenu with available options.
75
+ */
76
+ private _addMenuBarButton;
73
77
  }
@@ -6,7 +6,7 @@
6
6
  * @module highlight/highlightui
7
7
  */
8
8
  import { Plugin, icons } from 'ckeditor5/src/core.js';
9
- import { ButtonView, SplitButtonView, ToolbarSeparatorView, createDropdown, addToolbarToDropdown } from 'ckeditor5/src/ui.js';
9
+ import { addToolbarToDropdown, createDropdown, ButtonView, ListSeparatorView, MenuBarMenuView, MenuBarMenuListView, MenuBarMenuListItemView, MenuBarMenuListItemButtonView, SplitButtonView, ToolbarSeparatorView } from 'ckeditor5/src/ui.js';
10
10
  import markerIcon from './../theme/icons/marker.svg';
11
11
  import penIcon from './../theme/icons/pen.svg';
12
12
  import './../theme/highlight.css';
@@ -69,6 +69,7 @@ export default class HighlightUI extends Plugin {
69
69
  }
70
70
  this._addRemoveHighlightButton();
71
71
  this._addDropdown(options);
72
+ this._addMenuBarButton(options);
72
73
  }
73
74
  /**
74
75
  * Creates the "Remove highlight" button.
@@ -200,6 +201,59 @@ export default class HighlightUI extends Plugin {
200
201
  return dropdownView;
201
202
  });
202
203
  }
204
+ /**
205
+ * Creates the menu bar button for highlight including submenu with available options.
206
+ */
207
+ _addMenuBarButton(options) {
208
+ const editor = this.editor;
209
+ const t = editor.t;
210
+ editor.ui.componentFactory.add('menuBar:highlight', locale => {
211
+ const command = editor.commands.get('highlight');
212
+ const menuView = new MenuBarMenuView(locale);
213
+ menuView.buttonView.set({
214
+ label: t('Highlight'),
215
+ icon: getIconForType('marker')
216
+ });
217
+ menuView.bind('isEnabled').to(command);
218
+ menuView.buttonView.iconView.fillColor = 'transparent';
219
+ const listView = new MenuBarMenuListView(locale);
220
+ for (const option of options) {
221
+ const listItemView = new MenuBarMenuListItemView(locale, menuView);
222
+ const buttonView = new MenuBarMenuListItemButtonView(locale);
223
+ buttonView.set({
224
+ label: option.title,
225
+ icon: getIconForType(option.type)
226
+ });
227
+ buttonView.delegate('execute').to(menuView);
228
+ buttonView.bind('isOn').to(command, 'value', value => value === option.model);
229
+ buttonView.bind('ariaChecked').to(buttonView, 'isOn');
230
+ buttonView.iconView.bind('fillColor').to(buttonView, 'isOn', value => value ? 'transparent' : option.color);
231
+ buttonView.on('execute', () => {
232
+ editor.execute('highlight', { value: option.model });
233
+ editor.editing.view.focus();
234
+ });
235
+ listItemView.children.add(buttonView);
236
+ listView.items.add(listItemView);
237
+ }
238
+ // Add remove highlight button
239
+ listView.items.add(new ListSeparatorView(locale));
240
+ const listItemView = new MenuBarMenuListItemView(locale, menuView);
241
+ const buttonView = new MenuBarMenuListItemButtonView(locale);
242
+ buttonView.set({
243
+ label: t('Remove highlight'),
244
+ icon: icons.eraser
245
+ });
246
+ buttonView.delegate('execute').to(menuView);
247
+ buttonView.on('execute', () => {
248
+ editor.execute('highlight', { value: null });
249
+ editor.editing.view.focus();
250
+ });
251
+ listItemView.children.add(buttonView);
252
+ listView.items.add(listItemView);
253
+ menuView.panelView.children.add(listView);
254
+ return menuView;
255
+ });
256
+ }
203
257
  }
204
258
  /**
205
259
  * Extends split button icon style to reflect last used button style.
@@ -1,32 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- :root {
6
- --ck-highlight-marker-yellow: hsl(60, 97%, 73%);
7
- --ck-highlight-marker-green: hsl(120, 93%, 68%);
8
- --ck-highlight-marker-pink: hsl(345, 96%, 73%);
9
- --ck-highlight-marker-blue: hsl(201, 97%, 72%);
10
- --ck-highlight-pen-red: hsl(0, 85%, 49%);
11
- --ck-highlight-pen-green: hsl(112, 100%, 27%);
12
- }
13
- .ck-content .marker-yellow {
14
- background-color: var(--ck-highlight-marker-yellow);
15
- }
16
- .ck-content .marker-green {
17
- background-color: var(--ck-highlight-marker-green);
18
- }
19
- .ck-content .marker-pink {
20
- background-color: var(--ck-highlight-marker-pink);
21
- }
22
- .ck-content .marker-blue {
23
- background-color: var(--ck-highlight-marker-blue);
24
- }
25
- .ck-content .pen-red {
26
- color: var(--ck-highlight-pen-red);
27
- background-color: transparent;
28
- }
29
- .ck-content .pen-green {
30
- color: var(--ck-highlight-pen-green);
31
- background-color: transparent;
32
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
package/dist/index.css DELETED
@@ -1,45 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
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
- :root {
11
- --ck-highlight-marker-yellow: hsl(60, 97%, 73%);
12
- --ck-highlight-marker-green: hsl(120, 93%, 68%);
13
- --ck-highlight-marker-pink: hsl(345, 96%, 73%);
14
- --ck-highlight-marker-blue: hsl(201, 97%, 72%);
15
- --ck-highlight-pen-red: hsl(0, 85%, 49%);
16
- --ck-highlight-pen-green: hsl(112, 100%, 27%);
17
- }
18
-
19
- .ck-content .marker-yellow {
20
- background-color: var(--ck-highlight-marker-yellow);
21
- }
22
- .ck-content .marker-green {
23
- background-color: var(--ck-highlight-marker-green);
24
- }
25
- .ck-content .marker-pink {
26
- background-color: var(--ck-highlight-marker-pink);
27
- }
28
- .ck-content .marker-blue {
29
- background-color: var(--ck-highlight-marker-blue);
30
- }
31
-
32
- .ck-content .pen-red {
33
- color: var(--ck-highlight-pen-red);
34
-
35
- /* Override default yellow background of `<mark>` from user agent stylesheet */
36
- background-color: transparent;
37
- }
38
- .ck-content .pen-green {
39
- color: var(--ck-highlight-pen-green);
40
-
41
- /* Override default yellow background of `<mark>` from user agent stylesheet */
42
- background-color: transparent;
43
- }
44
-
45
- /*# sourceMappingURL=index.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../theme/highlight.css","index.css"],"names":[],"mappings":"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","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-highlight-marker-yellow: hsl(60, 97%, 73%);\n\t--ck-highlight-marker-green: hsl(120, 93%, 68%);\n\t--ck-highlight-marker-pink: hsl(345, 96%, 73%);\n\t--ck-highlight-marker-blue: hsl(201, 97%, 72%);\n\t--ck-highlight-pen-red: hsl(0, 85%, 49%);\n\t--ck-highlight-pen-green: hsl(112, 100%, 27%);\n}\n\n@define-mixin highlight-marker-color $color {\n\t.ck-content .marker-$color {\n\t\tbackground-color: var(--ck-highlight-marker-$color);\n\t}\n}\n\n@define-mixin highlight-pen-color $color {\n\t.ck-content .pen-$color {\n\t\tcolor: var(--ck-highlight-pen-$color);\n\n\t\t/* Override default yellow background of `<mark>` from user agent stylesheet */\n\t\tbackground-color: transparent;\n\t}\n}\n\n@mixin highlight-marker-color yellow;\n@mixin highlight-marker-color green;\n@mixin highlight-marker-color pink;\n@mixin highlight-marker-color blue;\n\n@mixin highlight-pen-color red;\n@mixin highlight-pen-color green;\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-highlight-marker-yellow: hsl(60, 97%, 73%);\n\t--ck-highlight-marker-green: hsl(120, 93%, 68%);\n\t--ck-highlight-marker-pink: hsl(345, 96%, 73%);\n\t--ck-highlight-marker-blue: hsl(201, 97%, 72%);\n\t--ck-highlight-pen-red: hsl(0, 85%, 49%);\n\t--ck-highlight-pen-green: hsl(112, 100%, 27%);\n}\n\n.ck-content .marker-yellow {\n\t\tbackground-color: var(--ck-highlight-marker-yellow);\n\t}\n.ck-content .marker-green {\n\t\tbackground-color: var(--ck-highlight-marker-green);\n\t}\n.ck-content .marker-pink {\n\t\tbackground-color: var(--ck-highlight-marker-pink);\n\t}\n.ck-content .marker-blue {\n\t\tbackground-color: var(--ck-highlight-marker-blue);\n\t}\n\n.ck-content .pen-red {\n\t\tcolor: var(--ck-highlight-pen-red);\n\n\t\t/* Override default yellow background of `<mark>` from user agent stylesheet */\n\t\tbackground-color: transparent;\n\t}\n.ck-content .pen-green {\n\t\tcolor: var(--ck-highlight-pen-green);\n\n\t\t/* Override default yellow background of `<mark>` from user agent stylesheet */\n\t\tbackground-color: transparent;\n\t}\n\n/*# sourceMappingURL=index.css.map */"]}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"ar":{"dictionary":{"Yellow marker":"تحديد اصفر","Green marker":"تحديد اخضر","Pink marker":"تحديد وردي","Blue marker":"تحديد ازرق","Red pen":"تحديد احمر","Green pen":"قلم اخضر","Remove highlight":"إزالة التحديد","Highlight":"تحديد","Text highlight toolbar":"شريط أدوات تمييز النص"},getPluralForm(n){return n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"az":{"dictionary":{"Yellow marker":"Sarı marker","Green marker":"Yaşıl marker","Pink marker":"Çəhrayı marker","Blue marker":"Mavi marker","Red pen":"Qırmızı qələm","Green pen":"Yaşıl qələm","Remove highlight":"Vurgulanı sil","Highlight":"Vurğulamaq","Text highlight toolbar":"Vurğulamaq paneli"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"bg":{"dictionary":{"Yellow marker":"Жълт маркер","Green marker":"Зелен маркер","Pink marker":"Розов маркер","Blue marker":"Син маркер","Red pen":"Червена химикалка","Green pen":"Зелена химикалка","Remove highlight":"Премахни подчертаване","Highlight":"Подчертай","Text highlight toolbar":"Лента за подчертаване на текст"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"bn":{"dictionary":{"Yellow marker":"হলুদ মার্কার","Green marker":"সবুজ মার্কার","Pink marker":"গোলাপী মার্কার","Blue marker":"নীল মার্কার","Red pen":"লাল কলম","Green pen":"সবুজ কলম","Remove highlight":"হাইলাইট মুছুন","Highlight":"হাইলাইট","Text highlight toolbar":"টেক্সট হাইলাইট টুলবার"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"ca":{"dictionary":{"Yellow marker":"Marcador groc","Green marker":"Marcador verd","Pink marker":"Marcador rosa","Blue marker":"Marcador blau","Red pen":"Marcador vermell","Green pen":"Bolígraf verd","Remove highlight":"Esborrar destacat","Highlight":"Destacat","Text highlight toolbar":"Barra d'eines de ressaltat de text"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"cs":{"dictionary":{"Yellow marker":"Žlutý fix","Green marker":"Zelený fix","Pink marker":"Růžový fix","Blue marker":"Modrý fix","Red pen":"Červený fix","Green pen":"Zelené pero","Remove highlight":"Odstranit zvýraznění","Highlight":"Zvýraznění","Text highlight toolbar":"Panel nástrojů zvýraznění textu"},getPluralForm(n){return (n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"da":{"dictionary":{"Yellow marker":"Gul markør","Green marker":"Grøn markør","Pink marker":"Lyserød markør","Blue marker":"Blå markør","Red pen":"Rød pen","Green pen":"Grøn pen","Remove highlight":"Fjern fremhævning","Highlight":"Fremhæv","Text highlight toolbar":"Tekstfremhævning værktøjslinje"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"de-ch":{"dictionary":{"Yellow marker":"Gelber Marker","Green marker":"Grüner Marker","Pink marker":"Pinker Marker","Blue marker":"Blauer Marker","Red pen":"Rote Schriftfarbe","Green pen":"Grüne Schriftfarbe","Remove highlight":"Texthervorhebung entfernen","Highlight":"Texthervorhebung","Text highlight toolbar":"Texthervorhebung Werkzeugleiste"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"de":{"dictionary":{"Yellow marker":"Gelber Marker","Green marker":"Grüner Marker","Pink marker":"Pinker Marker","Blue marker":"Blauer Marker","Red pen":"Rote Schriftfarbe","Green pen":"Grüne Schriftfarbe","Remove highlight":"Texthervorhebung entfernen","Highlight":"Texthervorhebung","Text highlight toolbar":"Text hervorheben Werkzeugleiste"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"el":{"dictionary":{"Yellow marker":"Επισημαντής κίτρινου","Green marker":"Επισημαντής πράσινου","Pink marker":"Επισημαντής ροζ","Blue marker":"Επισημαντής μπλε","Red pen":"Πένα κόκκινου","Green pen":"Πένα πράσινου","Remove highlight":"Απομάκρυνση επισήμανσης","Highlight":"Επισήμανση","Text highlight toolbar":"Γραμμή εργαλείων επισήμανσης κειμένου"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"en-au":{"dictionary":{"Yellow marker":"Yellow marker","Green marker":"Green marker","Pink marker":"Pink marker","Blue marker":"Blue marker","Red pen":"Red pen","Green pen":"Green pen","Remove highlight":"Remove highlight","Highlight":"Highlight","Text highlight toolbar":"Text highlight toolbar"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"en-gb":{"dictionary":{"Yellow marker":"Yellow marker","Green marker":"Green marker","Pink marker":"Pink marker","Blue marker":"Blue marker","Red pen":"Red pen","Green pen":"Green pen","Remove highlight":"Remove highlight","Highlight":"Highlight","Text highlight toolbar":""},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"en":{"dictionary":{"Yellow marker":"Yellow marker","Green marker":"Green marker","Pink marker":"Pink marker","Blue marker":"Blue marker","Red pen":"Red pen","Green pen":"Green pen","Remove highlight":"Remove highlight","Highlight":"Highlight","Text highlight toolbar":"Text highlight toolbar"},"getPluralForm":null}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"es":{"dictionary":{"Yellow marker":"Marcador amarillo","Green marker":"Marcador verde","Pink marker":"Marcador rosa","Blue marker":"Marcador azul","Red pen":"Texto rojo","Green pen":"Texto verde","Remove highlight":"Quitar resaltado","Highlight":"Resaltar","Text highlight toolbar":"Barra de herramientas de resaltado de texto"},getPluralForm(n){return n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"et":{"dictionary":{"Yellow marker":"Kollane marker","Green marker":"Roheline marker","Pink marker":"Roosa marker","Blue marker":"Sinine marker","Red pen":"Punane pliiats","Green pen":"Roheline pliiats","Remove highlight":"Eemalda esiletõstmine","Highlight":"Tõsta esile","Text highlight toolbar":"Teksti markeerimise tööriistariba"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"fa":{"dictionary":{"Yellow marker":"نشانگر زرد","Green marker":"نشانگر سبز","Pink marker":"نشانگر صورتی","Blue marker":"نشانگر آبی","Red pen":"قلم قرمز","Green pen":"قلم سبز","Remove highlight":"حذف برجسته","Highlight":"برجسته","Text highlight toolbar":"نوارابزار برجستگی متن"},getPluralForm(n){return (n > 1);}}}