@ckeditor/ckeditor5-highlight 29.1.0 → 31.1.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 (53) hide show
  1. package/build/highlight.js +1 -1
  2. package/build/translations/ar.js +1 -0
  3. package/build/translations/az.js +1 -0
  4. package/build/translations/ca.js +1 -0
  5. package/build/translations/cs.js +1 -0
  6. package/build/translations/da.js +1 -0
  7. package/build/translations/de-ch.js +1 -0
  8. package/build/translations/de.js +1 -0
  9. package/build/translations/en-au.js +1 -0
  10. package/build/translations/en-gb.js +1 -0
  11. package/build/translations/es.js +1 -0
  12. package/build/translations/et.js +1 -0
  13. package/build/translations/fa.js +1 -0
  14. package/build/translations/fi.js +1 -0
  15. package/build/translations/fr.js +1 -0
  16. package/build/translations/gl.js +1 -0
  17. package/build/translations/he.js +1 -0
  18. package/build/translations/hi.js +1 -0
  19. package/build/translations/hr.js +1 -0
  20. package/build/translations/hu.js +1 -0
  21. package/build/translations/id.js +1 -0
  22. package/build/translations/it.js +1 -0
  23. package/build/translations/ja.js +1 -0
  24. package/build/translations/ko.js +1 -0
  25. package/build/translations/ku.js +1 -0
  26. package/build/translations/lt.js +1 -0
  27. package/build/translations/lv.js +1 -0
  28. package/build/translations/nb.js +1 -0
  29. package/build/translations/ne.js +1 -0
  30. package/build/translations/nl.js +1 -0
  31. package/build/translations/no.js +1 -0
  32. package/build/translations/pl.js +1 -0
  33. package/build/translations/pt-br.js +1 -0
  34. package/build/translations/ro.js +1 -0
  35. package/build/translations/ru.js +1 -0
  36. package/build/translations/sk.js +1 -0
  37. package/build/translations/sl.js +1 -0
  38. package/build/translations/sq.js +1 -0
  39. package/build/translations/sr-latn.js +1 -0
  40. package/build/translations/sr.js +1 -0
  41. package/build/translations/sv.js +1 -0
  42. package/build/translations/tk.js +1 -0
  43. package/build/translations/tr.js +1 -0
  44. package/build/translations/uk.js +1 -0
  45. package/build/translations/uz.js +1 -0
  46. package/build/translations/vi.js +1 -0
  47. package/build/translations/zh-cn.js +1 -0
  48. package/build/translations/zh.js +1 -0
  49. package/ckeditor5-metadata.json +1 -0
  50. package/lang/translations/uz.po +53 -0
  51. package/package.json +15 -15
  52. package/src/highlightcommand.js +14 -4
  53. package/CHANGELOG.md +0 -154
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
3
3
  * For licensing, see LICENSE.md.
4
4
  */
5
- window.CKEditor5=window.CKEditor5||{},window.CKEditor5.highlight=function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=6)}([function(e,t,i){e.exports=i(2)("./src/core.js")},function(e,t,i){e.exports=i(2)("./src/ui.js")},function(e,t){e.exports=CKEditor5.dll},function(e,t,i){var n=i(4),r=i(5);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};n(r,o);e.exports=r.locals||{}},function(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),u={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(l[d].references++,l[d].updater(u)):l.push({identifier:h,updater:p(u,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 u(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 g(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,f=0;function p(e,t){var i,n,r;if(t.singleton){var o=f++;i=m||(m=s(t)),n=u.bind(null,i,o,!1),r=u.bind(null,i,o,!0)}else i=s(t),n=g.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}}}},function(e,t){e.exports=":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{color:var(--ck-highlight-pen-red);background-color:transparent}.ck-content .pen-green{color:var(--ck-highlight-pen-green);background-color:transparent}"},function(e,t,i){"use strict";i.r(t),i.d(t,"Highlight",(function(){return s})),i.d(t,"HighlightEditing",(function(){return o})),i.d(t,"HighlightUI",(function(){return a}));var n=i(0);class r extends n.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=>{const r=t.schema.getValidRanges(i.getRanges(),"highlight");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?(e.setAttribute("highlight",n,l),e.setSelectionAttribute("highlight",n)):(e.removeAttribute("highlight",l),e.removeSelectionAttribute("highlight"))}else n&&e.setSelectionAttribute("highlight",n)}else for(const t of r)n?e.setAttribute("highlight",n,t):e.removeAttribute("highlight",t)})}}class o extends n.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 t=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}(t)),e.commands.add("highlight",new r(e))}}var l=i(1);i(3);class a extends n.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 e=this.editor.t,t=this.editor.commands.get("highlight");this._addButton("removeHighlight",e("Remove highlight"),n.icons.eraser,null,e=>{e.bind("isEnabled").to(t,"isEnabled")})}_addHighlighterButton(e){const t=this.editor.commands.get("highlight");this._addButton("highlight:"+e.model,e.title,c(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 o=this.editor;o.ui.componentFactory.add(e,e=>{const a=new l.ButtonView(e),c=this.localizedOptionTitles[t]?this.localizedOptionTitles[t]:t;return a.set({label:c,icon:i,tooltip:!0}),a.on("execute",()=>{o.execute("highlight",{value:n}),o.editing.view.focus()}),r(a),a})}_addDropdown(e){const t=this.editor,i=t.t,n=t.ui.componentFactory,r=e[0],o=e.reduce((e,t)=>(e[t.model]=t,e),{});n.add("highlight",a=>{const s=t.commands.get("highlight"),h=Object(l.createDropdown)(a,l.SplitButtonView),d=h.buttonView;d.set({tooltip:i("Highlight"),lastExecuted:r.model,commandValue:r.model,isToggleable:!0}),d.bind("icon").to(s,"value",e=>c(g(e,"type"))),d.bind("color").to(s,"value",e=>g(e,"color")),d.bind("commandValue").to(s,"value",e=>g(e,"model")),d.bind("isOn").to(s,"value",e=>!!e),d.delegate("execute").to(h);const u=e.map(e=>{const t=n.create("highlight:"+e.model);return this.listenTo(t,"execute",()=>h.buttonView.set({lastExecuted:e.model})),t});function g(e,t){const i=e&&e!==d.lastExecuted?e:d.lastExecuted;return o[i][t]}return h.bind("isEnabled").toMany(u,"isEnabled",(...e)=>e.some(e=>e)),u.push(new l.ToolbarSeparatorView),u.push(n.create("removeHighlight")),Object(l.addToolbarToDropdown)(h,u),function(e){e.buttonView.actionView.iconView.bind("fillColor").to(e.buttonView,"color")}(h),h.toolbarView.ariaLabel=i("Text highlight toolbar"),d.on("execute",()=>{t.execute("highlight",{value:d.commandValue}),t.editing.view.focus()}),h})}}function c(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 s extends n.Plugin{static get requires(){return[o,a]}static get pluginName(){return"Highlight"}}}]);
5
+ !function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"Blue marker":"Blue marker","Green marker":"Green marker","Green pen":"Green pen",Highlight:"Highlight","Pink marker":"Pink marker","Red pen":"Red pen","Remove highlight":"Remove highlight","Text highlight toolbar":"Text highlight toolbar","Yellow marker":"Yellow marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),window.CKEditor5=window.CKEditor5||{},window.CKEditor5.highlight=function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=6)}([function(e,t,i){e.exports=i(2)("./src/core.js")},function(e,t,i){e.exports=i(2)("./src/ui.js")},function(e,t){e.exports=CKEditor5.dll},function(e,t,i){var n=i(4),r=i(5);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};n(r,o);e.exports=r.locals||{}},function(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:f(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 f(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}}}},function(e,t){e.exports=":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{color:var(--ck-highlight-pen-red);background-color:transparent}.ck-content .pen-green{color:var(--ck-highlight-pen-green);background-color:transparent}"},function(e,t,i){"use strict";i.r(t),i.d(t,"Highlight",(function(){return s})),i.d(t,"HighlightEditing",(function(){return o})),i.d(t,"HighlightUI",(function(){return a}));var n=i(0);class r extends n.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 o extends n.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 t=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}(t)),e.commands.add("highlight",new r(e))}}var l=i(1);i(3);class a extends n.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 e=this.editor.t,t=this.editor.commands.get("highlight");this._addButton("removeHighlight",e("Remove highlight"),n.icons.eraser,null,e=>{e.bind("isEnabled").to(t,"isEnabled")})}_addHighlighterButton(e){const t=this.editor.commands.get("highlight");this._addButton("highlight:"+e.model,e.title,c(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 o=this.editor;o.ui.componentFactory.add(e,e=>{const a=new l.ButtonView(e),c=this.localizedOptionTitles[t]?this.localizedOptionTitles[t]:t;return a.set({label:c,icon:i,tooltip:!0}),a.on("execute",()=>{o.execute("highlight",{value:n}),o.editing.view.focus()}),r(a),a})}_addDropdown(e){const t=this.editor,i=t.t,n=t.ui.componentFactory,r=e[0],o=e.reduce((e,t)=>(e[t.model]=t,e),{});n.add("highlight",a=>{const s=t.commands.get("highlight"),h=Object(l.createDropdown)(a,l.SplitButtonView),d=h.buttonView;d.set({tooltip:i("Highlight"),lastExecuted:r.model,commandValue:r.model,isToggleable:!0}),d.bind("icon").to(s,"value",e=>c(u(e,"type"))),d.bind("color").to(s,"value",e=>u(e,"color")),d.bind("commandValue").to(s,"value",e=>u(e,"model")),d.bind("isOn").to(s,"value",e=>!!e),d.delegate("execute").to(h);const g=e.map(e=>{const t=n.create("highlight:"+e.model);return this.listenTo(t,"execute",()=>h.buttonView.set({lastExecuted:e.model})),t});function u(e,t){const i=e&&e!==d.lastExecuted?e:d.lastExecuted;return o[i][t]}return h.bind("isEnabled").toMany(g,"isEnabled",(...e)=>e.some(e=>e)),g.push(new l.ToolbarSeparatorView),g.push(n.create("removeHighlight")),Object(l.addToolbarToDropdown)(h,g),function(e){e.buttonView.actionView.iconView.bind("fillColor").to(e.buttonView,"color")}(h),h.toolbarView.ariaLabel=i("Text highlight toolbar"),d.on("execute",()=>{t.execute("highlight",{value:d.commandValue}),t.editing.view.focus()}),h})}}function c(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 s extends n.Plugin{static get requires(){return[o,a]}static get pluginName(){return"Highlight"}}}]);
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ar=e.ar||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"تحديد ازرق","Green marker":"تحديد اخضر","Green pen":"قلم اخضر",Highlight:"تحديد","Pink marker":"تحديد وردي","Red pen":"تحديد احمر","Remove highlight":"إزالة التحديد","Text highlight toolbar":"","Yellow marker":"تحديد اصفر"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(r){const a=r.az=r.az||{};a.dictionary=Object.assign(a.dictionary||{},{"Blue marker":"Mavi marker","Green marker":"Yaşıl marker","Green pen":"Yaşıl qələm",Highlight:"Vurğulamaq","Pink marker":"Çəhrayı marker","Red pen":"Qırmızı qələm","Remove highlight":"Vurgulanı sil","Text highlight toolbar":"Vurğulamaq paneli","Yellow marker":"Sarı marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(r){const a=r.ca=r.ca||{};a.dictionary=Object.assign(a.dictionary||{},{"Blue marker":"Marcador blau","Green marker":"Marcador verd","Green pen":"Bolígraf verd",Highlight:"Destacat","Pink marker":"Marcador rosa","Red pen":"Marcador vermell","Remove highlight":"Esborrar destacat","Text highlight toolbar":"","Yellow marker":"Marcador groc"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const n=e.cs=e.cs||{};n.dictionary=Object.assign(n.dictionary||{},{"Blue marker":"Modrý fix","Green marker":"Zelený fix","Green pen":"Zelené pero",Highlight:"Zvýraznění","Pink marker":"Růžový fix","Red pen":"Červený fix","Remove highlight":"Odstranit zvýraznění","Text highlight toolbar":"Panel nástrojů zvýraznění textu","Yellow marker":"Žlutý fix"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(r){const e=r.da=r.da||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Blå markør","Green marker":"Grøn markør","Green pen":"Grøn pen",Highlight:"Fremhæv","Pink marker":"Lyserød markør","Red pen":"Rød pen","Remove highlight":"Fjern fremhævning","Text highlight toolbar":"Tekstfremhævning værktøjslinje","Yellow marker":"Gul markør"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e["de-ch"]=e["de-ch"]||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Blauer Marker","Green marker":"Grüner Marker","Green pen":"Grüne Schriftfarbe",Highlight:"Texthervorhebung","Pink marker":"Pinker Marker","Red pen":"Rote Schriftfarbe","Remove highlight":"Texthervorhebung entfernen","Text highlight toolbar":"Texthervorhebung Werkzeugleiste","Yellow marker":"Gelber Marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e.de=e.de||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Blauer Marker","Green marker":"Grüner Marker","Green pen":"Grüne Schriftfarbe",Highlight:"Texthervorhebung","Pink marker":"Pinker Marker","Red pen":"Rote Schriftfarbe","Remove highlight":"Texthervorhebung entfernen","Text highlight toolbar":"Text hervorheben Werkzeugleiste","Yellow marker":"Gelber Marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e["en-au"]=e["en-au"]||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Blue marker","Green marker":"Green marker","Green pen":"Green pen",Highlight:"Highlight","Pink marker":"Pink marker","Red pen":"Red pen","Remove highlight":"Remove highlight","Text highlight toolbar":"Text highlight toolbar","Yellow marker":"Yellow marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e["en-gb"]=e["en-gb"]||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Blue marker","Green marker":"Green marker","Green pen":"Green pen",Highlight:"Highlight","Pink marker":"Pink marker","Red pen":"Red pen","Remove highlight":"Remove highlight","Text highlight toolbar":"","Yellow marker":"Yellow marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e.es=e.es||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Marcador azul","Green marker":"Marcador verde","Green pen":"Texto verde",Highlight:"Resaltar","Pink marker":"Marcador rosa","Red pen":"Texto rojo","Remove highlight":"Quitar resaltado","Text highlight toolbar":"Barra de herramientas de resaltado de texto","Yellow marker":"Marcador amarillo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.et=e.et||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Sinine marker","Green marker":"Roheline marker","Green pen":"Roheline pliiats",Highlight:"Tõsta esile","Pink marker":"Roosa marker","Red pen":"Punane pliiats","Remove highlight":"Eemalda esiletõstmine","Text highlight toolbar":"Teksti markeerimise tööriistariba","Yellow marker":"Kollane marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.fa=e.fa||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"نشانگر آبی","Green marker":"نشانگر سبز","Green pen":"قلم سبز",Highlight:"برجسته","Pink marker":"نشانگر صورتی","Red pen":"قلم قرمز","Remove highlight":"حذف برجسته","Text highlight toolbar":"نوارابزار برجستگی متن","Yellow marker":"نشانگر زرد"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.fi=i.fi||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"","Green marker":"","Green pen":"",Highlight:"Korosta","Pink marker":"","Red pen":"","Remove highlight":"Poista korostus","Text highlight toolbar":"","Yellow marker":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(r){const e=r.fr=r.fr||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Marqueur bleu","Green marker":"Marqueur vert","Green pen":"Crayon vert",Highlight:"Surlignage","Pink marker":"Marqueur rose","Red pen":"Crayon rouge","Remove highlight":"Enlever le surlignage","Text highlight toolbar":"Barre d'outils du surlignage","Yellow marker":"Marqueur jaune"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(r){const a=r.gl=r.gl||{};a.dictionary=Object.assign(a.dictionary||{},{"Blue marker":"Marcador azul","Green marker":"Marcador verde","Green pen":"Pluma verde",Highlight:"Resaltado","Pink marker":"Marcador rosa","Red pen":"Pluma vermella","Remove highlight":"Retirar o resaltado","Text highlight toolbar":"Barra de ferramentas para resaltar texto","Yellow marker":"Marcador marelo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.he=e.he||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"סימון כחול","Green marker":"סימון ירוק","Green pen":"עט ירוק",Highlight:"הדגשה","Pink marker":"סימון וורוד","Red pen":"עט אדום","Remove highlight":"הסר הדגשה","Text highlight toolbar":"סרגל הדגשת טקסט","Yellow marker":"סימון צהוב"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.hi=e.hi||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Blue marker","Green marker":"Green marker","Green pen":"Green pen",Highlight:"Highlight","Pink marker":"Pink marker","Red pen":"Red pen","Remove highlight":"Remove highlight","Text highlight toolbar":"Text highlight toolbar","Yellow marker":"Yellow marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e.hr=e.hr||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Plavi marker","Green marker":"Zeleni marker","Green pen":"Zeleno pero",Highlight:"Istakni","Pink marker":"Rozi marker","Red pen":"Crveno pero","Remove highlight":"Ukloni isticanje","Text highlight toolbar":"Traka za isticanje teksta","Yellow marker":"Žuti marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.hu=e.hu||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Kék kiemelő","Green marker":"Zöld kiemelő","Green pen":"Zöld toll",Highlight:"Kiemelés","Pink marker":"Rózsaszín kiemelő","Red pen":"Piros toll","Remove highlight":"Kiemelés eltávolítása","Text highlight toolbar":"Szöveg kiemelés eszköztár","Yellow marker":"Sárga kiemelő"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(a){const e=a.id=a.id||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Marka biru","Green marker":"Marka hijau","Green pen":"Pena hijau",Highlight:"Tanda","Pink marker":"Marka merah jambu","Red pen":"Pena merah","Remove highlight":"Hapus tanda","Text highlight toolbar":"Alat penanda teks","Yellow marker":"Marka kuning"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const n=e.it=e.it||{};n.dictionary=Object.assign(n.dictionary||{},{"Blue marker":"Contrassegno blu","Green marker":"Contrassegno verde","Green pen":"Penna verde",Highlight:"Evidenzia","Pink marker":"Contrassegno rosa","Red pen":"Penna rossa","Remove highlight":"Rimuovi evidenziazione","Text highlight toolbar":"Barra degli strumenti dell'evidenziazione del testo","Yellow marker":"Contrassegno giallo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ja=e.ja||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"青のマーカー","Green marker":"緑のマーカー","Green pen":"緑のペン",Highlight:"ハイライト","Pink marker":"ピンクのマーカー","Red pen":"赤のマーカー","Remove highlight":"ハイライトの削除","Text highlight toolbar":"テキストのハイライト","Yellow marker":"黄色のマーカー"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ko=e.ko||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"파란색 마커","Green marker":"초록색 마커","Green pen":"초록색 펜",Highlight:"강조","Pink marker":"분홍색 마커","Red pen":"빨간색 펜","Remove highlight":"강조 제거","Text highlight toolbar":"글자 강조 툴바","Yellow marker":"노란색 마커"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ku=e.ku||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"نیشانەکەری شین","Green marker":"نیشانەکەری سەوز","Green pen":"پێنووسی سەوز",Highlight:"بەرچاوکردن","Pink marker":"نیشانەکەری پەمەیی","Red pen":"پێنووسی سۆر","Remove highlight":"لابردنی بەرچاوکەر","Text highlight toolbar":"تووڵامرازی نیشانکردنی تێکست","Yellow marker":"نیشانەکەری زەرد"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.lt=i.lt||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Mėlynas žymeklis","Green marker":"Žalias žymeklis","Green pen":"Žalias žymeklis",Highlight:"Pažymėti žymekliu","Pink marker":"Rožinis žymeklis","Red pen":"Raudonas žymeklis","Remove highlight":"Panaikinti pažymėjimą","Text highlight toolbar":"","Yellow marker":"Geltonas žymeklis"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.lv=i.lv||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Zils marķieris","Green marker":"Zaļš marķieris","Green pen":"Zaļa pildspalva",Highlight:"Izcelt","Pink marker":"Rozā marķieris","Red pen":"Sarkana pildspalva","Remove highlight":"Noņemt izcēlumu","Text highlight toolbar":"Teksta izcēluma rīkjosla","Yellow marker":"Dzeltens marķieris"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const n=e.nb=e.nb||{};n.dictionary=Object.assign(n.dictionary||{},{"Blue marker":"Blå uthevingsfarge","Green marker":"Grønn uthevingsfarge","Green pen":"Grønn penn",Highlight:"Utheving","Pink marker":"Rosa uthevingsfarge","Red pen":"Rød penn","Remove highlight":"Fjern uthevingsfarge","Text highlight toolbar":"","Yellow marker":"Gul uthevingsfarge"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ne=e.ne||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"नीलो मार्कर","Green marker":"हरियो मार्कर","Green pen":"हरियो कलम",Highlight:"हाइलाइट","Pink marker":"गुलाबी मार्कर","Red pen":"रातो कलम","Remove highlight":"हाइलाइट हटाउनुहोस्","Text highlight toolbar":"","Yellow marker":"पहेंलो मार्कर"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e.nl=e.nl||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Blauwe marker","Green marker":"Groene marker","Green pen":"Groene pen",Highlight:"Markeren","Pink marker":"Roze marker","Red pen":"Rode pen","Remove highlight":"Verwijder markering","Text highlight toolbar":"Tekst markering werkbalk","Yellow marker":"Gele marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const e=n.no=n.no||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Blå utheving","Green marker":"Grønn utheving","Green pen":"Grønn penn",Highlight:"Utheving","Pink marker":"Rosa utheving","Red pen":"Rød penn","Remove highlight":"Fjern utheving","Text highlight toolbar":"Verktøylinje for tekstutheving","Yellow marker":"Gul utheving"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.pl=e.pl||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Niebieski marker","Green marker":"Zielony marker","Green pen":"Zielony długopis",Highlight:"Podświetlenie","Pink marker":"Różowy marker","Red pen":"Czerwony długopis","Remove highlight":"Usuń podświetlenie","Text highlight toolbar":"Pasek narzędzi podświetleń","Yellow marker":"Żółty marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e["pt-br"]=e["pt-br"]||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Marcador azul","Green marker":"Marcador verde","Green pen":"Caneta verde",Highlight:"Realce","Pink marker":"Marcador rosa","Red pen":"Caneta vermelha","Remove highlight":"Remover realce","Text highlight toolbar":"Ferramentas de realce","Yellow marker":"Marcador amarelo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ro=e.ro||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Evidențiator albastru","Green marker":"Evidențiator verde","Green pen":"Pix verde",Highlight:"Evidențiere text","Pink marker":"Evidențiator roz","Red pen":"Pix roșu","Remove highlight":"Șterge evidențiere text","Text highlight toolbar":"Bară evidențiere text","Yellow marker":"Evidențiator galben"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ru=e.ru||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Выделение синим маркером","Green marker":"Выделение зелёным маркером","Green pen":"Зеленый цвет текста",Highlight:"Выделить","Pink marker":"Выделение розовым маркером","Red pen":"Красный цвет текста","Remove highlight":"Убрать выделение","Text highlight toolbar":"Панель инструментов выделения текста","Yellow marker":"Выделение жёлтым маркером"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e.sk=e.sk||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Modrý zvýrazňovač","Green marker":"Zelený zvýrazňovač","Green pen":"Zelené pero",Highlight:"Zvýraznenie","Pink marker":"Ružový zvýrazňovač","Red pen":"Červené pero","Remove highlight":"Odstrániť zvýraznenie","Text highlight toolbar":"Panel nástrojov zvýraznenia textu","Yellow marker":"Žltý zvýrazňovač"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(a){const n=a.sl=a.sl||{};n.dictionary=Object.assign(n.dictionary||{},{"Blue marker":"Modra oznaka","Green marker":"Zelena oznaka","Green pen":"Zeleno pisalo",Highlight:"Označi","Pink marker":"Rožnata oznaka","Red pen":"Rdeče pisalo","Remove highlight":"Odstrani oznako","Text highlight toolbar":"Orodna vrstica označevanja","Yellow marker":"Rumena oznaka"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.sq=e.sq||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Shënuesi kaltër","Green marker":"Shënuesi gjelbër","Green pen":"Lapsi gjelbër",Highlight:"Ngjyrimi","Pink marker":"Shënuesi rozë","Red pen":"Lapsi kuq","Remove highlight":"Largo ngjyrimet","Text highlight toolbar":"","Yellow marker":"Shënuesi verdh"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const a=e["sr-latn"]=e["sr-latn"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Blue marker":"Plavi marker","Green marker":"Zeleni marker","Green pen":"Zelena olovka",Highlight:"Isticanje","Pink marker":"Roza marker","Red pen":"Crvena olovka","Remove highlight":"Ukloni isticanje","Text highlight toolbar":"Alatke za markiranje teksta","Yellow marker":"Žuti marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.sr=e.sr||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Плави маркер","Green marker":"Зелени маркер","Green pen":"Зелена оловка",Highlight:"Истицање","Pink marker":"Роза маркер","Red pen":"Црвена оловка","Remove highlight":"Уклони истицање","Text highlight toolbar":"Алатке за маркирање текста","Yellow marker":"Жути маркер"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(r){const e=r.sv=r.sv||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Blå markering","Green marker":"Grön markering","Green pen":"Grön penna",Highlight:"Markera","Pink marker":"Rosa markering","Red pen":"Röd penna","Remove highlight":"Ta bort markering","Text highlight toolbar":"","Yellow marker":"Gul markering"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e.tk=e.tk||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Gök marker","Green marker":"Ýaşyl marker","Green pen":"Ýaşyl galam",Highlight:"Bellik","Pink marker":"Gülgüne marker","Red pen":"Gyzyl galam","Remove highlight":"Belligi aýyryň","Text highlight toolbar":"Tekst bellik gurallar paneli","Yellow marker":"Sary marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.tr=e.tr||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Mavi işaretleyici","Green marker":"Yeşil işaretleyici","Green pen":"Yeşik kalem",Highlight:"Vurgu","Pink marker":"Pembe işaretleyici","Red pen":"Kırmızı kalem","Remove highlight":"Vurgulamayı temizle","Text highlight toolbar":"Yazı Vurgulama Araç Çubuğu","Yellow marker":"Sarı işaretleyici"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.uk=e.uk||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Синій маркер","Green marker":"Зелений маркер","Green pen":"Зелений маркер",Highlight:"Виділення","Pink marker":"Рожевий маркер","Red pen":"Червоний маркер","Remove highlight":"Видалити виділення","Text highlight toolbar":"Панель виділення тексту","Yellow marker":"Жовтий маркер"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(a){const i=a.uz=a.uz||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Moviy rang markeri bilan ajratib ko'rsatish","Green marker":"Yashil marker bilan ta'kidlash","Green pen":"Matn rangi yashil",Highlight:"Ajratish","Pink marker":"Pushti rang markeri bilan belgilang","Red pen":"Matn rangi qizil","Remove highlight":"Ajratishni olib tashlash","Text highlight toolbar":"Matn tanlash asboblar paneli","Yellow marker":"Sariq marker bilan ta'kidlash"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const i=n.vi=n.vi||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Bút xanh dương","Green marker":"Bút xanh lá","Green pen":"Mực xanh",Highlight:"Làm nổi","Pink marker":"Bút hồng","Red pen":"Mực đỏ","Remove highlight":"Xóa làm nổi","Text highlight toolbar":"Thanh công cụ làm nổi chữ","Yellow marker":"Bút vàng"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e["zh-cn"]=e["zh-cn"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"蓝色标记","Green marker":"绿色标记","Green pen":"绿色笔",Highlight:"高亮","Pink marker":"粉色标记","Red pen":"红色笔","Remove highlight":"清除高亮","Text highlight toolbar":"文本高亮工具栏","Yellow marker":"黄色标记"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.zh=e.zh||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"藍色標記","Green marker":"綠色標記","Green pen":"綠色筆",Highlight:"高亮","Pink marker":"粉色標記","Red pen":"紅色筆","Remove highlight":"清除高亮","Text highlight toolbar":"高亮","Yellow marker":"黃色標記"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -29,6 +29,7 @@
29
29
  {
30
30
  "elements": "mark",
31
31
  "classes": "*",
32
+ "isAlternative": true,
32
33
  "_comment": "The plugin can be configured to set any classes on the `<mark>` element."
33
34
  }
34
35
  ]
@@ -0,0 +1,53 @@
1
+ # Copyright (c) 2003-2021, CKSource - Frederico Knabben. 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: Uzbek (https://www.transifex.com/ckeditor/teams/11143/uz/)\n"
16
+ "Language: uz\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "Toolbar button tooltip for applying yellow marker (text highlight)."
20
+ msgid "Yellow marker"
21
+ msgstr "Sariq marker bilan ta'kidlash"
22
+
23
+ msgctxt "Toolbar button tooltip for applying green marker (text highlight)."
24
+ msgid "Green marker"
25
+ msgstr "Yashil marker bilan ta'kidlash"
26
+
27
+ msgctxt "Toolbar button tooltip for applying pink marker (text highlight)."
28
+ msgid "Pink marker"
29
+ msgstr "Pushti rang markeri bilan belgilang"
30
+
31
+ msgctxt "Toolbar button tooltip for applying blue marker (text highlight)."
32
+ msgid "Blue marker"
33
+ msgstr "Moviy rang markeri bilan ajratib ko'rsatish"
34
+
35
+ msgctxt "Toolbar button tooltip for applying red pen (text color)."
36
+ msgid "Red pen"
37
+ msgstr "Matn rangi qizil"
38
+
39
+ msgctxt "Toolbar button tooltip for applying green pen (text color)."
40
+ msgid "Green pen"
41
+ msgstr "Matn rangi yashil"
42
+
43
+ msgctxt "Toolbar button tooltip for removing text highlight."
44
+ msgid "Remove highlight"
45
+ msgstr "Ajratishni olib tashlash"
46
+
47
+ msgctxt "Toolbar button tooltip for the text highlight feature."
48
+ msgid "Highlight"
49
+ msgstr "Ajratish"
50
+
51
+ msgctxt "Label used by assistive technologies describing the highlight feature toolbar."
52
+ msgid "Text highlight toolbar"
53
+ msgstr "Matn tanlash asboblar paneli"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-highlight",
3
- "version": "29.1.0",
3
+ "version": "31.1.0",
4
4
  "description": "Highlight feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,22 +12,22 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "^29.1.0"
15
+ "ckeditor5": "^31.1.0"
16
16
  },
17
17
  "devDependencies": {
18
- "@ckeditor/ckeditor5-block-quote": "^29.1.0",
19
- "@ckeditor/ckeditor5-core": "^29.1.0",
20
- "@ckeditor/ckeditor5-dev-utils": "^25.3.0",
21
- "@ckeditor/ckeditor5-editor-classic": "^29.1.0",
22
- "@ckeditor/ckeditor5-engine": "^29.1.0",
23
- "@ckeditor/ckeditor5-enter": "^29.1.0",
24
- "@ckeditor/ckeditor5-heading": "^29.1.0",
25
- "@ckeditor/ckeditor5-image": "^29.1.0",
26
- "@ckeditor/ckeditor5-list": "^29.1.0",
27
- "@ckeditor/ckeditor5-paragraph": "^29.1.0",
28
- "@ckeditor/ckeditor5-theme-lark": "^29.1.0",
29
- "@ckeditor/ckeditor5-typing": "^29.1.0",
30
- "@ckeditor/ckeditor5-utils": "^29.1.0",
18
+ "@ckeditor/ckeditor5-block-quote": "^31.1.0",
19
+ "@ckeditor/ckeditor5-core": "^31.1.0",
20
+ "@ckeditor/ckeditor5-dev-utils": "^26.0.0",
21
+ "@ckeditor/ckeditor5-editor-classic": "^31.1.0",
22
+ "@ckeditor/ckeditor5-engine": "^31.1.0",
23
+ "@ckeditor/ckeditor5-enter": "^31.1.0",
24
+ "@ckeditor/ckeditor5-heading": "^31.1.0",
25
+ "@ckeditor/ckeditor5-image": "^31.1.0",
26
+ "@ckeditor/ckeditor5-list": "^31.1.0",
27
+ "@ckeditor/ckeditor5-paragraph": "^31.1.0",
28
+ "@ckeditor/ckeditor5-theme-lark": "^31.1.0",
29
+ "@ckeditor/ckeditor5-typing": "^31.1.0",
30
+ "@ckeditor/ckeditor5-utils": "^31.1.0",
31
31
  "webpack": "^4.43.0",
32
32
  "webpack-cli": "^3.3.11"
33
33
  },
@@ -57,8 +57,6 @@ export default class HighlightCommand extends Command {
57
57
  const highlighter = options.value;
58
58
 
59
59
  model.change( writer => {
60
- const ranges = model.schema.getValidRanges( selection.getRanges(), 'highlight' );
61
-
62
60
  if ( selection.isCollapsed ) {
63
61
  const position = selection.getFirstPosition();
64
62
 
@@ -77,17 +75,29 @@ export default class HighlightCommand extends Command {
77
75
  // Then depending on current value...
78
76
  if ( !highlighter || this.value === highlighter ) {
79
77
  // ...remove attribute when passing highlighter different then current or executing "eraser".
80
- writer.removeAttribute( 'highlight', highlightRange );
78
+
79
+ // If we're at the end of the highlighted range, we don't want to remove highlight of the range.
80
+ if ( !position.isEqual( highlightEnd ) ) {
81
+ writer.removeAttribute( 'highlight', highlightRange );
82
+ }
83
+
81
84
  writer.removeSelectionAttribute( 'highlight' );
82
85
  } else {
83
86
  // ...update `highlight` value.
84
- writer.setAttribute( 'highlight', highlighter, highlightRange );
87
+
88
+ // If we're at the end of the highlighted range, we don't want to change the highlight of the range.
89
+ if ( !position.isEqual( highlightEnd ) ) {
90
+ writer.setAttribute( 'highlight', highlighter, highlightRange );
91
+ }
92
+
85
93
  writer.setSelectionAttribute( 'highlight', highlighter );
86
94
  }
87
95
  } else if ( highlighter ) {
88
96
  writer.setSelectionAttribute( 'highlight', highlighter );
89
97
  }
90
98
  } else {
99
+ const ranges = model.schema.getValidRanges( selection.getRanges(), 'highlight' );
100
+
91
101
  for ( const range of ranges ) {
92
102
  if ( highlighter ) {
93
103
  writer.setAttribute( 'highlight', highlighter, range );
package/CHANGELOG.md DELETED
@@ -1,154 +0,0 @@
1
- Changelog
2
- =========
3
-
4
- All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
5
-
6
- Changes for the past releases are available below.
7
-
8
- ## [19.0.0](https://github.com/ckeditor/ckeditor5-highlight/compare/v18.0.0...v19.0.0) (2020-04-29)
9
-
10
- ### Other changes
11
-
12
- * Updated translations. ([d38fb8b](https://github.com/ckeditor/ckeditor5-highlight/commit/d38fb8b))
13
-
14
-
15
- ## [18.0.0](https://github.com/ckeditor/ckeditor5-highlight/compare/v17.0.0...v18.0.0) (2020-03-19)
16
-
17
- ### Other changes
18
-
19
- * Updated translations. ([e7398fe](https://github.com/ckeditor/ckeditor5-highlight/commit/e7398fe))
20
-
21
-
22
- ## [17.0.0](https://github.com/ckeditor/ckeditor5-highlight/compare/v16.0.0...v17.0.0) (2020-02-19)
23
-
24
- ### Other changes
25
-
26
- * Updated translations. ([d016764](https://github.com/ckeditor/ckeditor5-highlight/commit/d016764))
27
-
28
-
29
- ## [16.0.0](https://github.com/ckeditor/ckeditor5-highlight/compare/v15.0.0...v16.0.0) (2019-12-04)
30
-
31
- ### Bug fixes
32
-
33
- * Highlight styles should be prefixed with the `.ck-content` class. Closes [ckeditor/ckeditor5#5677](https://github.com/ckeditor/ckeditor5/issues/5677). ([658baa4](https://github.com/ckeditor/ckeditor5-highlight/commit/658baa4))
34
-
35
- ### Other changes
36
-
37
- * Updated translations. ([65c337a](https://github.com/ckeditor/ckeditor5-highlight/commit/65c337a))
38
-
39
-
40
- ## [15.0.0](https://github.com/ckeditor/ckeditor5-highlight/compare/v11.0.5...v15.0.0) (2019-10-23)
41
-
42
- ### Other changes
43
-
44
- * Added `pluginName` property. ([824dcc1](https://github.com/ckeditor/ckeditor5-highlight/commit/824dcc1))
45
- * Updated translations. ([ac64146](https://github.com/ckeditor/ckeditor5-highlight/commit/ac64146)) ([d87a3ee](https://github.com/ckeditor/ckeditor5-highlight/commit/d87a3ee))
46
-
47
-
48
- ## [11.0.5](https://github.com/ckeditor/ckeditor5-highlight/compare/v11.0.4...v11.0.5) (2019-08-26)
49
-
50
- ### Bug fixes
51
-
52
- * The UI buttons should be marked as toggleable for better assistive technologies support (see [ckeditor/ckeditor5#1403](https://github.com/ckeditor/ckeditor5/issues/1403)). ([1645f26](https://github.com/ckeditor/ckeditor5-highlight/commit/1645f26))
53
-
54
- ### Other changes
55
-
56
- * The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([ff24619](https://github.com/ckeditor/ckeditor5-highlight/commit/ff24619))
57
- * The text highlight toolbar should have a proper `aria-label` attribute (see [ckeditor/ckeditor5#1404](https://github.com/ckeditor/ckeditor5/issues/1404)). ([3ee2ea0](https://github.com/ckeditor/ckeditor5-highlight/commit/3ee2ea0))
58
- * Updated translations. ([e0138f6](https://github.com/ckeditor/ckeditor5-highlight/commit/e0138f6))
59
-
60
-
61
- ## [11.0.4](https://github.com/ckeditor/ckeditor5-highlight/compare/v11.0.3...v11.0.4) (2019-07-10)
62
-
63
- Internal changes only (updated dependencies, documentation, etc.).
64
-
65
-
66
- ## [11.0.3](https://github.com/ckeditor/ckeditor5-highlight/compare/v11.0.2...v11.0.3) (2019-07-04)
67
-
68
- Internal changes only (updated dependencies, documentation, etc.).
69
-
70
-
71
- ## [11.0.2](https://github.com/ckeditor/ckeditor5-highlight/compare/v11.0.1...v11.0.2) (2019-06-05)
72
-
73
- ### Other changes
74
-
75
- * Updated translations. ([6128b76](https://github.com/ckeditor/ckeditor5-highlight/commit/6128b76))
76
-
77
-
78
- ## [11.0.1](https://github.com/ckeditor/ckeditor5-highlight/compare/v11.0.0...v11.0.1) (2019-04-10)
79
-
80
- ### Other changes
81
-
82
- * Optimized icons. ([63c9d45](https://github.com/ckeditor/ckeditor5-highlight/commit/63c9d45))
83
- * Updated translations. ([6695a99](https://github.com/ckeditor/ckeditor5-highlight/commit/6695a99))
84
-
85
-
86
- ## [11.0.0](https://github.com/ckeditor/ckeditor5-highlight/compare/v10.0.4...v11.0.0) (2019-02-28)
87
-
88
- ### Other changes
89
-
90
- * Updated translations. ([0a74553](https://github.com/ckeditor/ckeditor5-highlight/commit/0a74553)) ([0b5d7a1](https://github.com/ckeditor/ckeditor5-highlight/commit/0b5d7a1))
91
-
92
- ### BREAKING CHANGES
93
-
94
- * Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c))
95
-
96
-
97
- ## [10.0.4](https://github.com/ckeditor/ckeditor5-highlight/compare/v10.0.3...v10.0.4) (2018-12-05)
98
-
99
- ### Other changes
100
-
101
- * Improved SVG icons size. See [ckeditor/ckeditor5-theme-lark#206](https://github.com/ckeditor/ckeditor5-theme-lark/issues/206). ([70c99a7](https://github.com/ckeditor/ckeditor5-highlight/commit/70c99a7))
102
-
103
-
104
- ## [10.0.3](https://github.com/ckeditor/ckeditor5-highlight/compare/v10.0.2...v10.0.3) (2018-10-08)
105
-
106
- ### Other changes
107
-
108
- * Updated translations. ([01fde3f](https://github.com/ckeditor/ckeditor5-highlight/commit/01fde3f))
109
-
110
-
111
- ## [10.0.2](https://github.com/ckeditor/ckeditor5-highlight/compare/v10.0.1...v10.0.2) (2018-07-18)
112
-
113
- ### Other changes
114
-
115
- * Updated translations. ([a48a8c1](https://github.com/ckeditor/ckeditor5-highlight/commit/a48a8c1))
116
-
117
-
118
- ## [10.0.1](https://github.com/ckeditor/ckeditor5-highlight/compare/v10.0.0...v10.0.1) (2018-06-21)
119
-
120
- ### Other changes
121
-
122
- * Updated translations. ([03f079a](https://github.com/ckeditor/ckeditor5-highlight/commit/03f079a))
123
-
124
-
125
- ## [10.0.0](https://github.com/ckeditor/ckeditor5-highlight/compare/v1.0.0-beta.4...v10.0.0) (2018-04-25)
126
-
127
- ### Other changes
128
-
129
- * Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([a7e3a92](https://github.com/ckeditor/ckeditor5-highlight/commit/a7e3a92))
130
- * Updated translations. ([b11189f](https://github.com/ckeditor/ckeditor5-highlight/commit/b11189f))
131
-
132
- ### BREAKING CHANGES
133
-
134
- * The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
135
-
136
-
137
- ## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-highlight/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018-04-19)
138
-
139
- ### Other changes
140
-
141
- * Updated translations. ([479fe41](https://github.com/ckeditor/ckeditor5-highlight/commit/479fe41))
142
-
143
-
144
- ## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-highlight/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018-04-10)
145
-
146
- Internal changes only (updated dependencies, documentation, etc.).
147
-
148
-
149
- ## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-highlight/compare/v0.0.1...v1.0.0-beta.1) (2018-03-15)
150
-
151
- ### Features
152
-
153
- * Implemented the user interface of the highlight feature. Closes [#3](https://github.com/ckeditor/ckeditor5-highlight/issues/3). Closes [#4](https://github.com/ckeditor/ckeditor5-highlight/issues/4). ([7ddd2ea](https://github.com/ckeditor/ckeditor5-highlight/commit/7ddd2ea))
154
- * Initial implementation of highlight editing. Closes [#1](https://github.com/ckeditor/ckeditor5-highlight/issues/1). ([5c687cf](https://github.com/ckeditor/ckeditor5-highlight/commit/5c687cf))