@ckeditor/ckeditor5-highlight 45.2.1-alpha.10 → 45.2.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/highlight.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/build/highlight.js
CHANGED
@@ -2,4 +2,4 @@
|
|
2
2
|
/*!
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
4
4
|
* For licensing, see LICENSE.md.
|
5
|
-
*/(()=>{var e={21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(i){e.setAttribute(i,t[i])})}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},128:e=>{"use strict";var t={};e.exports=function(e,i){var n=function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},237:e=>{"use strict";e.exports=CKEditor5.dll},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},355:(e,t,i)=>{e.exports=i(237)("./src/icons.js")},591:e=>{"use strict";var t=[];function i(e){for(var i=-1,n=0;n<t.length;n++)if(t[n].identifier===e){i=n;break}return i}function n(e,n){for(var o={},l=[],a=0;a<e.length;a++){var c=e[a],s=n.base?c[0]+n.base:c[0],h=o[s]||0,u="".concat(s," ").concat(h);o[s]=h+1;var g=i(u),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==g)t[g].references++,t[g].updater(d);else{var m=r(d,n);n.byIndex=a,t.splice(a,0,{identifier:u,updater:m,references:1})}l.push(u)}return l}function r(e,t){var i=t.domAPI(t);i.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,r){var o=n(e=e||[],r=r||{});return function(e){e=e||[];for(var l=0;l<o.length;l++){var a=i(o[l]);t[a].references--}for(var c=n(e,r),s=0;s<o.length;s++){var h=i(o[s]);0===t[h].references&&(t[h].updater(),t.splice(h,1))}o=c}}},639:e=>{"use strict";var t,i=(t=[],function(e,i){return t[e]=i,t.filter(Boolean).join("\n")});function n(e,t,n,r){var o;if(n)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var l=void 0!==r.layer;l&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,l&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=i(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,i=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){n(i,t,!1,e)},remove:function(e){n(i,t,!0,e)}}}},758:e=>{"use strict";e.exports=function(e){return e[1]}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},809:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(758),r=i.n(n),o=i(935),l=i.n(o)()(r());l.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 a=l},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i}).join("")},t.i=function(e,i,n,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var l={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(l[c]=!0)}for(var s=0;s<e.length;s++){var h=[].concat(e[s]);n&&l[h[0]]||(void 0!==o&&(void 0===h[5]||(h[1]="@layer".concat(h[5].length>0?" ".concat(h[5]):""," {").concat(h[1],"}")),h[5]=o),i&&(h[2]?(h[1]="@media ".concat(h[2]," {").concat(h[1],"}"),h[2]=i):h[2]=i),r&&(h[4]?(h[1]="@supports (".concat(h[4],") {").concat(h[1],"}"),h[4]=r):h[4]="".concat(r)),t.push(h))}},t}}},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})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Highlight:()=>y,HighlightEditing:()=>r,HighlightUI:()=>b});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"}static get isOfficialPlugin(){return!0}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(355),l=i(311),a=i(591),c=i.n(a),s=i(639),h=i.n(s),u=i(128),g=i.n(u),d=i(21),m=i.n(d),p=i(51),f=i.n(p),v=i(809),k={attributes:{"data-cke":!0}};k.setAttributes=m(),k.insert=g().bind(null,"head"),k.domAPI=h(),k.insertStyleElement=f();c()(v.A,k);v.A&&v.A.locals&&v.A.locals;class b 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"}static get isOfficialPlugin(){return!0}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 e=this.editor.t,t=this.editor.commands.get("highlight");this._addButton("removeHighlight",e("Remove highlight"),o.IconEraser,null,e=>{e.bind("isEnabled").to(t,"isEnabled")})}_addHighlighterButton(e){const t=this.editor.commands.get("highlight");this._addButton("highlight:"+e.model,e.title,w(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 c=t.commands.get("highlight"),s=(0,l.createDropdown)(a,l.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=>w(u(e,"type"))),h.bind("color").to(c,"value",e=>u(e,"color")),h.bind("commandValue").to(c,"value",e=>u(e,"model")),h.bind("isOn").to(c,"value",e=>!!e),h.delegate("execute").to(s);function u(e,t){const i=e&&e!==h.lastExecuted?e:h.lastExecuted;return o[i][t]}return s.bind("isEnabled").to(c,"isEnabled"),(0,l.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 l.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(e){const t=this.editor,i=t.t,n=t.commands.get("highlight");t.ui.componentFactory.add("menuBar:highlight",r=>{const a=new l.MenuBarMenuView(r);a.buttonView.set({label:i("Highlight"),icon:w("marker")}),a.bind("isEnabled").to(n),a.buttonView.iconView.fillColor="transparent";const c=new l.MenuBarMenuListView(r);for(const i of e){const e=new l.MenuBarMenuListItemView(r,a),o=new l.MenuBarMenuListItemButtonView(r);o.set({label:i.title,icon:w(i.type),role:"menuitemradio",isToggleable:!0}),o.iconView.fillColor=i.color,o.delegate("execute").to(a),o.bind("isOn").to(n,"value",e=>e===i.model),o.on("execute",()=>{t.execute("highlight",{value:i.model}),t.editing.view.focus()}),e.children.add(o),c.items.add(e)}c.items.add(new l.ListSeparatorView(r));const s=new l.MenuBarMenuListItemView(r,a),h=new l.MenuBarMenuListItemButtonView(r);return h.set({label:i("Remove highlight"),icon:o.IconEraser}),h.delegate("execute").to(a),h.on("execute",()=>{t.execute("highlight",{value:null}),t.editing.view.focus()}),s.children.add(h),c.items.add(s),a.panelView.children.add(c),a})}}function w(e){return"marker"===e?o.IconMarker:o.IconPen}class y extends e.Plugin{static get requires(){return[r,b]}static get pluginName(){return"Highlight"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).highlight=n})();
|
5
|
+
*/(()=>{var e={21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(i){e.setAttribute(i,t[i])}))}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},128:e=>{"use strict";var t={};e.exports=function(e,i){var n=function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},237:e=>{"use strict";e.exports=CKEditor5.dll},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},355:(e,t,i)=>{e.exports=i(237)("./src/icons.js")},591:e=>{"use strict";var t=[];function i(e){for(var i=-1,n=0;n<t.length;n++)if(t[n].identifier===e){i=n;break}return i}function n(e,n){for(var o={},l=[],a=0;a<e.length;a++){var c=e[a],s=n.base?c[0]+n.base:c[0],h=o[s]||0,u="".concat(s," ").concat(h);o[s]=h+1;var g=i(u),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==g)t[g].references++,t[g].updater(d);else{var m=r(d,n);n.byIndex=a,t.splice(a,0,{identifier:u,updater:m,references:1})}l.push(u)}return l}function r(e,t){var i=t.domAPI(t);i.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,r){var o=n(e=e||[],r=r||{});return function(e){e=e||[];for(var l=0;l<o.length;l++){var a=i(o[l]);t[a].references--}for(var c=n(e,r),s=0;s<o.length;s++){var h=i(o[s]);0===t[h].references&&(t[h].updater(),t.splice(h,1))}o=c}}},639:e=>{"use strict";var t,i=(t=[],function(e,i){return t[e]=i,t.filter(Boolean).join("\n")});function n(e,t,n,r){var o;if(n)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var l=void 0!==r.layer;l&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,l&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=i(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,i=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){n(i,t,!1,e)},remove:function(e){n(i,t,!0,e)}}}},758:e=>{"use strict";e.exports=function(e){return e[1]}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},809:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(758),r=i.n(n),o=i(935),l=i.n(o)()(r());l.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 a=l},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i})).join("")},t.i=function(e,i,n,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var l={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(l[c]=!0)}for(var s=0;s<e.length;s++){var h=[].concat(e[s]);n&&l[h[0]]||(void 0!==o&&(void 0===h[5]||(h[1]="@layer".concat(h[5].length>0?" ".concat(h[5]):""," {").concat(h[1],"}")),h[5]=o),i&&(h[2]?(h[1]="@media ".concat(h[2]," {").concat(h[1],"}"),h[2]=i):h[2]=i),r&&(h[4]?(h[1]="@supports (".concat(h[4],") {").concat(h[1],"}"),h[4]=r):h[4]="".concat(r)),t.push(h))}},t}}},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})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Highlight:()=>y,HighlightEditing:()=>r,HighlightUI:()=>b});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"}static get isOfficialPlugin(){return!0}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(355),l=i(311),a=i(591),c=i.n(a),s=i(639),h=i.n(s),u=i(128),g=i.n(u),d=i(21),m=i.n(d),p=i(51),f=i.n(p),v=i(809),k={attributes:{"data-cke":!0}};k.setAttributes=m(),k.insert=g().bind(null,"head"),k.domAPI=h(),k.insertStyleElement=f();c()(v.A,k);v.A&&v.A.locals&&v.A.locals;class b 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"}static get isOfficialPlugin(){return!0}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 e=this.editor.t,t=this.editor.commands.get("highlight");this._addButton("removeHighlight",e("Remove highlight"),o.IconEraser,null,(e=>{e.bind("isEnabled").to(t,"isEnabled")}))}_addHighlighterButton(e){const t=this.editor.commands.get("highlight");this._addButton("highlight:"+e.model,e.title,w(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 c=t.commands.get("highlight"),s=(0,l.createDropdown)(a,l.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=>w(u(e,"type")))),h.bind("color").to(c,"value",(e=>u(e,"color"))),h.bind("commandValue").to(c,"value",(e=>u(e,"model"))),h.bind("isOn").to(c,"value",(e=>!!e)),h.delegate("execute").to(s);function u(e,t){const i=e&&e!==h.lastExecuted?e:h.lastExecuted;return o[i][t]}return s.bind("isEnabled").to(c,"isEnabled"),(0,l.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 l.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(e){const t=this.editor,i=t.t,n=t.commands.get("highlight");t.ui.componentFactory.add("menuBar:highlight",(r=>{const a=new l.MenuBarMenuView(r);a.buttonView.set({label:i("Highlight"),icon:w("marker")}),a.bind("isEnabled").to(n),a.buttonView.iconView.fillColor="transparent";const c=new l.MenuBarMenuListView(r);for(const i of e){const e=new l.MenuBarMenuListItemView(r,a),o=new l.MenuBarMenuListItemButtonView(r);o.set({label:i.title,icon:w(i.type),role:"menuitemradio",isToggleable:!0}),o.iconView.fillColor=i.color,o.delegate("execute").to(a),o.bind("isOn").to(n,"value",(e=>e===i.model)),o.on("execute",(()=>{t.execute("highlight",{value:i.model}),t.editing.view.focus()})),e.children.add(o),c.items.add(e)}c.items.add(new l.ListSeparatorView(r));const s=new l.MenuBarMenuListItemView(r,a),h=new l.MenuBarMenuListItemButtonView(r);return h.set({label:i("Remove highlight"),icon:o.IconEraser}),h.delegate("execute").to(a),h.on("execute",(()=>{t.execute("highlight",{value:null}),t.editing.view.focus()})),s.children.add(h),c.items.add(s),a.panelView.children.add(c),a}))}}function w(e){return"marker"===e?o.IconMarker:o.IconPen}class y extends e.Plugin{static get requires(){return[r,b]}static get pluginName(){return"Highlight"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).highlight=n})();
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.js","../src/highlightcommand.ts","../src/highlightediting.ts","../src/highlightui.ts","../src/highlight.ts"],"names":["HighlightCommand","Command","refresh","model","editor","doc","document","value","selection","getAttribute","isEnabled","schema","checkAttributeInSelection","execute","options","highlighter","change","writer","isCollapsed","position","getFirstPosition","hasAttribute","isSameHighlight","item","highlightStart","getLastMatchingPosition","direction","highlightEnd","highlightRange","createRange","isEqual","removeAttribute","removeSelectionAttribute","setAttribute","setSelectionAttribute","ranges","getValidRanges","getRanges","range","HighlightEditing","Plugin","pluginName","isOfficialPlugin","config","define","class","title","color","type","init","extend","allowAttributes","get","conversion","attributeToElement","_buildDefinition","commands","add","definition","key","values","view","option","push","name","classes","HighlightUI","localizedOptionTitles","t","_addHighlighterButton","_addRemoveHighlightButton","_addDropdown","_addMenuBarButton","command","_addButton","IconEraser","button","bind","to","getIconForType","decorateHighlightButton","iconView","fillColor","isToggleable","label","icon","decorateButton","ui","componentFactory","locale","buttonView","ButtonView","localized","set","tooltip","on","editing","focus","startingHighlighter","optionsMap","reduce","retVal","dropdownView","createDropdown","SplitButtonView","splitButtonView","lastExecuted","commandValue","getActiveOption","delegate","buttonsCreator","buttons","map","create","listenTo","ToolbarSeparatorView","addToolbarToDropdown","enableActiveItemFocusOnDropdownOpen","ariaLabel","bindToolbarIconStyleToActiveColor","current","whichHighlighter","menuView","MenuBarMenuView","listView","MenuBarMenuListView","listItemView","MenuBarMenuListItemView","MenuBarMenuListItemButtonView","role","children","items","ListSeparatorView","panelView","actionView","IconMarker","IconPen","Highlight","requires"],"mappings":";;;;AAAA,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;AACxE,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;AAC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,CIhbL,MAAA,CAAO;AAAEnG,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,gBAAAA;AAAkB2B,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA;AAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACzC,CAAA,CAAA,CAAA,CAAA;AAEA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AJmbD,CAAC,CAAC,CAAC,CAAC,CAAC;AIjbH,CAAA,CAAA,CAAA,CAAA,CACD,MAAA,CAAA,GAAA,CAAkBzB,UAAAA,CAAAA,CAAAA,CAAa;AJkbhC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CIjbL,MAAA,CAAO,CAAA,SAAA,CAAA;AACR,CAAA,CAAA,CAAA,CAAA;AAEA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AJibD,CAAC,CAAC,CAAC,CAAC,CAAC;AI/aH,CAAA,CAAA,CAAA,CAAA,CACD,MAAA,CAAA,GAAA,CAA2BC,gBAAAA,CAAAA,CAAAA,CAAyB;AJgbrD,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CI/aL,MAAA,CAAO,IAAA;AACR,CAAA,CAAA,CAAA,CAAA;AACD;;AJibA,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,gBAAgB,CAAC,CAAC,WAAW,CAAC,CAAC;AACnD,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,CAAC","file":"index.js.map","sourcesContent":["import { Command, Plugin } from '@ckeditor/ckeditor5-core/dist/index.js';\nimport { IconEraser, IconMarker, IconPen } from '@ckeditor/ckeditor5-icons/dist/index.js';\nimport { ButtonView, createDropdown, SplitButtonView, addToolbarToDropdown, MenuBarMenuView, MenuBarMenuListView, MenuBarMenuListItemView, MenuBarMenuListItemButtonView, ListSeparatorView, ToolbarSeparatorView } from '@ckeditor/ckeditor5-ui/dist/index.js';\n\n/**\n * The highlight command. It is used by the {@link module:highlight/highlightediting~HighlightEditing highlight feature}\n * to apply the text highlighting.\n *\n * ```ts\n * editor.execute( 'highlight', { value: 'greenMarker' } );\n * ```\n *\n * **Note**: Executing the command without a value removes the attribute from the model. If the selection is collapsed\n * inside a text with the highlight attribute, the command will remove the attribute from the entire range\n * of that text.\n */ class HighlightCommand extends Command {\n /**\n\t * @inheritDoc\n\t */ refresh() {\n const model = this.editor.model;\n const doc = model.document;\n this.value = doc.selection.getAttribute('highlight');\n this.isEnabled = model.schema.checkAttributeInSelection(doc.selection, 'highlight');\n }\n /**\n\t * Executes the command.\n\t *\n\t * @param options Options for the executed command.\n\t * @param options.value The value to apply.\n\t *\n\t * @fires execute\n\t */ execute(options = {}) {\n const model = this.editor.model;\n const document = model.document;\n const selection = document.selection;\n const highlighter = options.value;\n model.change((writer)=>{\n if (selection.isCollapsed) {\n const position = selection.getFirstPosition();\n // When selection is inside text with `highlight` attribute.\n if (selection.hasAttribute('highlight')) {\n // Find the full highlighted range.\n const isSameHighlight = (value)=>{\n return value.item.hasAttribute('highlight') && value.item.getAttribute('highlight') === this.value;\n };\n const highlightStart = position.getLastMatchingPosition(isSameHighlight, {\n direction: 'backward'\n });\n const highlightEnd = position.getLastMatchingPosition(isSameHighlight);\n const highlightRange = writer.createRange(highlightStart, highlightEnd);\n // Then depending on current value...\n if (!highlighter || this.value === highlighter) {\n // ...remove attribute when passing highlighter different then current or executing \"eraser\".\n // If we're at the end of the highlighted range, we don't want to remove highlight of the range.\n if (!position.isEqual(highlightEnd)) {\n writer.removeAttribute('highlight', highlightRange);\n }\n writer.removeSelectionAttribute('highlight');\n } else {\n // ...update `highlight` value.\n // If we're at the end of the highlighted range, we don't want to change the highlight of the range.\n if (!position.isEqual(highlightEnd)) {\n writer.setAttribute('highlight', highlighter, highlightRange);\n }\n writer.setSelectionAttribute('highlight', highlighter);\n }\n } else if (highlighter) {\n writer.setSelectionAttribute('highlight', highlighter);\n }\n } else {\n const ranges = model.schema.getValidRanges(selection.getRanges(), 'highlight');\n for (const range of ranges){\n if (highlighter) {\n writer.setAttribute('highlight', highlighter, range);\n } else {\n writer.removeAttribute('highlight', range);\n }\n }\n }\n });\n }\n}\n\n/**\n * The highlight editing feature. It introduces the {@link module:highlight/highlightcommand~HighlightCommand command} and the `highlight`\n * attribute in the {@link module:engine/model/model~Model model} which renders in the {@link module:engine/view/view view}\n * as a `<mark>` element with a `class` attribute (`<mark class=\"marker-green\">...</mark>`) depending\n * on the {@link module:highlight/highlightconfig~HighlightConfig configuration}.\n */ class HighlightEditing extends Plugin {\n /**\n\t * @inheritDoc\n\t */ static get pluginName() {\n return 'HighlightEditing';\n }\n /**\n\t * @inheritDoc\n\t */ static get isOfficialPlugin() {\n return true;\n }\n /**\n\t * @inheritDoc\n\t */ constructor(editor){\n super(editor);\n editor.config.define('highlight', {\n options: [\n {\n model: 'yellowMarker',\n class: 'marker-yellow',\n title: 'Yellow marker',\n color: 'var(--ck-highlight-marker-yellow)',\n type: 'marker'\n },\n {\n model: 'greenMarker',\n class: 'marker-green',\n title: 'Green marker',\n color: 'var(--ck-highlight-marker-green)',\n type: 'marker'\n },\n {\n model: 'pinkMarker',\n class: 'marker-pink',\n title: 'Pink marker',\n color: 'var(--ck-highlight-marker-pink)',\n type: 'marker'\n },\n {\n model: 'blueMarker',\n class: 'marker-blue',\n title: 'Blue marker',\n color: 'var(--ck-highlight-marker-blue)',\n type: 'marker'\n },\n {\n model: 'redPen',\n class: 'pen-red',\n title: 'Red pen',\n color: 'var(--ck-highlight-pen-red)',\n type: 'pen'\n },\n {\n model: 'greenPen',\n class: 'pen-green',\n title: 'Green pen',\n color: 'var(--ck-highlight-pen-green)',\n type: 'pen'\n }\n ]\n });\n }\n /**\n\t * @inheritDoc\n\t */ init() {\n const editor = this.editor;\n // Allow highlight attribute on text nodes.\n editor.model.schema.extend('$text', {\n allowAttributes: 'highlight'\n });\n const options = editor.config.get('highlight.options');\n // Set-up the two-way conversion.\n editor.conversion.attributeToElement(_buildDefinition(options));\n editor.commands.add('highlight', new HighlightCommand(editor));\n }\n}\n/**\n * Converts the options array to a converter definition.\n *\n * @param options An array with configured options.\n */ function _buildDefinition(options) {\n const definition = {\n model: {\n key: 'highlight',\n values: []\n },\n view: {}\n };\n for (const option of options){\n definition.model.values.push(option.model);\n definition.view[option.model] = {\n name: 'mark',\n classes: option.class\n };\n }\n return definition;\n}\n\n/**\n * The default highlight UI plugin. It introduces:\n *\n * * The `'highlight'` dropdown,\n * * The `'removeHighlight'` and `'highlight:*'` buttons.\n *\n * The default configuration includes the following buttons:\n *\n * * `'highlight:yellowMarker'`\n * * `'highlight:greenMarker'`\n * * `'highlight:pinkMarker'`\n * * `'highlight:blueMarker'`\n * * `'highlight:redPen'`\n * * `'highlight:greenPen'`\n *\n * See the {@link module:highlight/highlightconfig~HighlightConfig#options configuration} to learn more\n * about the defaults.\n */ class HighlightUI extends Plugin {\n /**\n\t * Returns the localized option titles provided by the plugin.\n\t *\n\t * The following localized titles corresponding with default\n\t * {@link module:highlight/highlightconfig~HighlightConfig#options} are available:\n\t *\n\t * * `'Yellow marker'`,\n\t * * `'Green marker'`,\n\t * * `'Pink marker'`,\n\t * * `'Blue marker'`,\n\t * * `'Red pen'`,\n\t * * `'Green pen'`.\n\t */ get localizedOptionTitles() {\n const t = this.editor.t;\n return {\n 'Yellow marker': t('Yellow marker'),\n 'Green marker': t('Green marker'),\n 'Pink marker': t('Pink marker'),\n 'Blue marker': t('Blue marker'),\n 'Red pen': t('Red pen'),\n 'Green pen': t('Green pen')\n };\n }\n /**\n\t * @inheritDoc\n\t */ static get pluginName() {\n return 'HighlightUI';\n }\n /**\n\t * @inheritDoc\n\t */ static get isOfficialPlugin() {\n return true;\n }\n /**\n\t * @inheritDoc\n\t */ init() {\n const options = this.editor.config.get('highlight.options');\n for (const option of options){\n this._addHighlighterButton(option);\n }\n this._addRemoveHighlightButton();\n this._addDropdown(options);\n this._addMenuBarButton(options);\n }\n /**\n\t * Creates the \"Remove highlight\" button.\n\t */ _addRemoveHighlightButton() {\n const t = this.editor.t;\n const command = this.editor.commands.get('highlight');\n this._addButton('removeHighlight', t('Remove highlight'), IconEraser, null, (button)=>{\n button.bind('isEnabled').to(command, 'isEnabled');\n });\n }\n /**\n\t * Creates a toolbar button from the provided highlight option.\n\t */ _addHighlighterButton(option) {\n const command = this.editor.commands.get('highlight');\n // TODO: change naming\n this._addButton('highlight:' + option.model, option.title, getIconForType(option.type), option.model, decorateHighlightButton);\n function decorateHighlightButton(button) {\n button.bind('isEnabled').to(command, 'isEnabled');\n button.bind('isOn').to(command, 'value', (value)=>value === option.model);\n button.iconView.fillColor = option.color;\n button.isToggleable = true;\n }\n }\n /**\n\t * Internal method for creating highlight buttons.\n\t *\n\t * @param name The name of the button.\n\t * @param label The label for the button.\n\t * @param icon The button icon.\n\t * @param value The `value` property passed to the executed command.\n\t * @param decorateButton A callback getting ButtonView instance so that it can be further customized.\n\t */ _addButton(name, label, icon, value, decorateButton) {\n const editor = this.editor;\n editor.ui.componentFactory.add(name, (locale)=>{\n const buttonView = new ButtonView(locale);\n const localized = this.localizedOptionTitles[label] ? this.localizedOptionTitles[label] : label;\n buttonView.set({\n label: localized,\n icon,\n tooltip: true\n });\n buttonView.on('execute', ()=>{\n editor.execute('highlight', {\n value\n });\n editor.editing.view.focus();\n });\n // Add additional behavior for buttonView.\n decorateButton(buttonView);\n return buttonView;\n });\n }\n /**\n\t * Creates the split button dropdown UI from the provided highlight options.\n\t */ _addDropdown(options) {\n const editor = this.editor;\n const t = editor.t;\n const componentFactory = editor.ui.componentFactory;\n const startingHighlighter = options[0];\n const optionsMap = options.reduce((retVal, option)=>{\n retVal[option.model] = option;\n return retVal;\n }, {});\n componentFactory.add('highlight', (locale)=>{\n const command = editor.commands.get('highlight');\n const dropdownView = createDropdown(locale, SplitButtonView);\n const splitButtonView = dropdownView.buttonView;\n splitButtonView.set({\n label: t('Highlight'),\n tooltip: true,\n // Holds last executed highlighter.\n lastExecuted: startingHighlighter.model,\n // Holds current highlighter to execute (might be different then last used).\n commandValue: startingHighlighter.model,\n isToggleable: true\n });\n // Dropdown button changes to selection (command.value):\n // - If selection is in highlight it get active highlight appearance (icon, color) and is activated.\n // - Otherwise it gets appearance (icon, color) of last executed highlight.\n splitButtonView.bind('icon').to(command, 'value', (value)=>getIconForType(getActiveOption(value, 'type')));\n splitButtonView.bind('color').to(command, 'value', (value)=>getActiveOption(value, 'color'));\n splitButtonView.bind('commandValue').to(command, 'value', (value)=>getActiveOption(value, 'model'));\n splitButtonView.bind('isOn').to(command, 'value', (value)=>!!value);\n splitButtonView.delegate('execute').to(dropdownView);\n // Create buttons array.\n const buttonsCreator = ()=>{\n const buttons = options.map((option)=>{\n // Get existing highlighter button.\n const buttonView = componentFactory.create('highlight:' + option.model);\n // Update lastExecutedHighlight on execute.\n this.listenTo(buttonView, 'execute', ()=>{\n dropdownView.buttonView.set({\n lastExecuted: option.model\n });\n });\n return buttonView;\n });\n // Add separator and eraser buttons to dropdown.\n buttons.push(new ToolbarSeparatorView());\n buttons.push(componentFactory.create('removeHighlight'));\n return buttons;\n };\n // Make toolbar button enabled when any button in dropdown is enabled before adding separator and eraser.\n dropdownView.bind('isEnabled').to(command, 'isEnabled');\n addToolbarToDropdown(dropdownView, buttonsCreator, {\n enableActiveItemFocusOnDropdownOpen: true,\n ariaLabel: t('Text highlight toolbar')\n });\n bindToolbarIconStyleToActiveColor(dropdownView);\n // Execute current action from dropdown's split button action button.\n splitButtonView.on('execute', ()=>{\n editor.execute('highlight', {\n value: splitButtonView.commandValue\n });\n });\n // Focus the editable after executing the command.\n // It overrides a default behaviour where the focus is moved to the dropdown button (#12125).\n this.listenTo(dropdownView, 'execute', ()=>{\n editor.editing.view.focus();\n });\n /**\n\t\t\t * Returns active highlighter option depending on current command value.\n\t\t\t * If current is not set or it is the same as last execute this method will return the option key (like icon or color)\n\t\t\t * of last executed highlighter. Otherwise it will return option key for current one.\n\t\t\t */ function getActiveOption(current, key) {\n const whichHighlighter = !current || current === splitButtonView.lastExecuted ? splitButtonView.lastExecuted : current;\n return optionsMap[whichHighlighter][key];\n }\n return dropdownView;\n });\n }\n /**\n\t * Creates the menu bar button for highlight including submenu with available options.\n\t */ _addMenuBarButton(options) {\n const editor = this.editor;\n const t = editor.t;\n const command = editor.commands.get('highlight');\n editor.ui.componentFactory.add('menuBar:highlight', (locale)=>{\n const menuView = new MenuBarMenuView(locale);\n menuView.buttonView.set({\n label: t('Highlight'),\n icon: getIconForType('marker')\n });\n menuView.bind('isEnabled').to(command);\n menuView.buttonView.iconView.fillColor = 'transparent';\n const listView = new MenuBarMenuListView(locale);\n for (const option of options){\n const listItemView = new MenuBarMenuListItemView(locale, menuView);\n const buttonView = new MenuBarMenuListItemButtonView(locale);\n buttonView.set({\n label: option.title,\n icon: getIconForType(option.type),\n role: 'menuitemradio',\n isToggleable: true\n });\n buttonView.iconView.fillColor = option.color;\n buttonView.delegate('execute').to(menuView);\n buttonView.bind('isOn').to(command, 'value', (value)=>value === option.model);\n buttonView.on('execute', ()=>{\n editor.execute('highlight', {\n value: option.model\n });\n editor.editing.view.focus();\n });\n listItemView.children.add(buttonView);\n listView.items.add(listItemView);\n }\n // Add remove highlight button\n listView.items.add(new ListSeparatorView(locale));\n const listItemView = new MenuBarMenuListItemView(locale, menuView);\n const buttonView = new MenuBarMenuListItemButtonView(locale);\n buttonView.set({\n label: t('Remove highlight'),\n icon: IconEraser\n });\n buttonView.delegate('execute').to(menuView);\n buttonView.on('execute', ()=>{\n editor.execute('highlight', {\n value: null\n });\n editor.editing.view.focus();\n });\n listItemView.children.add(buttonView);\n listView.items.add(listItemView);\n menuView.panelView.children.add(listView);\n return menuView;\n });\n }\n}\n/**\n * Extends split button icon style to reflect last used button style.\n */ function bindToolbarIconStyleToActiveColor(dropdownView) {\n const actionView = dropdownView.buttonView.actionView;\n actionView.iconView.bind('fillColor').to(dropdownView.buttonView, 'color');\n}\n/**\n * Returns icon for given highlighter type.\n */ function getIconForType(type) {\n return type === 'marker' ? IconMarker : IconPen;\n}\n\n/**\n * The highlight plugin.\n *\n * For a detailed overview, check the {@glink features/highlight Highlight feature} documentation.\n *\n * This is a \"glue\" plugin which loads the {@link module:highlight/highlightediting~HighlightEditing} and\n * {@link module:highlight/highlightui~HighlightUI} plugins.\n */ class Highlight extends Plugin {\n /**\n\t * @inheritDoc\n\t */ static get requires() {\n return [\n HighlightEditing,\n HighlightUI\n ];\n }\n /**\n\t * @inheritDoc\n\t */ static get pluginName() {\n return 'Highlight';\n }\n /**\n\t * @inheritDoc\n\t */ static get isOfficialPlugin() {\n return true;\n }\n}\n\nexport { Highlight, HighlightEditing, HighlightUI };\n//# sourceMappingURL=index.js.map\n","/**\n * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module highlight/highlightcommand\n */\n\nimport { Command } from 'ckeditor5/src/core.js';\nimport type { TreeWalkerValue } from 'ckeditor5/src/engine.js';\n\n/**\n * The highlight command. It is used by the {@link module:highlight/highlightediting~HighlightEditing highlight feature}\n * to apply the text highlighting.\n *\n * ```ts\n * editor.execute( 'highlight', { value: 'greenMarker' } );\n * ```\n *\n * **Note**: Executing the command without a value removes the attribute from the model. If the selection is collapsed\n * inside a text with the highlight attribute, the command will remove the attribute from the entire range\n * of that text.\n */\nexport default class HighlightCommand extends Command {\n\t/**\n\t * A value indicating whether the command is active. If the selection has some highlight attribute,\n\t * it corresponds to the value of that attribute.\n\t *\n\t * @observable\n\t * @readonly\n\t */\n\tdeclare public value: string | undefined;\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic override refresh(): void {\n\t\tconst model = this.editor.model;\n\t\tconst doc = model.document;\n\n\t\tthis.value = doc.selection.getAttribute( 'highlight' ) as string | undefined;\n\t\tthis.isEnabled = model.schema.checkAttributeInSelection( doc.selection, 'highlight' );\n\t}\n\n\t/**\n\t * Executes the command.\n\t *\n\t * @param options Options for the executed command.\n\t * @param options.value The value to apply.\n\t *\n\t * @fires execute\n\t */\n\tpublic override execute( options: { value?: string | null } = {} ): void {\n\t\tconst model = this.editor.model;\n\t\tconst document = model.document;\n\t\tconst selection = document.selection;\n\n\t\tconst highlighter = options.value;\n\n\t\tmodel.change( writer => {\n\t\t\tif ( selection.isCollapsed ) {\n\t\t\t\tconst position = selection.getFirstPosition()!;\n\n\t\t\t\t// When selection is inside text with `highlight` attribute.\n\t\t\t\tif ( selection.hasAttribute( 'highlight' ) ) {\n\t\t\t\t\t// Find the full highlighted range.\n\t\t\t\t\tconst isSameHighlight = ( value: TreeWalkerValue ) => {\n\t\t\t\t\t\treturn value.item.hasAttribute( 'highlight' ) && value.item.getAttribute( 'highlight' ) === this.value;\n\t\t\t\t\t};\n\n\t\t\t\t\tconst highlightStart = position.getLastMatchingPosition( isSameHighlight, { direction: 'backward' } );\n\t\t\t\t\tconst highlightEnd = position.getLastMatchingPosition( isSameHighlight );\n\n\t\t\t\t\tconst highlightRange = writer.createRange( highlightStart, highlightEnd );\n\n\t\t\t\t\t// Then depending on current value...\n\t\t\t\t\tif ( !highlighter || this.value === highlighter ) {\n\t\t\t\t\t\t// ...remove attribute when passing highlighter different then current or executing \"eraser\".\n\n\t\t\t\t\t\t// If we're at the end of the highlighted range, we don't want to remove highlight of the range.\n\t\t\t\t\t\tif ( !position.isEqual( highlightEnd ) ) {\n\t\t\t\t\t\t\twriter.removeAttribute( 'highlight', highlightRange );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\twriter.removeSelectionAttribute( 'highlight' );\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// ...update `highlight` value.\n\n\t\t\t\t\t\t// If we're at the end of the highlighted range, we don't want to change the highlight of the range.\n\t\t\t\t\t\tif ( !position.isEqual( highlightEnd ) ) {\n\t\t\t\t\t\t\twriter.setAttribute( 'highlight', highlighter, highlightRange );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\twriter.setSelectionAttribute( 'highlight', highlighter );\n\t\t\t\t\t}\n\t\t\t\t} else if ( highlighter ) {\n\t\t\t\t\twriter.setSelectionAttribute( 'highlight', highlighter );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst ranges = model.schema.getValidRanges( selection.getRanges(), 'highlight' );\n\n\t\t\t\tfor ( const range of ranges ) {\n\t\t\t\t\tif ( highlighter ) {\n\t\t\t\t\t\twriter.setAttribute( 'highlight', highlighter, range );\n\t\t\t\t\t} else {\n\t\t\t\t\t\twriter.removeAttribute( 'highlight', range );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module highlight/highlightediting\n */\n\nimport { Plugin, type Editor } from 'ckeditor5/src/core.js';\n\nimport HighlightCommand from './highlightcommand.js';\nimport type { HighlightOption } from './highlightconfig.js';\n\n/**\n * The highlight editing feature. It introduces the {@link module:highlight/highlightcommand~HighlightCommand command} and the `highlight`\n * attribute in the {@link module:engine/model/model~Model model} which renders in the {@link module:engine/view/view view}\n * as a `<mark>` element with a `class` attribute (`<mark class=\"marker-green\">...</mark>`) depending\n * on the {@link module:highlight/highlightconfig~HighlightConfig configuration}.\n */\nexport default class HighlightEditing extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'HighlightEditing' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static override get isOfficialPlugin(): true {\n\t\treturn true;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tconstructor( editor: Editor ) {\n\t\tsuper( editor );\n\n\t\teditor.config.define( 'highlight', {\n\t\t\toptions: [\n\t\t\t\t{\n\t\t\t\t\tmodel: 'yellowMarker',\n\t\t\t\t\tclass: 'marker-yellow',\n\t\t\t\t\ttitle: 'Yellow marker',\n\t\t\t\t\tcolor: 'var(--ck-highlight-marker-yellow)',\n\t\t\t\t\ttype: 'marker'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tmodel: 'greenMarker',\n\t\t\t\t\tclass: 'marker-green',\n\t\t\t\t\ttitle: 'Green marker',\n\t\t\t\t\tcolor: 'var(--ck-highlight-marker-green)',\n\t\t\t\t\ttype: 'marker'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tmodel: 'pinkMarker',\n\t\t\t\t\tclass: 'marker-pink',\n\t\t\t\t\ttitle: 'Pink marker',\n\t\t\t\t\tcolor: 'var(--ck-highlight-marker-pink)',\n\t\t\t\t\ttype: 'marker'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tmodel: 'blueMarker',\n\t\t\t\t\tclass: 'marker-blue',\n\t\t\t\t\ttitle: 'Blue marker',\n\t\t\t\t\tcolor: 'var(--ck-highlight-marker-blue)',\n\t\t\t\t\ttype: 'marker'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tmodel: 'redPen',\n\t\t\t\t\tclass: 'pen-red',\n\t\t\t\t\ttitle: 'Red pen',\n\t\t\t\t\tcolor: 'var(--ck-highlight-pen-red)',\n\t\t\t\t\ttype: 'pen'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tmodel: 'greenPen',\n\t\t\t\t\tclass: 'pen-green',\n\t\t\t\t\ttitle: 'Green pen',\n\t\t\t\t\tcolor: 'var(--ck-highlight-pen-green)',\n\t\t\t\t\ttype: 'pen'\n\t\t\t\t}\n\t\t\t]\n\t\t} );\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic init(): void {\n\t\tconst editor = this.editor;\n\n\t\t// Allow highlight attribute on text nodes.\n\t\teditor.model.schema.extend( '$text', { allowAttributes: 'highlight' } );\n\n\t\tconst options = editor.config.get( 'highlight.options' )!;\n\n\t\t// Set-up the two-way conversion.\n\t\teditor.conversion.attributeToElement( _buildDefinition( options ) );\n\n\t\teditor.commands.add( 'highlight', new HighlightCommand( editor ) );\n\t}\n}\n\n/**\n * Converts the options array to a converter definition.\n *\n * @param options An array with configured options.\n */\nfunction _buildDefinition( options: Array<HighlightOption> ): HighlightConverterDefinition {\n\tconst definition: HighlightConverterDefinition = {\n\t\tmodel: {\n\t\t\tkey: 'highlight',\n\t\t\tvalues: []\n\t\t},\n\t\tview: {}\n\t};\n\n\tfor ( const option of options ) {\n\t\tdefinition.model.values.push( option.model );\n\t\tdefinition.view[ option.model ] = {\n\t\t\tname: 'mark',\n\t\t\tclasses: option.class\n\t\t};\n\t}\n\n\treturn definition;\n}\n\ntype HighlightConverterDefinition = {\n\tmodel: { key: string; values: Array<string> };\n\tview: Record<string, { name: string; classes: string }>;\n};\n","/**\n * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module highlight/highlightui\n */\n\nimport { Plugin } from 'ckeditor5/src/core.js';\nimport { IconEraser, IconMarker, IconPen } from 'ckeditor5/src/icons.js';\nimport {\n\taddToolbarToDropdown,\n\tcreateDropdown,\n\tButtonView,\n\tListSeparatorView,\n\tMenuBarMenuView,\n\tMenuBarMenuListView,\n\tMenuBarMenuListItemView,\n\tMenuBarMenuListItemButtonView,\n\tSplitButtonView,\n\tToolbarSeparatorView,\n\ttype DropdownView\n} from 'ckeditor5/src/ui.js';\n\nimport type { HighlightOption } from './highlightconfig.js';\nimport type HighlightCommand from './highlightcommand.js';\n\nimport './../theme/highlight.css';\n\n/**\n * The default highlight UI plugin. It introduces:\n *\n * * The `'highlight'` dropdown,\n * * The `'removeHighlight'` and `'highlight:*'` buttons.\n *\n * The default configuration includes the following buttons:\n *\n * * `'highlight:yellowMarker'`\n * * `'highlight:greenMarker'`\n * * `'highlight:pinkMarker'`\n * * `'highlight:blueMarker'`\n * * `'highlight:redPen'`\n * * `'highlight:greenPen'`\n *\n * See the {@link module:highlight/highlightconfig~HighlightConfig#options configuration} to learn more\n * about the defaults.\n */\nexport default class HighlightUI extends Plugin {\n\t/**\n\t * Returns the localized option titles provided by the plugin.\n\t *\n\t * The following localized titles corresponding with default\n\t * {@link module:highlight/highlightconfig~HighlightConfig#options} are available:\n\t *\n\t * * `'Yellow marker'`,\n\t * * `'Green marker'`,\n\t * * `'Pink marker'`,\n\t * * `'Blue marker'`,\n\t * * `'Red pen'`,\n\t * * `'Green pen'`.\n\t */\n\tpublic get localizedOptionTitles(): Record<string, string> {\n\t\tconst t = this.editor.t;\n\n\t\treturn {\n\t\t\t'Yellow marker': t( 'Yellow marker' ),\n\t\t\t'Green marker': t( 'Green marker' ),\n\t\t\t'Pink marker': t( 'Pink marker' ),\n\t\t\t'Blue marker': t( 'Blue marker' ),\n\t\t\t'Red pen': t( 'Red pen' ),\n\t\t\t'Green pen': t( 'Green pen' )\n\t\t};\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'HighlightUI' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static override get isOfficialPlugin(): true {\n\t\treturn true;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic init(): void {\n\t\tconst options = this.editor.config.get( 'highlight.options' )!;\n\n\t\tfor ( const option of options ) {\n\t\t\tthis._addHighlighterButton( option );\n\t\t}\n\n\t\tthis._addRemoveHighlightButton();\n\n\t\tthis._addDropdown( options );\n\n\t\tthis._addMenuBarButton( options );\n\t}\n\n\t/**\n\t * Creates the \"Remove highlight\" button.\n\t */\n\tprivate _addRemoveHighlightButton(): void {\n\t\tconst t = this.editor.t;\n\t\tconst command: HighlightCommand = this.editor.commands.get( 'highlight' )!;\n\n\t\tthis._addButton( 'removeHighlight', t( 'Remove highlight' ), IconEraser, null, button => {\n\t\t\tbutton.bind( 'isEnabled' ).to( command, 'isEnabled' );\n\t\t} );\n\t}\n\n\t/**\n\t * Creates a toolbar button from the provided highlight option.\n\t */\n\tprivate _addHighlighterButton( option: HighlightOption ) {\n\t\tconst command: HighlightCommand = this.editor.commands.get( 'highlight' )!;\n\n\t\t// TODO: change naming\n\t\tthis._addButton( 'highlight:' + option.model, option.title, getIconForType( option.type ), option.model, decorateHighlightButton );\n\n\t\tfunction decorateHighlightButton( button: ButtonView ) {\n\t\t\tbutton.bind( 'isEnabled' ).to( command, 'isEnabled' );\n\t\t\tbutton.bind( 'isOn' ).to( command, 'value', value => value === option.model );\n\t\t\tbutton.iconView.fillColor = option.color;\n\t\t\tbutton.isToggleable = true;\n\t\t}\n\t}\n\n\t/**\n\t * Internal method for creating highlight buttons.\n\t *\n\t * @param name The name of the button.\n\t * @param label The label for the button.\n\t * @param icon The button icon.\n\t * @param value The `value` property passed to the executed command.\n\t * @param decorateButton A callback getting ButtonView instance so that it can be further customized.\n\t */\n\tprivate _addButton( name: string, label: string, icon: string, value: string | null, decorateButton: ( button: ButtonView ) => void ) {\n\t\tconst editor = this.editor;\n\n\t\teditor.ui.componentFactory.add( name, locale => {\n\t\t\tconst buttonView = new ButtonView( locale );\n\n\t\t\tconst localized = this.localizedOptionTitles[ label ] ? this.localizedOptionTitles[ label ] : label;\n\n\t\t\tbuttonView.set( {\n\t\t\t\tlabel: localized,\n\t\t\t\ticon,\n\t\t\t\ttooltip: true\n\t\t\t} );\n\n\t\t\tbuttonView.on( 'execute', () => {\n\t\t\t\teditor.execute( 'highlight', { value } );\n\t\t\t\teditor.editing.view.focus();\n\t\t\t} );\n\n\t\t\t// Add additional behavior for buttonView.\n\t\t\tdecorateButton( buttonView );\n\n\t\t\treturn buttonView;\n\t\t} );\n\t}\n\n\t/**\n\t * Creates the split button dropdown UI from the provided highlight options.\n\t */\n\tprivate _addDropdown( options: Array<HighlightOption> ) {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.t;\n\t\tconst componentFactory = editor.ui.componentFactory;\n\n\t\tconst startingHighlighter = options[ 0 ];\n\n\t\tconst optionsMap = options.reduce( ( retVal, option ) => {\n\t\t\tretVal[ option.model ] = option;\n\n\t\t\treturn retVal;\n\t\t}, {} as Record<string, HighlightOption> );\n\n\t\tcomponentFactory.add( 'highlight', locale => {\n\t\t\tconst command: HighlightCommand = editor.commands.get( 'highlight' )!;\n\t\t\tconst dropdownView = createDropdown( locale, SplitButtonView );\n\t\t\tconst splitButtonView = dropdownView.buttonView as HighlightSplitButtonView;\n\n\t\t\tsplitButtonView.set( {\n\t\t\t\tlabel: t( 'Highlight' ),\n\t\t\t\ttooltip: true,\n\t\t\t\t// Holds last executed highlighter.\n\t\t\t\tlastExecuted: startingHighlighter.model,\n\t\t\t\t// Holds current highlighter to execute (might be different then last used).\n\t\t\t\tcommandValue: startingHighlighter.model,\n\t\t\t\tisToggleable: true\n\t\t\t} );\n\n\t\t\t// Dropdown button changes to selection (command.value):\n\t\t\t// - If selection is in highlight it get active highlight appearance (icon, color) and is activated.\n\t\t\t// - Otherwise it gets appearance (icon, color) of last executed highlight.\n\t\t\tsplitButtonView.bind( 'icon' ).to( command, 'value', value => getIconForType( getActiveOption( value, 'type' ) ) );\n\t\t\tsplitButtonView.bind( 'color' ).to( command, 'value', value => getActiveOption( value, 'color' ) );\n\t\t\tsplitButtonView.bind( 'commandValue' ).to( command, 'value', value => getActiveOption( value, 'model' ) );\n\t\t\tsplitButtonView.bind( 'isOn' ).to( command, 'value', value => !!value );\n\n\t\t\tsplitButtonView.delegate( 'execute' ).to( dropdownView );\n\n\t\t\t// Create buttons array.\n\t\t\tconst buttonsCreator = () => {\n\t\t\t\tconst buttons = options.map( option => {\n\t\t\t\t\t// Get existing highlighter button.\n\t\t\t\t\tconst buttonView = componentFactory.create( 'highlight:' + option.model );\n\n\t\t\t\t\t// Update lastExecutedHighlight on execute.\n\t\t\t\t\tthis.listenTo( buttonView, 'execute', () => {\n\t\t\t\t\t\t( dropdownView.buttonView as HighlightSplitButtonView ).set( { lastExecuted: option.model } );\n\t\t\t\t\t} );\n\n\t\t\t\t\treturn buttonView;\n\t\t\t\t} );\n\n\t\t\t\t// Add separator and eraser buttons to dropdown.\n\t\t\t\tbuttons.push( new ToolbarSeparatorView() );\n\t\t\t\tbuttons.push( componentFactory.create( 'removeHighlight' ) );\n\n\t\t\t\treturn buttons;\n\t\t\t};\n\n\t\t\t// Make toolbar button enabled when any button in dropdown is enabled before adding separator and eraser.\n\t\t\tdropdownView.bind( 'isEnabled' ).to( command, 'isEnabled' );\n\n\t\t\taddToolbarToDropdown( dropdownView, buttonsCreator, {\n\t\t\t\tenableActiveItemFocusOnDropdownOpen: true,\n\t\t\t\tariaLabel: t( 'Text highlight toolbar' )\n\t\t\t} );\n\t\t\tbindToolbarIconStyleToActiveColor( dropdownView );\n\n\t\t\t// Execute current action from dropdown's split button action button.\n\t\t\tsplitButtonView.on( 'execute', () => {\n\t\t\t\teditor.execute( 'highlight', { value: splitButtonView.commandValue } );\n\t\t\t} );\n\n\t\t\t// Focus the editable after executing the command.\n\t\t\t// It overrides a default behaviour where the focus is moved to the dropdown button (#12125).\n\t\t\tthis.listenTo( dropdownView, 'execute', () => {\n\t\t\t\teditor.editing.view.focus();\n\t\t\t} );\n\n\t\t\t/**\n\t\t\t * Returns active highlighter option depending on current command value.\n\t\t\t * If current is not set or it is the same as last execute this method will return the option key (like icon or color)\n\t\t\t * of last executed highlighter. Otherwise it will return option key for current one.\n\t\t\t */\n\t\t\tfunction getActiveOption<Key extends keyof HighlightOption>( current: string | undefined, key: Key ): HighlightOption[ Key ] {\n\t\t\t\tconst whichHighlighter = !current ||\n\t\t\t\tcurrent === splitButtonView.lastExecuted ? splitButtonView.lastExecuted : current;\n\n\t\t\t\treturn optionsMap[ whichHighlighter! ][ key ];\n\t\t\t}\n\n\t\t\treturn dropdownView;\n\t\t} );\n\t}\n\n\t/**\n\t * Creates the menu bar button for highlight including submenu with available options.\n\t */\n\tprivate _addMenuBarButton( options: Array<HighlightOption> ) {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.t;\n\t\tconst command: HighlightCommand = editor.commands.get( 'highlight' )!;\n\n\t\teditor.ui.componentFactory.add( 'menuBar:highlight', locale => {\n\t\t\tconst menuView = new MenuBarMenuView( locale );\n\n\t\t\tmenuView.buttonView.set( {\n\t\t\t\tlabel: t( 'Highlight' ),\n\t\t\t\ticon: getIconForType( 'marker' )\n\t\t\t} );\n\t\t\tmenuView.bind( 'isEnabled' ).to( command );\n\t\t\tmenuView.buttonView.iconView.fillColor = 'transparent';\n\n\t\t\tconst listView = new MenuBarMenuListView( locale );\n\n\t\t\tfor ( const option of options ) {\n\t\t\t\tconst listItemView = new MenuBarMenuListItemView( locale, menuView );\n\t\t\t\tconst buttonView = new MenuBarMenuListItemButtonView( locale );\n\n\t\t\t\tbuttonView.set( {\n\t\t\t\t\tlabel: option.title,\n\t\t\t\t\ticon: getIconForType( option.type ),\n\t\t\t\t\trole: 'menuitemradio',\n\t\t\t\t\tisToggleable: true\n\t\t\t\t} );\n\n\t\t\t\tbuttonView.iconView.fillColor = option.color;\n\n\t\t\t\tbuttonView.delegate( 'execute' ).to( menuView );\n\t\t\t\tbuttonView.bind( 'isOn' ).to( command, 'value', value => value === option.model );\n\n\t\t\t\tbuttonView.on( 'execute', () => {\n\t\t\t\t\teditor.execute( 'highlight', { value: option.model } );\n\n\t\t\t\t\teditor.editing.view.focus();\n\t\t\t\t} );\n\n\t\t\t\tlistItemView.children.add( buttonView );\n\t\t\t\tlistView.items.add( listItemView );\n\t\t\t}\n\n\t\t\t// Add remove highlight button\n\t\t\tlistView.items.add( new ListSeparatorView( locale ) );\n\t\t\tconst listItemView = new MenuBarMenuListItemView( locale, menuView );\n\t\t\tconst buttonView = new MenuBarMenuListItemButtonView( locale );\n\n\t\t\tbuttonView.set( {\n\t\t\t\tlabel: t( 'Remove highlight' ),\n\t\t\t\ticon: IconEraser\n\t\t\t} );\n\n\t\t\tbuttonView.delegate( 'execute' ).to( menuView );\n\n\t\t\tbuttonView.on( 'execute', () => {\n\t\t\t\teditor.execute( 'highlight', { value: null } );\n\n\t\t\t\teditor.editing.view.focus();\n\t\t\t} );\n\n\t\t\tlistItemView.children.add( buttonView );\n\t\t\tlistView.items.add( listItemView );\n\n\t\t\tmenuView.panelView.children.add( listView );\n\n\t\t\treturn menuView;\n\t\t} );\n\t}\n}\n\n/**\n * Extends split button icon style to reflect last used button style.\n */\nfunction bindToolbarIconStyleToActiveColor( dropdownView: DropdownView ): void {\n\tconst actionView = ( dropdownView.buttonView as HighlightSplitButtonView ).actionView;\n\n\tactionView.iconView.bind( 'fillColor' ).to( ( dropdownView.buttonView! as HighlightSplitButtonView ), 'color' );\n}\n\n/**\n * Returns icon for given highlighter type.\n */\nfunction getIconForType( type: 'marker' | 'pen' ) {\n\treturn type === 'marker' ? IconMarker : IconPen;\n}\n\ntype HighlightSplitButtonView = SplitButtonView & {\n\tlastExecuted: string;\n\tcommandValue: string;\n\tcolor: string;\n};\n","/**\n * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module highlight/highlight\n */\n\nimport { Plugin } from 'ckeditor5/src/core.js';\n\nimport HighlightEditing from './highlightediting.js';\nimport HighlightUI from './highlightui.js';\n\n/**\n * The highlight plugin.\n *\n * For a detailed overview, check the {@glink features/highlight Highlight feature} documentation.\n *\n * This is a \"glue\" plugin which loads the {@link module:highlight/highlightediting~HighlightEditing} and\n * {@link module:highlight/highlightui~HighlightUI} plugins.\n */\nexport default class Highlight extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get requires() {\n\t\treturn [ HighlightEditing, HighlightUI ] as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'Highlight' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static override get isOfficialPlugin(): true {\n\t\treturn true;\n\t}\n}\n"]}
|
1
|
+
{"version":3,"sources":["index.js","../src/highlightcommand.ts","../src/highlightediting.ts","../src/highlightui.ts","../src/highlight.ts"],"names":["HighlightCommand","Command","model","editor","doc","document","value","selection","getAttribute","isEnabled","schema","checkAttributeInSelection","execute","options","highlighter","change","writer","isCollapsed","position","getFirstPosition","hasAttribute","isSameHighlight","item","highlightStart","getLastMatchingPosition","direction","highlightEnd","highlightRange","createRange","isEqual","removeAttribute","removeSelectionAttribute","setAttribute","setSelectionAttribute","ranges","getValidRanges","getRanges","range","HighlightEditing","Plugin","pluginName","isOfficialPlugin","config","define","class","title","color","type","extend","allowAttributes","get","conversion","attributeToElement","_buildDefinition","commands","add","definition","key","values","view","option","push","name","classes","HighlightUI","localizedOptionTitles","t","_addHighlighterButton","_addRemoveHighlightButton","_addDropdown","_addMenuBarButton","command","_addButton","IconEraser","button","bind","to","getIconForType","decorateHighlightButton","iconView","fillColor","isToggleable","label","icon","decorateButton","ui","componentFactory","locale","buttonView","ButtonView","localized","set","tooltip","on","editing","focus","startingHighlighter","optionsMap","reduce","retVal","dropdownView","createDropdown","SplitButtonView","splitButtonView","lastExecuted","commandValue","getActiveOption","delegate","buttonsCreator","buttons","map","create","listenTo","ToolbarSeparatorView","addToolbarToDropdown","enableActiveItemFocusOnDropdownOpen","ariaLabel","bindToolbarIconStyleToActiveColor","current","whichHighlighter","menuView","MenuBarMenuView","listView","MenuBarMenuListView","listItemView","MenuBarMenuListItemView","MenuBarMenuListItemButtonView","role","children","items","ListSeparatorView","panelView","actionView","IconMarker","IconPen","Highlight","requires"],"mappings":";;;;AAAA,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;AACxE,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,C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A,CAAA,GAAA,CAAkBxB,UAAa,CAAA,CAAA,CAAA;AJkbhC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CIjbL,MAAA,CAAO,CAAA,SAAA,CAAA;AACR,CAAA,CAAA,CAAA,CAAA;AAEA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AJibD,CAAC,CAAC,CAAC,CAAC,CAAC;AI/aH,CACD,CAAA,CAAA,CAAA,CAAA,MAAA,CAAA,GAAA,CAA2BC,gBAAyB,CAAA,CAAA,CAAA;AJgbrD,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CI/aL,MAAA,CAAO,IAAA;AACR,CAAA,CAAA,CAAA,CAAA;AACD;;AJibA,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,gBAAgB,CAAC,CAAC,WAAW,CAAC,CAAC;AACnD,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,CAAC","file":"index.js.map","sourcesContent":["import { Command, Plugin } from '@ckeditor/ckeditor5-core/dist/index.js';\nimport { IconEraser, IconMarker, IconPen } from '@ckeditor/ckeditor5-icons/dist/index.js';\nimport { ButtonView, createDropdown, SplitButtonView, addToolbarToDropdown, MenuBarMenuView, MenuBarMenuListView, MenuBarMenuListItemView, MenuBarMenuListItemButtonView, ListSeparatorView, ToolbarSeparatorView } from '@ckeditor/ckeditor5-ui/dist/index.js';\n\n/**\n * The highlight command. It is used by the {@link module:highlight/highlightediting~HighlightEditing highlight feature}\n * to apply the text highlighting.\n *\n * ```ts\n * editor.execute( 'highlight', { value: 'greenMarker' } );\n * ```\n *\n * **Note**: Executing the command without a value removes the attribute from the model. If the selection is collapsed\n * inside a text with the highlight attribute, the command will remove the attribute from the entire range\n * of that text.\n */ class HighlightCommand extends Command {\n /**\n\t * @inheritDoc\n\t */ refresh() {\n const model = this.editor.model;\n const doc = model.document;\n this.value = doc.selection.getAttribute('highlight');\n this.isEnabled = model.schema.checkAttributeInSelection(doc.selection, 'highlight');\n }\n /**\n\t * Executes the command.\n\t *\n\t * @param options Options for the executed command.\n\t * @param options.value The value to apply.\n\t *\n\t * @fires execute\n\t */ execute(options = {}) {\n const model = this.editor.model;\n const document = model.document;\n const selection = document.selection;\n const highlighter = options.value;\n model.change((writer)=>{\n if (selection.isCollapsed) {\n const position = selection.getFirstPosition();\n // When selection is inside text with `highlight` attribute.\n if (selection.hasAttribute('highlight')) {\n // Find the full highlighted range.\n const isSameHighlight = (value)=>{\n return value.item.hasAttribute('highlight') && value.item.getAttribute('highlight') === this.value;\n };\n const highlightStart = position.getLastMatchingPosition(isSameHighlight, {\n direction: 'backward'\n });\n const highlightEnd = position.getLastMatchingPosition(isSameHighlight);\n const highlightRange = writer.createRange(highlightStart, highlightEnd);\n // Then depending on current value...\n if (!highlighter || this.value === highlighter) {\n // ...remove attribute when passing highlighter different then current or executing \"eraser\".\n // If we're at the end of the highlighted range, we don't want to remove highlight of the range.\n if (!position.isEqual(highlightEnd)) {\n writer.removeAttribute('highlight', highlightRange);\n }\n writer.removeSelectionAttribute('highlight');\n } else {\n // ...update `highlight` value.\n // If we're at the end of the highlighted range, we don't want to change the highlight of the range.\n if (!position.isEqual(highlightEnd)) {\n writer.setAttribute('highlight', highlighter, highlightRange);\n }\n writer.setSelectionAttribute('highlight', highlighter);\n }\n } else if (highlighter) {\n writer.setSelectionAttribute('highlight', highlighter);\n }\n } else {\n const ranges = model.schema.getValidRanges(selection.getRanges(), 'highlight');\n for (const range of ranges){\n if (highlighter) {\n writer.setAttribute('highlight', highlighter, range);\n } else {\n writer.removeAttribute('highlight', range);\n }\n }\n }\n });\n }\n}\n\n/**\n * The highlight editing feature. It introduces the {@link module:highlight/highlightcommand~HighlightCommand command} and the `highlight`\n * attribute in the {@link module:engine/model/model~Model model} which renders in the {@link module:engine/view/view view}\n * as a `<mark>` element with a `class` attribute (`<mark class=\"marker-green\">...</mark>`) depending\n * on the {@link module:highlight/highlightconfig~HighlightConfig configuration}.\n */ class HighlightEditing extends Plugin {\n /**\n\t * @inheritDoc\n\t */ static get pluginName() {\n return 'HighlightEditing';\n }\n /**\n\t * @inheritDoc\n\t */ static get isOfficialPlugin() {\n return true;\n }\n /**\n\t * @inheritDoc\n\t */ constructor(editor){\n super(editor);\n editor.config.define('highlight', {\n options: [\n {\n model: 'yellowMarker',\n class: 'marker-yellow',\n title: 'Yellow marker',\n color: 'var(--ck-highlight-marker-yellow)',\n type: 'marker'\n },\n {\n model: 'greenMarker',\n class: 'marker-green',\n title: 'Green marker',\n color: 'var(--ck-highlight-marker-green)',\n type: 'marker'\n },\n {\n model: 'pinkMarker',\n class: 'marker-pink',\n title: 'Pink marker',\n color: 'var(--ck-highlight-marker-pink)',\n type: 'marker'\n },\n {\n model: 'blueMarker',\n class: 'marker-blue',\n title: 'Blue marker',\n color: 'var(--ck-highlight-marker-blue)',\n type: 'marker'\n },\n {\n model: 'redPen',\n class: 'pen-red',\n title: 'Red pen',\n color: 'var(--ck-highlight-pen-red)',\n type: 'pen'\n },\n {\n model: 'greenPen',\n class: 'pen-green',\n title: 'Green pen',\n color: 'var(--ck-highlight-pen-green)',\n type: 'pen'\n }\n ]\n });\n }\n /**\n\t * @inheritDoc\n\t */ init() {\n const editor = this.editor;\n // Allow highlight attribute on text nodes.\n editor.model.schema.extend('$text', {\n allowAttributes: 'highlight'\n });\n const options = editor.config.get('highlight.options');\n // Set-up the two-way conversion.\n editor.conversion.attributeToElement(_buildDefinition(options));\n editor.commands.add('highlight', new HighlightCommand(editor));\n }\n}\n/**\n * Converts the options array to a converter definition.\n *\n * @param options An array with configured options.\n */ function _buildDefinition(options) {\n const definition = {\n model: {\n key: 'highlight',\n values: []\n },\n view: {}\n };\n for (const option of options){\n definition.model.values.push(option.model);\n definition.view[option.model] = {\n name: 'mark',\n classes: option.class\n };\n }\n return definition;\n}\n\n/**\n * The default highlight UI plugin. It introduces:\n *\n * * The `'highlight'` dropdown,\n * * The `'removeHighlight'` and `'highlight:*'` buttons.\n *\n * The default configuration includes the following buttons:\n *\n * * `'highlight:yellowMarker'`\n * * `'highlight:greenMarker'`\n * * `'highlight:pinkMarker'`\n * * `'highlight:blueMarker'`\n * * `'highlight:redPen'`\n * * `'highlight:greenPen'`\n *\n * See the {@link module:highlight/highlightconfig~HighlightConfig#options configuration} to learn more\n * about the defaults.\n */ class HighlightUI extends Plugin {\n /**\n\t * Returns the localized option titles provided by the plugin.\n\t *\n\t * The following localized titles corresponding with default\n\t * {@link module:highlight/highlightconfig~HighlightConfig#options} are available:\n\t *\n\t * * `'Yellow marker'`,\n\t * * `'Green marker'`,\n\t * * `'Pink marker'`,\n\t * * `'Blue marker'`,\n\t * * `'Red pen'`,\n\t * * `'Green pen'`.\n\t */ get localizedOptionTitles() {\n const t = this.editor.t;\n return {\n 'Yellow marker': t('Yellow marker'),\n 'Green marker': t('Green marker'),\n 'Pink marker': t('Pink marker'),\n 'Blue marker': t('Blue marker'),\n 'Red pen': t('Red pen'),\n 'Green pen': t('Green pen')\n };\n }\n /**\n\t * @inheritDoc\n\t */ static get pluginName() {\n return 'HighlightUI';\n }\n /**\n\t * @inheritDoc\n\t */ static get isOfficialPlugin() {\n return true;\n }\n /**\n\t * @inheritDoc\n\t */ init() {\n const options = this.editor.config.get('highlight.options');\n for (const option of options){\n this._addHighlighterButton(option);\n }\n this._addRemoveHighlightButton();\n this._addDropdown(options);\n this._addMenuBarButton(options);\n }\n /**\n\t * Creates the \"Remove highlight\" button.\n\t */ _addRemoveHighlightButton() {\n const t = this.editor.t;\n const command = this.editor.commands.get('highlight');\n this._addButton('removeHighlight', t('Remove highlight'), IconEraser, null, (button)=>{\n button.bind('isEnabled').to(command, 'isEnabled');\n });\n }\n /**\n\t * Creates a toolbar button from the provided highlight option.\n\t */ _addHighlighterButton(option) {\n const command = this.editor.commands.get('highlight');\n // TODO: change naming\n this._addButton('highlight:' + option.model, option.title, getIconForType(option.type), option.model, decorateHighlightButton);\n function decorateHighlightButton(button) {\n button.bind('isEnabled').to(command, 'isEnabled');\n button.bind('isOn').to(command, 'value', (value)=>value === option.model);\n button.iconView.fillColor = option.color;\n button.isToggleable = true;\n }\n }\n /**\n\t * Internal method for creating highlight buttons.\n\t *\n\t * @param name The name of the button.\n\t * @param label The label for the button.\n\t * @param icon The button icon.\n\t * @param value The `value` property passed to the executed command.\n\t * @param decorateButton A callback getting ButtonView instance so that it can be further customized.\n\t */ _addButton(name, label, icon, value, decorateButton) {\n const editor = this.editor;\n editor.ui.componentFactory.add(name, (locale)=>{\n const buttonView = new ButtonView(locale);\n const localized = this.localizedOptionTitles[label] ? this.localizedOptionTitles[label] : label;\n buttonView.set({\n label: localized,\n icon,\n tooltip: true\n });\n buttonView.on('execute', ()=>{\n editor.execute('highlight', {\n value\n });\n editor.editing.view.focus();\n });\n // Add additional behavior for buttonView.\n decorateButton(buttonView);\n return buttonView;\n });\n }\n /**\n\t * Creates the split button dropdown UI from the provided highlight options.\n\t */ _addDropdown(options) {\n const editor = this.editor;\n const t = editor.t;\n const componentFactory = editor.ui.componentFactory;\n const startingHighlighter = options[0];\n const optionsMap = options.reduce((retVal, option)=>{\n retVal[option.model] = option;\n return retVal;\n }, {});\n componentFactory.add('highlight', (locale)=>{\n const command = editor.commands.get('highlight');\n const dropdownView = createDropdown(locale, SplitButtonView);\n const splitButtonView = dropdownView.buttonView;\n splitButtonView.set({\n label: t('Highlight'),\n tooltip: true,\n // Holds last executed highlighter.\n lastExecuted: startingHighlighter.model,\n // Holds current highlighter to execute (might be different then last used).\n commandValue: startingHighlighter.model,\n isToggleable: true\n });\n // Dropdown button changes to selection (command.value):\n // - If selection is in highlight it get active highlight appearance (icon, color) and is activated.\n // - Otherwise it gets appearance (icon, color) of last executed highlight.\n splitButtonView.bind('icon').to(command, 'value', (value)=>getIconForType(getActiveOption(value, 'type')));\n splitButtonView.bind('color').to(command, 'value', (value)=>getActiveOption(value, 'color'));\n splitButtonView.bind('commandValue').to(command, 'value', (value)=>getActiveOption(value, 'model'));\n splitButtonView.bind('isOn').to(command, 'value', (value)=>!!value);\n splitButtonView.delegate('execute').to(dropdownView);\n // Create buttons array.\n const buttonsCreator = ()=>{\n const buttons = options.map((option)=>{\n // Get existing highlighter button.\n const buttonView = componentFactory.create('highlight:' + option.model);\n // Update lastExecutedHighlight on execute.\n this.listenTo(buttonView, 'execute', ()=>{\n dropdownView.buttonView.set({\n lastExecuted: option.model\n });\n });\n return buttonView;\n });\n // Add separator and eraser buttons to dropdown.\n buttons.push(new ToolbarSeparatorView());\n buttons.push(componentFactory.create('removeHighlight'));\n return buttons;\n };\n // Make toolbar button enabled when any button in dropdown is enabled before adding separator and eraser.\n dropdownView.bind('isEnabled').to(command, 'isEnabled');\n addToolbarToDropdown(dropdownView, buttonsCreator, {\n enableActiveItemFocusOnDropdownOpen: true,\n ariaLabel: t('Text highlight toolbar')\n });\n bindToolbarIconStyleToActiveColor(dropdownView);\n // Execute current action from dropdown's split button action button.\n splitButtonView.on('execute', ()=>{\n editor.execute('highlight', {\n value: splitButtonView.commandValue\n });\n });\n // Focus the editable after executing the command.\n // It overrides a default behaviour where the focus is moved to the dropdown button (#12125).\n this.listenTo(dropdownView, 'execute', ()=>{\n editor.editing.view.focus();\n });\n /**\n\t\t\t * Returns active highlighter option depending on current command value.\n\t\t\t * If current is not set or it is the same as last execute this method will return the option key (like icon or color)\n\t\t\t * of last executed highlighter. Otherwise it will return option key for current one.\n\t\t\t */ function getActiveOption(current, key) {\n const whichHighlighter = !current || current === splitButtonView.lastExecuted ? splitButtonView.lastExecuted : current;\n return optionsMap[whichHighlighter][key];\n }\n return dropdownView;\n });\n }\n /**\n\t * Creates the menu bar button for highlight including submenu with available options.\n\t */ _addMenuBarButton(options) {\n const editor = this.editor;\n const t = editor.t;\n const command = editor.commands.get('highlight');\n editor.ui.componentFactory.add('menuBar:highlight', (locale)=>{\n const menuView = new MenuBarMenuView(locale);\n menuView.buttonView.set({\n label: t('Highlight'),\n icon: getIconForType('marker')\n });\n menuView.bind('isEnabled').to(command);\n menuView.buttonView.iconView.fillColor = 'transparent';\n const listView = new MenuBarMenuListView(locale);\n for (const option of options){\n const listItemView = new MenuBarMenuListItemView(locale, menuView);\n const buttonView = new MenuBarMenuListItemButtonView(locale);\n buttonView.set({\n label: option.title,\n icon: getIconForType(option.type),\n role: 'menuitemradio',\n isToggleable: true\n });\n buttonView.iconView.fillColor = option.color;\n buttonView.delegate('execute').to(menuView);\n buttonView.bind('isOn').to(command, 'value', (value)=>value === option.model);\n buttonView.on('execute', ()=>{\n editor.execute('highlight', {\n value: option.model\n });\n editor.editing.view.focus();\n });\n listItemView.children.add(buttonView);\n listView.items.add(listItemView);\n }\n // Add remove highlight button\n listView.items.add(new ListSeparatorView(locale));\n const listItemView = new MenuBarMenuListItemView(locale, menuView);\n const buttonView = new MenuBarMenuListItemButtonView(locale);\n buttonView.set({\n label: t('Remove highlight'),\n icon: IconEraser\n });\n buttonView.delegate('execute').to(menuView);\n buttonView.on('execute', ()=>{\n editor.execute('highlight', {\n value: null\n });\n editor.editing.view.focus();\n });\n listItemView.children.add(buttonView);\n listView.items.add(listItemView);\n menuView.panelView.children.add(listView);\n return menuView;\n });\n }\n}\n/**\n * Extends split button icon style to reflect last used button style.\n */ function bindToolbarIconStyleToActiveColor(dropdownView) {\n const actionView = dropdownView.buttonView.actionView;\n actionView.iconView.bind('fillColor').to(dropdownView.buttonView, 'color');\n}\n/**\n * Returns icon for given highlighter type.\n */ function getIconForType(type) {\n return type === 'marker' ? IconMarker : IconPen;\n}\n\n/**\n * The highlight plugin.\n *\n * For a detailed overview, check the {@glink features/highlight Highlight feature} documentation.\n *\n * This is a \"glue\" plugin which loads the {@link module:highlight/highlightediting~HighlightEditing} and\n * {@link module:highlight/highlightui~HighlightUI} plugins.\n */ class Highlight extends Plugin {\n /**\n\t * @inheritDoc\n\t */ static get requires() {\n return [\n HighlightEditing,\n HighlightUI\n ];\n }\n /**\n\t * @inheritDoc\n\t */ static get pluginName() {\n return 'Highlight';\n }\n /**\n\t * @inheritDoc\n\t */ static get isOfficialPlugin() {\n return true;\n }\n}\n\nexport { Highlight, HighlightEditing, HighlightUI };\n//# sourceMappingURL=index.js.map\n","/**\n * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module highlight/highlightcommand\n */\n\nimport { Command } from 'ckeditor5/src/core.js';\nimport type { TreeWalkerValue } from 'ckeditor5/src/engine.js';\n\n/**\n * The highlight command. It is used by the {@link module:highlight/highlightediting~HighlightEditing highlight feature}\n * to apply the text highlighting.\n *\n * ```ts\n * editor.execute( 'highlight', { value: 'greenMarker' } );\n * ```\n *\n * **Note**: Executing the command without a value removes the attribute from the model. If the selection is collapsed\n * inside a text with the highlight attribute, the command will remove the attribute from the entire range\n * of that text.\n */\nexport default class HighlightCommand extends Command {\n\t/**\n\t * A value indicating whether the command is active. If the selection has some highlight attribute,\n\t * it corresponds to the value of that attribute.\n\t *\n\t * @observable\n\t * @readonly\n\t */\n\tdeclare public value: string | undefined;\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic override refresh(): void {\n\t\tconst model = this.editor.model;\n\t\tconst doc = model.document;\n\n\t\tthis.value = doc.selection.getAttribute( 'highlight' ) as string | undefined;\n\t\tthis.isEnabled = model.schema.checkAttributeInSelection( doc.selection, 'highlight' );\n\t}\n\n\t/**\n\t * Executes the command.\n\t *\n\t * @param options Options for the executed command.\n\t * @param options.value The value to apply.\n\t *\n\t * @fires execute\n\t */\n\tpublic override execute( options: { value?: string | null } = {} ): void {\n\t\tconst model = this.editor.model;\n\t\tconst document = model.document;\n\t\tconst selection = document.selection;\n\n\t\tconst highlighter = options.value;\n\n\t\tmodel.change( writer => {\n\t\t\tif ( selection.isCollapsed ) {\n\t\t\t\tconst position = selection.getFirstPosition()!;\n\n\t\t\t\t// When selection is inside text with `highlight` attribute.\n\t\t\t\tif ( selection.hasAttribute( 'highlight' ) ) {\n\t\t\t\t\t// Find the full highlighted range.\n\t\t\t\t\tconst isSameHighlight = ( value: TreeWalkerValue ) => {\n\t\t\t\t\t\treturn value.item.hasAttribute( 'highlight' ) && value.item.getAttribute( 'highlight' ) === this.value;\n\t\t\t\t\t};\n\n\t\t\t\t\tconst highlightStart = position.getLastMatchingPosition( isSameHighlight, { direction: 'backward' } );\n\t\t\t\t\tconst highlightEnd = position.getLastMatchingPosition( isSameHighlight );\n\n\t\t\t\t\tconst highlightRange = writer.createRange( highlightStart, highlightEnd );\n\n\t\t\t\t\t// Then depending on current value...\n\t\t\t\t\tif ( !highlighter || this.value === highlighter ) {\n\t\t\t\t\t\t// ...remove attribute when passing highlighter different then current or executing \"eraser\".\n\n\t\t\t\t\t\t// If we're at the end of the highlighted range, we don't want to remove highlight of the range.\n\t\t\t\t\t\tif ( !position.isEqual( highlightEnd ) ) {\n\t\t\t\t\t\t\twriter.removeAttribute( 'highlight', highlightRange );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\twriter.removeSelectionAttribute( 'highlight' );\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// ...update `highlight` value.\n\n\t\t\t\t\t\t// If we're at the end of the highlighted range, we don't want to change the highlight of the range.\n\t\t\t\t\t\tif ( !position.isEqual( highlightEnd ) ) {\n\t\t\t\t\t\t\twriter.setAttribute( 'highlight', highlighter, highlightRange );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\twriter.setSelectionAttribute( 'highlight', highlighter );\n\t\t\t\t\t}\n\t\t\t\t} else if ( highlighter ) {\n\t\t\t\t\twriter.setSelectionAttribute( 'highlight', highlighter );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst ranges = model.schema.getValidRanges( selection.getRanges(), 'highlight' );\n\n\t\t\t\tfor ( const range of ranges ) {\n\t\t\t\t\tif ( highlighter ) {\n\t\t\t\t\t\twriter.setAttribute( 'highlight', highlighter, range );\n\t\t\t\t\t} else {\n\t\t\t\t\t\twriter.removeAttribute( 'highlight', range );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module highlight/highlightediting\n */\n\nimport { Plugin, type Editor } from 'ckeditor5/src/core.js';\n\nimport HighlightCommand from './highlightcommand.js';\nimport type { HighlightOption } from './highlightconfig.js';\n\n/**\n * The highlight editing feature. It introduces the {@link module:highlight/highlightcommand~HighlightCommand command} and the `highlight`\n * attribute in the {@link module:engine/model/model~Model model} which renders in the {@link module:engine/view/view view}\n * as a `<mark>` element with a `class` attribute (`<mark class=\"marker-green\">...</mark>`) depending\n * on the {@link module:highlight/highlightconfig~HighlightConfig configuration}.\n */\nexport default class HighlightEditing extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'HighlightEditing' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static override get isOfficialPlugin(): true {\n\t\treturn true;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tconstructor( editor: Editor ) {\n\t\tsuper( editor );\n\n\t\teditor.config.define( 'highlight', {\n\t\t\toptions: [\n\t\t\t\t{\n\t\t\t\t\tmodel: 'yellowMarker',\n\t\t\t\t\tclass: 'marker-yellow',\n\t\t\t\t\ttitle: 'Yellow marker',\n\t\t\t\t\tcolor: 'var(--ck-highlight-marker-yellow)',\n\t\t\t\t\ttype: 'marker'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tmodel: 'greenMarker',\n\t\t\t\t\tclass: 'marker-green',\n\t\t\t\t\ttitle: 'Green marker',\n\t\t\t\t\tcolor: 'var(--ck-highlight-marker-green)',\n\t\t\t\t\ttype: 'marker'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tmodel: 'pinkMarker',\n\t\t\t\t\tclass: 'marker-pink',\n\t\t\t\t\ttitle: 'Pink marker',\n\t\t\t\t\tcolor: 'var(--ck-highlight-marker-pink)',\n\t\t\t\t\ttype: 'marker'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tmodel: 'blueMarker',\n\t\t\t\t\tclass: 'marker-blue',\n\t\t\t\t\ttitle: 'Blue marker',\n\t\t\t\t\tcolor: 'var(--ck-highlight-marker-blue)',\n\t\t\t\t\ttype: 'marker'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tmodel: 'redPen',\n\t\t\t\t\tclass: 'pen-red',\n\t\t\t\t\ttitle: 'Red pen',\n\t\t\t\t\tcolor: 'var(--ck-highlight-pen-red)',\n\t\t\t\t\ttype: 'pen'\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tmodel: 'greenPen',\n\t\t\t\t\tclass: 'pen-green',\n\t\t\t\t\ttitle: 'Green pen',\n\t\t\t\t\tcolor: 'var(--ck-highlight-pen-green)',\n\t\t\t\t\ttype: 'pen'\n\t\t\t\t}\n\t\t\t]\n\t\t} );\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic init(): void {\n\t\tconst editor = this.editor;\n\n\t\t// Allow highlight attribute on text nodes.\n\t\teditor.model.schema.extend( '$text', { allowAttributes: 'highlight' } );\n\n\t\tconst options = editor.config.get( 'highlight.options' )!;\n\n\t\t// Set-up the two-way conversion.\n\t\teditor.conversion.attributeToElement( _buildDefinition( options ) );\n\n\t\teditor.commands.add( 'highlight', new HighlightCommand( editor ) );\n\t}\n}\n\n/**\n * Converts the options array to a converter definition.\n *\n * @param options An array with configured options.\n */\nfunction _buildDefinition( options: Array<HighlightOption> ): HighlightConverterDefinition {\n\tconst definition: HighlightConverterDefinition = {\n\t\tmodel: {\n\t\t\tkey: 'highlight',\n\t\t\tvalues: []\n\t\t},\n\t\tview: {}\n\t};\n\n\tfor ( const option of options ) {\n\t\tdefinition.model.values.push( option.model );\n\t\tdefinition.view[ option.model ] = {\n\t\t\tname: 'mark',\n\t\t\tclasses: option.class\n\t\t};\n\t}\n\n\treturn definition;\n}\n\ntype HighlightConverterDefinition = {\n\tmodel: { key: string; values: Array<string> };\n\tview: Record<string, { name: string; classes: string }>;\n};\n","/**\n * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module highlight/highlightui\n */\n\nimport { Plugin } from 'ckeditor5/src/core.js';\nimport { IconEraser, IconMarker, IconPen } from 'ckeditor5/src/icons.js';\nimport {\n\taddToolbarToDropdown,\n\tcreateDropdown,\n\tButtonView,\n\tListSeparatorView,\n\tMenuBarMenuView,\n\tMenuBarMenuListView,\n\tMenuBarMenuListItemView,\n\tMenuBarMenuListItemButtonView,\n\tSplitButtonView,\n\tToolbarSeparatorView,\n\ttype DropdownView\n} from 'ckeditor5/src/ui.js';\n\nimport type { HighlightOption } from './highlightconfig.js';\nimport type HighlightCommand from './highlightcommand.js';\n\nimport './../theme/highlight.css';\n\n/**\n * The default highlight UI plugin. It introduces:\n *\n * * The `'highlight'` dropdown,\n * * The `'removeHighlight'` and `'highlight:*'` buttons.\n *\n * The default configuration includes the following buttons:\n *\n * * `'highlight:yellowMarker'`\n * * `'highlight:greenMarker'`\n * * `'highlight:pinkMarker'`\n * * `'highlight:blueMarker'`\n * * `'highlight:redPen'`\n * * `'highlight:greenPen'`\n *\n * See the {@link module:highlight/highlightconfig~HighlightConfig#options configuration} to learn more\n * about the defaults.\n */\nexport default class HighlightUI extends Plugin {\n\t/**\n\t * Returns the localized option titles provided by the plugin.\n\t *\n\t * The following localized titles corresponding with default\n\t * {@link module:highlight/highlightconfig~HighlightConfig#options} are available:\n\t *\n\t * * `'Yellow marker'`,\n\t * * `'Green marker'`,\n\t * * `'Pink marker'`,\n\t * * `'Blue marker'`,\n\t * * `'Red pen'`,\n\t * * `'Green pen'`.\n\t */\n\tpublic get localizedOptionTitles(): Record<string, string> {\n\t\tconst t = this.editor.t;\n\n\t\treturn {\n\t\t\t'Yellow marker': t( 'Yellow marker' ),\n\t\t\t'Green marker': t( 'Green marker' ),\n\t\t\t'Pink marker': t( 'Pink marker' ),\n\t\t\t'Blue marker': t( 'Blue marker' ),\n\t\t\t'Red pen': t( 'Red pen' ),\n\t\t\t'Green pen': t( 'Green pen' )\n\t\t};\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'HighlightUI' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static override get isOfficialPlugin(): true {\n\t\treturn true;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic init(): void {\n\t\tconst options = this.editor.config.get( 'highlight.options' )!;\n\n\t\tfor ( const option of options ) {\n\t\t\tthis._addHighlighterButton( option );\n\t\t}\n\n\t\tthis._addRemoveHighlightButton();\n\n\t\tthis._addDropdown( options );\n\n\t\tthis._addMenuBarButton( options );\n\t}\n\n\t/**\n\t * Creates the \"Remove highlight\" button.\n\t */\n\tprivate _addRemoveHighlightButton(): void {\n\t\tconst t = this.editor.t;\n\t\tconst command: HighlightCommand = this.editor.commands.get( 'highlight' )!;\n\n\t\tthis._addButton( 'removeHighlight', t( 'Remove highlight' ), IconEraser, null, button => {\n\t\t\tbutton.bind( 'isEnabled' ).to( command, 'isEnabled' );\n\t\t} );\n\t}\n\n\t/**\n\t * Creates a toolbar button from the provided highlight option.\n\t */\n\tprivate _addHighlighterButton( option: HighlightOption ) {\n\t\tconst command: HighlightCommand = this.editor.commands.get( 'highlight' )!;\n\n\t\t// TODO: change naming\n\t\tthis._addButton( 'highlight:' + option.model, option.title, getIconForType( option.type ), option.model, decorateHighlightButton );\n\n\t\tfunction decorateHighlightButton( button: ButtonView ) {\n\t\t\tbutton.bind( 'isEnabled' ).to( command, 'isEnabled' );\n\t\t\tbutton.bind( 'isOn' ).to( command, 'value', value => value === option.model );\n\t\t\tbutton.iconView.fillColor = option.color;\n\t\t\tbutton.isToggleable = true;\n\t\t}\n\t}\n\n\t/**\n\t * Internal method for creating highlight buttons.\n\t *\n\t * @param name The name of the button.\n\t * @param label The label for the button.\n\t * @param icon The button icon.\n\t * @param value The `value` property passed to the executed command.\n\t * @param decorateButton A callback getting ButtonView instance so that it can be further customized.\n\t */\n\tprivate _addButton( name: string, label: string, icon: string, value: string | null, decorateButton: ( button: ButtonView ) => void ) {\n\t\tconst editor = this.editor;\n\n\t\teditor.ui.componentFactory.add( name, locale => {\n\t\t\tconst buttonView = new ButtonView( locale );\n\n\t\t\tconst localized = this.localizedOptionTitles[ label ] ? this.localizedOptionTitles[ label ] : label;\n\n\t\t\tbuttonView.set( {\n\t\t\t\tlabel: localized,\n\t\t\t\ticon,\n\t\t\t\ttooltip: true\n\t\t\t} );\n\n\t\t\tbuttonView.on( 'execute', () => {\n\t\t\t\teditor.execute( 'highlight', { value } );\n\t\t\t\teditor.editing.view.focus();\n\t\t\t} );\n\n\t\t\t// Add additional behavior for buttonView.\n\t\t\tdecorateButton( buttonView );\n\n\t\t\treturn buttonView;\n\t\t} );\n\t}\n\n\t/**\n\t * Creates the split button dropdown UI from the provided highlight options.\n\t */\n\tprivate _addDropdown( options: Array<HighlightOption> ) {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.t;\n\t\tconst componentFactory = editor.ui.componentFactory;\n\n\t\tconst startingHighlighter = options[ 0 ];\n\n\t\tconst optionsMap = options.reduce( ( retVal, option ) => {\n\t\t\tretVal[ option.model ] = option;\n\n\t\t\treturn retVal;\n\t\t}, {} as Record<string, HighlightOption> );\n\n\t\tcomponentFactory.add( 'highlight', locale => {\n\t\t\tconst command: HighlightCommand = editor.commands.get( 'highlight' )!;\n\t\t\tconst dropdownView = createDropdown( locale, SplitButtonView );\n\t\t\tconst splitButtonView = dropdownView.buttonView as HighlightSplitButtonView;\n\n\t\t\tsplitButtonView.set( {\n\t\t\t\tlabel: t( 'Highlight' ),\n\t\t\t\ttooltip: true,\n\t\t\t\t// Holds last executed highlighter.\n\t\t\t\tlastExecuted: startingHighlighter.model,\n\t\t\t\t// Holds current highlighter to execute (might be different then last used).\n\t\t\t\tcommandValue: startingHighlighter.model,\n\t\t\t\tisToggleable: true\n\t\t\t} );\n\n\t\t\t// Dropdown button changes to selection (command.value):\n\t\t\t// - If selection is in highlight it get active highlight appearance (icon, color) and is activated.\n\t\t\t// - Otherwise it gets appearance (icon, color) of last executed highlight.\n\t\t\tsplitButtonView.bind( 'icon' ).to( command, 'value', value => getIconForType( getActiveOption( value, 'type' ) ) );\n\t\t\tsplitButtonView.bind( 'color' ).to( command, 'value', value => getActiveOption( value, 'color' ) );\n\t\t\tsplitButtonView.bind( 'commandValue' ).to( command, 'value', value => getActiveOption( value, 'model' ) );\n\t\t\tsplitButtonView.bind( 'isOn' ).to( command, 'value', value => !!value );\n\n\t\t\tsplitButtonView.delegate( 'execute' ).to( dropdownView );\n\n\t\t\t// Create buttons array.\n\t\t\tconst buttonsCreator = () => {\n\t\t\t\tconst buttons = options.map( option => {\n\t\t\t\t\t// Get existing highlighter button.\n\t\t\t\t\tconst buttonView = componentFactory.create( 'highlight:' + option.model );\n\n\t\t\t\t\t// Update lastExecutedHighlight on execute.\n\t\t\t\t\tthis.listenTo( buttonView, 'execute', () => {\n\t\t\t\t\t\t( dropdownView.buttonView as HighlightSplitButtonView ).set( { lastExecuted: option.model } );\n\t\t\t\t\t} );\n\n\t\t\t\t\treturn buttonView;\n\t\t\t\t} );\n\n\t\t\t\t// Add separator and eraser buttons to dropdown.\n\t\t\t\tbuttons.push( new ToolbarSeparatorView() );\n\t\t\t\tbuttons.push( componentFactory.create( 'removeHighlight' ) );\n\n\t\t\t\treturn buttons;\n\t\t\t};\n\n\t\t\t// Make toolbar button enabled when any button in dropdown is enabled before adding separator and eraser.\n\t\t\tdropdownView.bind( 'isEnabled' ).to( command, 'isEnabled' );\n\n\t\t\taddToolbarToDropdown( dropdownView, buttonsCreator, {\n\t\t\t\tenableActiveItemFocusOnDropdownOpen: true,\n\t\t\t\tariaLabel: t( 'Text highlight toolbar' )\n\t\t\t} );\n\t\t\tbindToolbarIconStyleToActiveColor( dropdownView );\n\n\t\t\t// Execute current action from dropdown's split button action button.\n\t\t\tsplitButtonView.on( 'execute', () => {\n\t\t\t\teditor.execute( 'highlight', { value: splitButtonView.commandValue } );\n\t\t\t} );\n\n\t\t\t// Focus the editable after executing the command.\n\t\t\t// It overrides a default behaviour where the focus is moved to the dropdown button (#12125).\n\t\t\tthis.listenTo( dropdownView, 'execute', () => {\n\t\t\t\teditor.editing.view.focus();\n\t\t\t} );\n\n\t\t\t/**\n\t\t\t * Returns active highlighter option depending on current command value.\n\t\t\t * If current is not set or it is the same as last execute this method will return the option key (like icon or color)\n\t\t\t * of last executed highlighter. Otherwise it will return option key for current one.\n\t\t\t */\n\t\t\tfunction getActiveOption<Key extends keyof HighlightOption>( current: string | undefined, key: Key ): HighlightOption[ Key ] {\n\t\t\t\tconst whichHighlighter = !current ||\n\t\t\t\tcurrent === splitButtonView.lastExecuted ? splitButtonView.lastExecuted : current;\n\n\t\t\t\treturn optionsMap[ whichHighlighter! ][ key ];\n\t\t\t}\n\n\t\t\treturn dropdownView;\n\t\t} );\n\t}\n\n\t/**\n\t * Creates the menu bar button for highlight including submenu with available options.\n\t */\n\tprivate _addMenuBarButton( options: Array<HighlightOption> ) {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.t;\n\t\tconst command: HighlightCommand = editor.commands.get( 'highlight' )!;\n\n\t\teditor.ui.componentFactory.add( 'menuBar:highlight', locale => {\n\t\t\tconst menuView = new MenuBarMenuView( locale );\n\n\t\t\tmenuView.buttonView.set( {\n\t\t\t\tlabel: t( 'Highlight' ),\n\t\t\t\ticon: getIconForType( 'marker' )\n\t\t\t} );\n\t\t\tmenuView.bind( 'isEnabled' ).to( command );\n\t\t\tmenuView.buttonView.iconView.fillColor = 'transparent';\n\n\t\t\tconst listView = new MenuBarMenuListView( locale );\n\n\t\t\tfor ( const option of options ) {\n\t\t\t\tconst listItemView = new MenuBarMenuListItemView( locale, menuView );\n\t\t\t\tconst buttonView = new MenuBarMenuListItemButtonView( locale );\n\n\t\t\t\tbuttonView.set( {\n\t\t\t\t\tlabel: option.title,\n\t\t\t\t\ticon: getIconForType( option.type ),\n\t\t\t\t\trole: 'menuitemradio',\n\t\t\t\t\tisToggleable: true\n\t\t\t\t} );\n\n\t\t\t\tbuttonView.iconView.fillColor = option.color;\n\n\t\t\t\tbuttonView.delegate( 'execute' ).to( menuView );\n\t\t\t\tbuttonView.bind( 'isOn' ).to( command, 'value', value => value === option.model );\n\n\t\t\t\tbuttonView.on( 'execute', () => {\n\t\t\t\t\teditor.execute( 'highlight', { value: option.model } );\n\n\t\t\t\t\teditor.editing.view.focus();\n\t\t\t\t} );\n\n\t\t\t\tlistItemView.children.add( buttonView );\n\t\t\t\tlistView.items.add( listItemView );\n\t\t\t}\n\n\t\t\t// Add remove highlight button\n\t\t\tlistView.items.add( new ListSeparatorView( locale ) );\n\t\t\tconst listItemView = new MenuBarMenuListItemView( locale, menuView );\n\t\t\tconst buttonView = new MenuBarMenuListItemButtonView( locale );\n\n\t\t\tbuttonView.set( {\n\t\t\t\tlabel: t( 'Remove highlight' ),\n\t\t\t\ticon: IconEraser\n\t\t\t} );\n\n\t\t\tbuttonView.delegate( 'execute' ).to( menuView );\n\n\t\t\tbuttonView.on( 'execute', () => {\n\t\t\t\teditor.execute( 'highlight', { value: null } );\n\n\t\t\t\teditor.editing.view.focus();\n\t\t\t} );\n\n\t\t\tlistItemView.children.add( buttonView );\n\t\t\tlistView.items.add( listItemView );\n\n\t\t\tmenuView.panelView.children.add( listView );\n\n\t\t\treturn menuView;\n\t\t} );\n\t}\n}\n\n/**\n * Extends split button icon style to reflect last used button style.\n */\nfunction bindToolbarIconStyleToActiveColor( dropdownView: DropdownView ): void {\n\tconst actionView = ( dropdownView.buttonView as HighlightSplitButtonView ).actionView;\n\n\tactionView.iconView.bind( 'fillColor' ).to( ( dropdownView.buttonView! as HighlightSplitButtonView ), 'color' );\n}\n\n/**\n * Returns icon for given highlighter type.\n */\nfunction getIconForType( type: 'marker' | 'pen' ) {\n\treturn type === 'marker' ? IconMarker : IconPen;\n}\n\ntype HighlightSplitButtonView = SplitButtonView & {\n\tlastExecuted: string;\n\tcommandValue: string;\n\tcolor: string;\n};\n","/**\n * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/**\n * @module highlight/highlight\n */\n\nimport { Plugin } from 'ckeditor5/src/core.js';\n\nimport HighlightEditing from './highlightediting.js';\nimport HighlightUI from './highlightui.js';\n\n/**\n * The highlight plugin.\n *\n * For a detailed overview, check the {@glink features/highlight Highlight feature} documentation.\n *\n * This is a \"glue\" plugin which loads the {@link module:highlight/highlightediting~HighlightEditing} and\n * {@link module:highlight/highlightui~HighlightUI} plugins.\n */\nexport default class Highlight extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get requires() {\n\t\treturn [ HighlightEditing, HighlightUI ] as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'Highlight' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static override get isOfficialPlugin(): true {\n\t\treturn true;\n\t}\n}\n"]}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-highlight",
|
3
|
-
"version": "45.2.1-alpha.
|
3
|
+
"version": "45.2.1-alpha.3",
|
4
4
|
"description": "Highlight feature for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -13,11 +13,11 @@
|
|
13
13
|
"type": "module",
|
14
14
|
"main": "src/index.js",
|
15
15
|
"dependencies": {
|
16
|
-
"@ckeditor/ckeditor5-core": "45.2.1-alpha.
|
17
|
-
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.
|
18
|
-
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.
|
19
|
-
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.
|
20
|
-
"ckeditor5": "45.2.1-alpha.
|
16
|
+
"@ckeditor/ckeditor5-core": "45.2.1-alpha.3",
|
17
|
+
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.3",
|
18
|
+
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.3",
|
19
|
+
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.3",
|
20
|
+
"ckeditor5": "45.2.1-alpha.3"
|
21
21
|
},
|
22
22
|
"author": "CKSource (http://cksource.com/)",
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|