@ckeditor/ckeditor5-highlight 45.2.1-alpha.9 → 46.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/highlight.js +1 -1
- package/dist/index-content.css +12 -12
- package/dist/index-editor.css +6 -6
- package/dist/index.css +12 -12
- package/dist/index.css.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/highlight.d.ts +3 -3
- package/src/highlight.js +3 -3
- package/src/highlightcommand.d.ts +1 -1
- package/src/highlightcommand.js +1 -1
- package/src/highlightconfig.d.ts +15 -15
- package/src/highlightediting.d.ts +1 -1
- package/src/highlightediting.js +8 -8
- package/src/highlightui.d.ts +1 -1
- package/src/highlightui.js +1 -1
- package/src/index.d.ts +4 -4
- package/src/index.js +4 -3
- package/theme/highlight.css +8 -8
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(n){e.setAttribute(n,t[n])})}},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,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},237:e=>{"use strict";e.exports=CKEditor5.dll},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},591:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},l=[],a=0;a<e.length;a++){var c=e[a],s=i.base?c[0]+i.base:c[0],h=o[s]||0,u="".concat(s," ").concat(h);o[s]=h+1;var g=n(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,i);i.byIndex=a,t.splice(a,0,{identifier:u,updater:m,references:1})}l.push(u)}return l}function r(e,t){var n=t.domAPI(t);n.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;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var l=0;l<o.length;l++){var a=n(o[l]);t[a].references--}for(var c=i(e,r),s=0;s<o.length;s++){var h=n(o[s]);0===t[h].references&&(t[h].updater(),t.splice(h,1))}o=c}}},639:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)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=n(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++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},758:e=>{"use strict";e.exports=function(e){return e[1]}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},809:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(758),r=n.n(i),o=n(935),l=n.n(o)()(r());l.push([e.id,":root{--ck-content-highlight-marker-yellow:#fdfd77;--ck-content-highlight-marker-green:#62f962;--ck-content-highlight-marker-pink:#fc7899;--ck-content-highlight-marker-blue:#72ccfd;--ck-content-highlight-pen-red:#e71313;--ck-content-highlight-pen-green:#128a00}.ck-content .marker-yellow{background-color:var(--ck-content-highlight-marker-yellow)}.ck-content .marker-green{background-color:var(--ck-content-highlight-marker-green)}.ck-content .marker-pink{background-color:var(--ck-content-highlight-marker-pink)}.ck-content .marker-blue{background-color:var(--ck-content-highlight-marker-blue)}.ck-content .pen-red{background-color:transparent;color:var(--ck-content-highlight-pen-red)}.ck-content .pen-green{background-color:transparent;color:var(--ck-content-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 n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var l={};if(i)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]);i&&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),n&&(h[2]?(h[1]="@media ".concat(h[2]," {").concat(h[1],"}"),h[2]=n):h[2]=n),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 n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Highlight:()=>y,HighlightCommand:()=>t,HighlightEditing:()=>r,HighlightUI:()=>b});var e=n(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,n=t.document.selection,i=e.value;t.change(e=>{if(n.isCollapsed){const t=n.getFirstPosition();if(n.hasAttribute("highlight")){const n=e=>e.item.hasAttribute("highlight")&&e.item.getAttribute("highlight")===this.value,r=t.getLastMatchingPosition(n,{direction:"backward"}),o=t.getLastMatchingPosition(n),l=e.createRange(r,o);i&&this.value!==i?(t.isEqual(o)||e.setAttribute("highlight",i,l),e.setSelectionAttribute("highlight",i)):(t.isEqual(o)||e.removeAttribute("highlight",l),e.removeSelectionAttribute("highlight"))}else i&&e.setSelectionAttribute("highlight",i)}else{const r=t.schema.getValidRanges(n.getRanges(),"highlight");for(const t of r)i?e.setAttribute("highlight",i,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-content-highlight-marker-yellow)",type:"marker"},{model:"greenMarker",class:"marker-green",title:"Green marker",color:"var(--ck-content-highlight-marker-green)",type:"marker"},{model:"pinkMarker",class:"marker-pink",title:"Pink marker",color:"var(--ck-content-highlight-marker-pink)",type:"marker"},{model:"blueMarker",class:"marker-blue",title:"Blue marker",color:"var(--ck-content-highlight-marker-blue)",type:"marker"},{model:"redPen",class:"pen-red",title:"Red pen",color:"var(--ck-content-highlight-pen-red)",type:"pen"},{model:"greenPen",class:"pen-green",title:"Green pen",color:"var(--ck-content-highlight-pen-green)",type:"pen"}]})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:"highlight"});const n=e.config.get("highlight.options");e.conversion.attributeToElement(function(e){const t={model:{key:"highlight",values:[]},view:{}};for(const n of e)t.model.values.push(n.model),t.view[n.model]={name:"mark",classes:n.class};return t}(n)),e.commands.add("highlight",new t(e))}}var o=n(355),l=n(311),a=n(591),c=n.n(a),s=n(639),h=n.n(s),u=n(128),g=n.n(u),d=n(21),m=n.n(d),p=n(51),f=n.n(p),v=n(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(n){n.bind("isEnabled").to(t,"isEnabled"),n.bind("isOn").to(t,"value",t=>t===e.model),n.iconView.fillColor=e.color,n.isToggleable=!0})}_addButton(e,t,n,i,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:n,tooltip:!0}),a.on("execute",()=>{o.execute("highlight",{value:i}),o.editing.view.focus()}),r(a),a})}_addDropdown(e){const t=this.editor,n=t.t,i=t.ui.componentFactory,r=e[0],o=e.reduce((e,t)=>(e[t.model]=t,e),{});i.add("highlight",a=>{const c=t.commands.get("highlight"),s=(0,l.createDropdown)(a,l.SplitButtonView),h=s.buttonView;h.set({label:n("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 n=e&&e!==h.lastExecuted?e:h.lastExecuted;return o[n][t]}return s.bind("isEnabled").to(c,"isEnabled"),(0,l.addToolbarToDropdown)(s,()=>{const t=e.map(e=>{const t=i.create("highlight:"+e.model);return this.listenTo(t,"execute",()=>{s.buttonView.set({lastExecuted:e.model})}),t});return t.push(new l.ToolbarSeparatorView),t.push(i.create("removeHighlight")),t},{enableActiveItemFocusOnDropdownOpen:!0,ariaLabel:n("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,n=t.t,i=t.commands.get("highlight");t.ui.componentFactory.add("menuBar:highlight",r=>{const a=new l.MenuBarMenuView(r);a.buttonView.set({label:n("Highlight"),icon:w("marker")}),a.bind("isEnabled").to(i),a.buttonView.iconView.fillColor="transparent";const c=new l.MenuBarMenuListView(r);for(const n of e){const e=new l.MenuBarMenuListItemView(r,a),o=new l.MenuBarMenuListItemButtonView(r);o.set({label:n.title,icon:w(n.type),role:"menuitemradio",isToggleable:!0}),o.iconView.fillColor=n.color,o.delegate("execute").to(a),o.bind("isOn").to(i,"value",e=>e===n.model),o.on("execute",()=>{t.execute("highlight",{value:n.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:n("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=i})();
|
package/dist/index-content.css
CHANGED
@@ -3,32 +3,32 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
:root{
|
6
|
-
--ck-highlight-marker-yellow:hsl(60, 97%, 73%);
|
7
|
-
--ck-highlight-marker-green:hsl(120, 93%, 68%);
|
8
|
-
--ck-highlight-marker-pink:hsl(345, 96%, 73%);
|
9
|
-
--ck-highlight-marker-blue:hsl(201, 97%, 72%);
|
10
|
-
--ck-highlight-pen-red:hsl(0, 85%, 49%);
|
11
|
-
--ck-highlight-pen-green:hsl(112, 100%, 27%);
|
6
|
+
--ck-content-highlight-marker-yellow:hsl(60, 97%, 73%);
|
7
|
+
--ck-content-highlight-marker-green:hsl(120, 93%, 68%);
|
8
|
+
--ck-content-highlight-marker-pink:hsl(345, 96%, 73%);
|
9
|
+
--ck-content-highlight-marker-blue:hsl(201, 97%, 72%);
|
10
|
+
--ck-content-highlight-pen-red:hsl(0, 85%, 49%);
|
11
|
+
--ck-content-highlight-pen-green:hsl(112, 100%, 27%);
|
12
12
|
}
|
13
13
|
|
14
14
|
.ck-content .marker-yellow{
|
15
|
-
background-color:var(--ck-highlight-marker-yellow);
|
15
|
+
background-color:var(--ck-content-highlight-marker-yellow);
|
16
16
|
}
|
17
17
|
.ck-content .marker-green{
|
18
|
-
background-color:var(--ck-highlight-marker-green);
|
18
|
+
background-color:var(--ck-content-highlight-marker-green);
|
19
19
|
}
|
20
20
|
.ck-content .marker-pink{
|
21
|
-
background-color:var(--ck-highlight-marker-pink);
|
21
|
+
background-color:var(--ck-content-highlight-marker-pink);
|
22
22
|
}
|
23
23
|
.ck-content .marker-blue{
|
24
|
-
background-color:var(--ck-highlight-marker-blue);
|
24
|
+
background-color:var(--ck-content-highlight-marker-blue);
|
25
25
|
}
|
26
26
|
|
27
27
|
.ck-content .pen-red{
|
28
|
-
color:var(--ck-highlight-pen-red);
|
28
|
+
color:var(--ck-content-highlight-pen-red);
|
29
29
|
background-color:transparent;
|
30
30
|
}
|
31
31
|
.ck-content .pen-green{
|
32
|
-
color:var(--ck-highlight-pen-green);
|
32
|
+
color:var(--ck-content-highlight-pen-green);
|
33
33
|
background-color:transparent;
|
34
34
|
}
|
package/dist/index-editor.css
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
:root{
|
6
|
-
--ck-highlight-marker-yellow:hsl(60, 97%, 73%);
|
7
|
-
--ck-highlight-marker-green:hsl(120, 93%, 68%);
|
8
|
-
--ck-highlight-marker-pink:hsl(345, 96%, 73%);
|
9
|
-
--ck-highlight-marker-blue:hsl(201, 97%, 72%);
|
10
|
-
--ck-highlight-pen-red:hsl(0, 85%, 49%);
|
11
|
-
--ck-highlight-pen-green:hsl(112, 100%, 27%);
|
6
|
+
--ck-content-highlight-marker-yellow:hsl(60, 97%, 73%);
|
7
|
+
--ck-content-highlight-marker-green:hsl(120, 93%, 68%);
|
8
|
+
--ck-content-highlight-marker-pink:hsl(345, 96%, 73%);
|
9
|
+
--ck-content-highlight-marker-blue:hsl(201, 97%, 72%);
|
10
|
+
--ck-content-highlight-pen-red:hsl(0, 85%, 49%);
|
11
|
+
--ck-content-highlight-pen-green:hsl(112, 100%, 27%);
|
12
12
|
}
|
package/dist/index.css
CHANGED
@@ -8,35 +8,35 @@
|
|
8
8
|
*/
|
9
9
|
|
10
10
|
:root {
|
11
|
-
--ck-highlight-marker-yellow: hsl(60, 97%, 73%);
|
12
|
-
--ck-highlight-marker-green: hsl(120, 93%, 68%);
|
13
|
-
--ck-highlight-marker-pink: hsl(345, 96%, 73%);
|
14
|
-
--ck-highlight-marker-blue: hsl(201, 97%, 72%);
|
15
|
-
--ck-highlight-pen-red: hsl(0, 85%, 49%);
|
16
|
-
--ck-highlight-pen-green: hsl(112, 100%, 27%);
|
11
|
+
--ck-content-highlight-marker-yellow: hsl(60, 97%, 73%);
|
12
|
+
--ck-content-highlight-marker-green: hsl(120, 93%, 68%);
|
13
|
+
--ck-content-highlight-marker-pink: hsl(345, 96%, 73%);
|
14
|
+
--ck-content-highlight-marker-blue: hsl(201, 97%, 72%);
|
15
|
+
--ck-content-highlight-pen-red: hsl(0, 85%, 49%);
|
16
|
+
--ck-content-highlight-pen-green: hsl(112, 100%, 27%);
|
17
17
|
}
|
18
18
|
|
19
19
|
.ck-content .marker-yellow {
|
20
|
-
background-color: var(--ck-highlight-marker-yellow);
|
20
|
+
background-color: var(--ck-content-highlight-marker-yellow);
|
21
21
|
}
|
22
22
|
.ck-content .marker-green {
|
23
|
-
background-color: var(--ck-highlight-marker-green);
|
23
|
+
background-color: var(--ck-content-highlight-marker-green);
|
24
24
|
}
|
25
25
|
.ck-content .marker-pink {
|
26
|
-
background-color: var(--ck-highlight-marker-pink);
|
26
|
+
background-color: var(--ck-content-highlight-marker-pink);
|
27
27
|
}
|
28
28
|
.ck-content .marker-blue {
|
29
|
-
background-color: var(--ck-highlight-marker-blue);
|
29
|
+
background-color: var(--ck-content-highlight-marker-blue);
|
30
30
|
}
|
31
31
|
|
32
32
|
.ck-content .pen-red {
|
33
|
-
color: var(--ck-highlight-pen-red);
|
33
|
+
color: var(--ck-content-highlight-pen-red);
|
34
34
|
|
35
35
|
/* Override default yellow background of `<mark>` from user agent stylesheet */
|
36
36
|
background-color: transparent;
|
37
37
|
}
|
38
38
|
.ck-content .pen-green {
|
39
|
-
color: var(--ck-highlight-pen-green);
|
39
|
+
color: var(--ck-content-highlight-pen-green);
|
40
40
|
|
41
41
|
/* Override default yellow background of `<mark>` from user agent stylesheet */
|
42
42
|
background-color: transparent;
|
package/dist/index.css.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../theme/highlight.css","index.css"],"names":[],"mappings":";;;;AAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AAC3E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC;AAClF,CAAC,CDAC;;AAEF,CAAA,IAAA,CAAA;ACCA,CDAC,CAAA,CAAA,EAAA,CAAA,SAAA,CAAA,MAAA,CAAA,MAAA,CAAA,CAAA,GAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA,EAAA,CAAA,
|
1
|
+
{"version":3,"sources":["../theme/highlight.css","index.css"],"names":[],"mappings":";;;;AAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AAC3E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC;AAClF,CAAC,CDAC;;AAEF,CAAA,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CAAA,GAAA,CAAA,KAAA,CAA6C;;ACc/C,CAAC,CDZC,CAAA,CAAA,CAAA,QAAA,CAAA,OAAA,CAAA,MAAA,CAAA,UAAA,CAAA,EAAA,CAAA,CAAA,CAAA,IAAA,CAAA,CAAA,CAAA,IAAA,CAAA,IAAA,CAAA,KAAA,CAAA,UAAA,CAAA,CAA8E;ACahF,CAAC,CDZC,UAAA,CAAA,KAAA,CAAA,CAAA,WAA6B;ACa/B,CDZC;;ACcD,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * 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:root {\n\t--ck-content-highlight-marker-yellow: hsl(60, 97%, 73%);\n\t--ck-content-highlight-marker-green: hsl(120, 93%, 68%);\n\t--ck-content-highlight-marker-pink: hsl(345, 96%, 73%);\n\t--ck-content-highlight-marker-blue: hsl(201, 97%, 72%);\n\t--ck-content-highlight-pen-red: hsl(0, 85%, 49%);\n\t--ck-content-highlight-pen-green: hsl(112, 100%, 27%);\n}\n\n@define-mixin highlight-marker-color $color {\n\t.ck-content .marker-$color {\n\t\tbackground-color: var(--ck-content-highlight-marker-$color);\n\t}\n}\n\n@define-mixin highlight-pen-color $color {\n\t.ck-content .pen-$color {\n\t\tcolor: var(--ck-content-highlight-pen-$color);\n\n\t\t/* Override default yellow background of `<mark>` from user agent stylesheet */\n\t\tbackground-color: transparent;\n\t}\n}\n\n@mixin highlight-marker-color yellow;\n@mixin highlight-marker-color green;\n@mixin highlight-marker-color pink;\n@mixin highlight-marker-color blue;\n\n@mixin highlight-pen-color red;\n@mixin highlight-pen-color green;\n","/*\n * Copyright (c) 2003-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:root {\n\t--ck-content-highlight-marker-yellow: hsl(60, 97%, 73%);\n\t--ck-content-highlight-marker-green: hsl(120, 93%, 68%);\n\t--ck-content-highlight-marker-pink: hsl(345, 96%, 73%);\n\t--ck-content-highlight-marker-blue: hsl(201, 97%, 72%);\n\t--ck-content-highlight-pen-red: hsl(0, 85%, 49%);\n\t--ck-content-highlight-pen-green: hsl(112, 100%, 27%);\n}\n\n.ck-content .marker-yellow {\n\t\tbackground-color: var(--ck-content-highlight-marker-yellow);\n\t}\n.ck-content .marker-green {\n\t\tbackground-color: var(--ck-content-highlight-marker-green);\n\t}\n.ck-content .marker-pink {\n\t\tbackground-color: var(--ck-content-highlight-marker-pink);\n\t}\n.ck-content .marker-blue {\n\t\tbackground-color: var(--ck-content-highlight-marker-blue);\n\t}\n\n.ck-content .pen-red {\n\t\tcolor: var(--ck-content-highlight-pen-red);\n\n\t\t/* Override default yellow background of `<mark>` from user agent stylesheet */\n\t\tbackground-color: transparent;\n\t}\n.ck-content .pen-green {\n\t\tcolor: var(--ck-content-highlight-pen-green);\n\n\t\t/* Override default yellow background of `<mark>` from user agent stylesheet */\n\t\tbackground-color: transparent;\n\t}\n\n/*# sourceMappingURL=index.css.map */"]}
|
package/dist/index.js
CHANGED
@@ -111,42 +111,42 @@ import { ButtonView, createDropdown, SplitButtonView, addToolbarToDropdown, Menu
|
|
111
111
|
model: 'yellowMarker',
|
112
112
|
class: 'marker-yellow',
|
113
113
|
title: 'Yellow marker',
|
114
|
-
color: 'var(--ck-highlight-marker-yellow)',
|
114
|
+
color: 'var(--ck-content-highlight-marker-yellow)',
|
115
115
|
type: 'marker'
|
116
116
|
},
|
117
117
|
{
|
118
118
|
model: 'greenMarker',
|
119
119
|
class: 'marker-green',
|
120
120
|
title: 'Green marker',
|
121
|
-
color: 'var(--ck-highlight-marker-green)',
|
121
|
+
color: 'var(--ck-content-highlight-marker-green)',
|
122
122
|
type: 'marker'
|
123
123
|
},
|
124
124
|
{
|
125
125
|
model: 'pinkMarker',
|
126
126
|
class: 'marker-pink',
|
127
127
|
title: 'Pink marker',
|
128
|
-
color: 'var(--ck-highlight-marker-pink)',
|
128
|
+
color: 'var(--ck-content-highlight-marker-pink)',
|
129
129
|
type: 'marker'
|
130
130
|
},
|
131
131
|
{
|
132
132
|
model: 'blueMarker',
|
133
133
|
class: 'marker-blue',
|
134
134
|
title: 'Blue marker',
|
135
|
-
color: 'var(--ck-highlight-marker-blue)',
|
135
|
+
color: 'var(--ck-content-highlight-marker-blue)',
|
136
136
|
type: 'marker'
|
137
137
|
},
|
138
138
|
{
|
139
139
|
model: 'redPen',
|
140
140
|
class: 'pen-red',
|
141
141
|
title: 'Red pen',
|
142
|
-
color: 'var(--ck-highlight-pen-red)',
|
142
|
+
color: 'var(--ck-content-highlight-pen-red)',
|
143
143
|
type: 'pen'
|
144
144
|
},
|
145
145
|
{
|
146
146
|
model: 'greenPen',
|
147
147
|
class: 'pen-green',
|
148
148
|
title: 'Green pen',
|
149
|
-
color: 'var(--ck-highlight-pen-green)',
|
149
|
+
color: 'var(--ck-content-highlight-pen-green)',
|
150
150
|
type: 'pen'
|
151
151
|
}
|
152
152
|
]
|
@@ -478,5 +478,5 @@ import { ButtonView, createDropdown, SplitButtonView, addToolbarToDropdown, Menu
|
|
478
478
|
}
|
479
479
|
}
|
480
480
|
|
481
|
-
export { Highlight, HighlightEditing, HighlightUI };
|
481
|
+
export { Highlight, HighlightCommand, HighlightEditing, HighlightUI };
|
482
482
|
//# sourceMappingURL=index.js.map
|
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;AACzF,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC,CAAC,eAAe,CAAC,CAAC,oBAAoB,CAAC,CAAC,eAAe,CAAC,CAAC,mBAAmB,CAAC,CAAC,uBAAuB,CAAC,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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","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;AACzF,MAAM,CAAC,CAAC,CAAC,UAAU,CAA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CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,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,gBAAgB,CAAC,CAAC,WAAW,CAAC,CAAC;AACrE,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-content-highlight-marker-yellow)',\n type: 'marker'\n },\n {\n model: 'greenMarker',\n class: 'marker-green',\n title: 'Green marker',\n color: 'var(--ck-content-highlight-marker-green)',\n type: 'marker'\n },\n {\n model: 'pinkMarker',\n class: 'marker-pink',\n title: 'Pink marker',\n color: 'var(--ck-content-highlight-marker-pink)',\n type: 'marker'\n },\n {\n model: 'blueMarker',\n class: 'marker-blue',\n title: 'Blue marker',\n color: 'var(--ck-content-highlight-marker-blue)',\n type: 'marker'\n },\n {\n model: 'redPen',\n class: 'pen-red',\n title: 'Red pen',\n color: 'var(--ck-content-highlight-pen-red)',\n type: 'pen'\n },\n {\n model: 'greenPen',\n class: 'pen-green',\n title: 'Green pen',\n color: 'var(--ck-content-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, HighlightCommand, 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 { ModelTreeWalkerValue } 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 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: ModelTreeWalkerValue ) => {\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 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-content-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-content-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-content-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-content-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-content-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-content-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 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 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": "
|
3
|
+
"version": "46.0.0-alpha.0",
|
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": "
|
17
|
-
"@ckeditor/ckeditor5-icons": "
|
18
|
-
"@ckeditor/ckeditor5-ui": "
|
19
|
-
"@ckeditor/ckeditor5-utils": "
|
20
|
-
"ckeditor5": "
|
16
|
+
"@ckeditor/ckeditor5-core": "46.0.0-alpha.0",
|
17
|
+
"@ckeditor/ckeditor5-icons": "46.0.0-alpha.0",
|
18
|
+
"@ckeditor/ckeditor5-ui": "46.0.0-alpha.0",
|
19
|
+
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.0",
|
20
|
+
"ckeditor5": "46.0.0-alpha.0"
|
21
21
|
},
|
22
22
|
"author": "CKSource (http://cksource.com/)",
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
package/src/highlight.d.ts
CHANGED
@@ -6,8 +6,8 @@
|
|
6
6
|
* @module highlight/highlight
|
7
7
|
*/
|
8
8
|
import { Plugin } from 'ckeditor5/src/core.js';
|
9
|
-
import HighlightEditing from './highlightediting.js';
|
10
|
-
import HighlightUI from './highlightui.js';
|
9
|
+
import { HighlightEditing } from './highlightediting.js';
|
10
|
+
import { HighlightUI } from './highlightui.js';
|
11
11
|
/**
|
12
12
|
* The highlight plugin.
|
13
13
|
*
|
@@ -16,7 +16,7 @@ import HighlightUI from './highlightui.js';
|
|
16
16
|
* This is a "glue" plugin which loads the {@link module:highlight/highlightediting~HighlightEditing} and
|
17
17
|
* {@link module:highlight/highlightui~HighlightUI} plugins.
|
18
18
|
*/
|
19
|
-
export
|
19
|
+
export declare class Highlight extends Plugin {
|
20
20
|
/**
|
21
21
|
* @inheritDoc
|
22
22
|
*/
|
package/src/highlight.js
CHANGED
@@ -6,8 +6,8 @@
|
|
6
6
|
* @module highlight/highlight
|
7
7
|
*/
|
8
8
|
import { Plugin } from 'ckeditor5/src/core.js';
|
9
|
-
import HighlightEditing from './highlightediting.js';
|
10
|
-
import HighlightUI from './highlightui.js';
|
9
|
+
import { HighlightEditing } from './highlightediting.js';
|
10
|
+
import { HighlightUI } from './highlightui.js';
|
11
11
|
/**
|
12
12
|
* The highlight plugin.
|
13
13
|
*
|
@@ -16,7 +16,7 @@ import HighlightUI from './highlightui.js';
|
|
16
16
|
* This is a "glue" plugin which loads the {@link module:highlight/highlightediting~HighlightEditing} and
|
17
17
|
* {@link module:highlight/highlightui~HighlightUI} plugins.
|
18
18
|
*/
|
19
|
-
export
|
19
|
+
export class Highlight extends Plugin {
|
20
20
|
/**
|
21
21
|
* @inheritDoc
|
22
22
|
*/
|
@@ -18,7 +18,7 @@ import { Command } from 'ckeditor5/src/core.js';
|
|
18
18
|
* inside a text with the highlight attribute, the command will remove the attribute from the entire range
|
19
19
|
* of that text.
|
20
20
|
*/
|
21
|
-
export
|
21
|
+
export declare class HighlightCommand extends Command {
|
22
22
|
/**
|
23
23
|
* A value indicating whether the command is active. If the selection has some highlight attribute,
|
24
24
|
* it corresponds to the value of that attribute.
|
package/src/highlightcommand.js
CHANGED
@@ -18,7 +18,7 @@ import { Command } from 'ckeditor5/src/core.js';
|
|
18
18
|
* inside a text with the highlight attribute, the command will remove the attribute from the entire range
|
19
19
|
* of that text.
|
20
20
|
*/
|
21
|
-
export
|
21
|
+
export class HighlightCommand extends Command {
|
22
22
|
/**
|
23
23
|
* @inheritDoc
|
24
24
|
*/
|
package/src/highlightconfig.d.ts
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
* model: 'pinkMarker',
|
14
14
|
* class: 'marker-pink',
|
15
15
|
* title: 'Pink Marker',
|
16
|
-
* color: 'var(--ck-highlight-marker-pink)',
|
16
|
+
* color: 'var(--ck-content-highlight-marker-pink)',
|
17
17
|
* type: 'marker'
|
18
18
|
* }
|
19
19
|
* ```
|
@@ -66,42 +66,42 @@ export interface HighlightConfig {
|
|
66
66
|
* model: 'yellowMarker',
|
67
67
|
* class: 'marker-yellow',
|
68
68
|
* title: 'Yellow marker',
|
69
|
-
* color: 'var(--ck-highlight-marker-yellow)',
|
69
|
+
* color: 'var(--ck-content-highlight-marker-yellow)',
|
70
70
|
* type: 'marker'
|
71
71
|
* },
|
72
72
|
* {
|
73
73
|
* model: 'greenMarker',
|
74
74
|
* class: 'marker-green',
|
75
75
|
* title: 'Green marker',
|
76
|
-
* color: 'var(--ck-highlight-marker-green)',
|
76
|
+
* color: 'var(--ck-content-highlight-marker-green)',
|
77
77
|
* type: 'marker'
|
78
78
|
* },
|
79
79
|
* {
|
80
80
|
* model: 'pinkMarker',
|
81
81
|
* class: 'marker-pink',
|
82
82
|
* title: 'Pink marker',
|
83
|
-
* color: 'var(--ck-highlight-marker-pink)',
|
83
|
+
* color: 'var(--ck-content-highlight-marker-pink)',
|
84
84
|
* type: 'marker'
|
85
85
|
* },
|
86
86
|
* {
|
87
87
|
* model: 'blueMarker',
|
88
88
|
* class: 'marker-blue',
|
89
89
|
* title: 'Blue marker',
|
90
|
-
* color: 'var(--ck-highlight-marker-blue)',
|
90
|
+
* color: 'var(--ck-content-highlight-marker-blue)',
|
91
91
|
* type: 'marker'
|
92
92
|
* },
|
93
93
|
* {
|
94
94
|
* model: 'redPen',
|
95
95
|
* class: 'pen-red',
|
96
96
|
* title: 'Red pen',
|
97
|
-
* color: 'var(--ck-highlight-pen-red)',
|
97
|
+
* color: 'var(--ck-content-highlight-pen-red)',
|
98
98
|
* type: 'pen'
|
99
99
|
* },
|
100
100
|
* {
|
101
101
|
* model: 'greenPen',
|
102
102
|
* class: 'pen-green',
|
103
103
|
* title: 'Green pen',
|
104
|
-
* color: 'var(--ck-highlight-pen-green)',
|
104
|
+
* color: 'var(--ck-content-highlight-pen-green)',
|
105
105
|
* type: 'pen'
|
106
106
|
* }
|
107
107
|
* ]
|
@@ -117,12 +117,12 @@ export interface HighlightConfig {
|
|
117
117
|
*
|
118
118
|
* ```css
|
119
119
|
* :root {
|
120
|
-
* --ck-highlight-marker-yellow: #fdfd77;
|
121
|
-
* --ck-highlight-marker-green: #63f963;
|
122
|
-
* --ck-highlight-marker-pink: #fc7999;
|
123
|
-
* --ck-highlight-marker-blue: #72cdfd;
|
124
|
-
* --ck-highlight-pen-red: #e91313;
|
125
|
-
* --ck-highlight-pen-green: #118800;
|
120
|
+
* --ck-content-highlight-marker-yellow: #fdfd77;
|
121
|
+
* --ck-content-highlight-marker-green: #63f963;
|
122
|
+
* --ck-content-highlight-marker-pink: #fc7999;
|
123
|
+
* --ck-content-highlight-marker-blue: #72cdfd;
|
124
|
+
* --ck-content-highlight-pen-red: #e91313;
|
125
|
+
* --ck-content-highlight-pen-green: #118800;
|
126
126
|
* }
|
127
127
|
*
|
128
128
|
* .marker-yellow { ... }
|
@@ -150,14 +150,14 @@ export interface HighlightConfig {
|
|
150
150
|
* model: 'pinkMarker',
|
151
151
|
* class: 'marker-pink',
|
152
152
|
* title: 'Pink Marker',
|
153
|
-
* color: 'var(--ck-highlight-marker-pink)',
|
153
|
+
* color: 'var(--ck-content-highlight-marker-pink)',
|
154
154
|
* type: 'marker'
|
155
155
|
* },
|
156
156
|
* {
|
157
157
|
* model: 'redPen',
|
158
158
|
* class: 'pen-red',
|
159
159
|
* title: 'Red Pen',
|
160
|
-
* color: 'var(--ck-highlight-pen-red)',
|
160
|
+
* color: 'var(--ck-content-highlight-pen-red)',
|
161
161
|
* type: 'pen'
|
162
162
|
* },
|
163
163
|
* ]
|
@@ -12,7 +12,7 @@ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
12
12
|
* as a `<mark>` element with a `class` attribute (`<mark class="marker-green">...</mark>`) depending
|
13
13
|
* on the {@link module:highlight/highlightconfig~HighlightConfig configuration}.
|
14
14
|
*/
|
15
|
-
export
|
15
|
+
export declare class HighlightEditing extends Plugin {
|
16
16
|
/**
|
17
17
|
* @inheritDoc
|
18
18
|
*/
|
package/src/highlightediting.js
CHANGED
@@ -6,14 +6,14 @@
|
|
6
6
|
* @module highlight/highlightediting
|
7
7
|
*/
|
8
8
|
import { Plugin } from 'ckeditor5/src/core.js';
|
9
|
-
import HighlightCommand from './highlightcommand.js';
|
9
|
+
import { HighlightCommand } from './highlightcommand.js';
|
10
10
|
/**
|
11
11
|
* The highlight editing feature. It introduces the {@link module:highlight/highlightcommand~HighlightCommand command} and the `highlight`
|
12
12
|
* attribute in the {@link module:engine/model/model~Model model} which renders in the {@link module:engine/view/view view}
|
13
13
|
* as a `<mark>` element with a `class` attribute (`<mark class="marker-green">...</mark>`) depending
|
14
14
|
* on the {@link module:highlight/highlightconfig~HighlightConfig configuration}.
|
15
15
|
*/
|
16
|
-
export
|
16
|
+
export class HighlightEditing extends Plugin {
|
17
17
|
/**
|
18
18
|
* @inheritDoc
|
19
19
|
*/
|
@@ -37,42 +37,42 @@ export default class HighlightEditing extends Plugin {
|
|
37
37
|
model: 'yellowMarker',
|
38
38
|
class: 'marker-yellow',
|
39
39
|
title: 'Yellow marker',
|
40
|
-
color: 'var(--ck-highlight-marker-yellow)',
|
40
|
+
color: 'var(--ck-content-highlight-marker-yellow)',
|
41
41
|
type: 'marker'
|
42
42
|
},
|
43
43
|
{
|
44
44
|
model: 'greenMarker',
|
45
45
|
class: 'marker-green',
|
46
46
|
title: 'Green marker',
|
47
|
-
color: 'var(--ck-highlight-marker-green)',
|
47
|
+
color: 'var(--ck-content-highlight-marker-green)',
|
48
48
|
type: 'marker'
|
49
49
|
},
|
50
50
|
{
|
51
51
|
model: 'pinkMarker',
|
52
52
|
class: 'marker-pink',
|
53
53
|
title: 'Pink marker',
|
54
|
-
color: 'var(--ck-highlight-marker-pink)',
|
54
|
+
color: 'var(--ck-content-highlight-marker-pink)',
|
55
55
|
type: 'marker'
|
56
56
|
},
|
57
57
|
{
|
58
58
|
model: 'blueMarker',
|
59
59
|
class: 'marker-blue',
|
60
60
|
title: 'Blue marker',
|
61
|
-
color: 'var(--ck-highlight-marker-blue)',
|
61
|
+
color: 'var(--ck-content-highlight-marker-blue)',
|
62
62
|
type: 'marker'
|
63
63
|
},
|
64
64
|
{
|
65
65
|
model: 'redPen',
|
66
66
|
class: 'pen-red',
|
67
67
|
title: 'Red pen',
|
68
|
-
color: 'var(--ck-highlight-pen-red)',
|
68
|
+
color: 'var(--ck-content-highlight-pen-red)',
|
69
69
|
type: 'pen'
|
70
70
|
},
|
71
71
|
{
|
72
72
|
model: 'greenPen',
|
73
73
|
class: 'pen-green',
|
74
74
|
title: 'Green pen',
|
75
|
-
color: 'var(--ck-highlight-pen-green)',
|
75
|
+
color: 'var(--ck-content-highlight-pen-green)',
|
76
76
|
type: 'pen'
|
77
77
|
}
|
78
78
|
]
|
package/src/highlightui.d.ts
CHANGED
@@ -25,7 +25,7 @@ import './../theme/highlight.css';
|
|
25
25
|
* See the {@link module:highlight/highlightconfig~HighlightConfig#options configuration} to learn more
|
26
26
|
* about the defaults.
|
27
27
|
*/
|
28
|
-
export
|
28
|
+
export declare class HighlightUI extends Plugin {
|
29
29
|
/**
|
30
30
|
* Returns the localized option titles provided by the plugin.
|
31
31
|
*
|
package/src/highlightui.js
CHANGED
@@ -27,7 +27,7 @@ import './../theme/highlight.css';
|
|
27
27
|
* See the {@link module:highlight/highlightconfig~HighlightConfig#options configuration} to learn more
|
28
28
|
* about the defaults.
|
29
29
|
*/
|
30
|
-
export
|
30
|
+
export class HighlightUI extends Plugin {
|
31
31
|
/**
|
32
32
|
* Returns the localized option titles provided by the plugin.
|
33
33
|
*
|
package/src/index.d.ts
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
/**
|
6
6
|
* @module highlight
|
7
7
|
*/
|
8
|
-
export {
|
9
|
-
export {
|
10
|
-
export {
|
11
|
-
export
|
8
|
+
export { Highlight } from './highlight.js';
|
9
|
+
export { HighlightEditing } from './highlightediting.js';
|
10
|
+
export { HighlightUI } from './highlightui.js';
|
11
|
+
export { HighlightCommand } from './highlightcommand.js';
|
12
12
|
export type { HighlightOption, HighlightConfig } from './highlightconfig.js';
|
13
13
|
import './augmentation.js';
|
package/src/index.js
CHANGED
@@ -5,7 +5,8 @@
|
|
5
5
|
/**
|
6
6
|
* @module highlight
|
7
7
|
*/
|
8
|
-
export {
|
9
|
-
export {
|
10
|
-
export {
|
8
|
+
export { Highlight } from './highlight.js';
|
9
|
+
export { HighlightEditing } from './highlightediting.js';
|
10
|
+
export { HighlightUI } from './highlightui.js';
|
11
|
+
export { HighlightCommand } from './highlightcommand.js';
|
11
12
|
import './augmentation.js';
|
package/theme/highlight.css
CHANGED
@@ -4,23 +4,23 @@
|
|
4
4
|
*/
|
5
5
|
|
6
6
|
:root {
|
7
|
-
--ck-highlight-marker-yellow: hsl(60, 97%, 73%);
|
8
|
-
--ck-highlight-marker-green: hsl(120, 93%, 68%);
|
9
|
-
--ck-highlight-marker-pink: hsl(345, 96%, 73%);
|
10
|
-
--ck-highlight-marker-blue: hsl(201, 97%, 72%);
|
11
|
-
--ck-highlight-pen-red: hsl(0, 85%, 49%);
|
12
|
-
--ck-highlight-pen-green: hsl(112, 100%, 27%);
|
7
|
+
--ck-content-highlight-marker-yellow: hsl(60, 97%, 73%);
|
8
|
+
--ck-content-highlight-marker-green: hsl(120, 93%, 68%);
|
9
|
+
--ck-content-highlight-marker-pink: hsl(345, 96%, 73%);
|
10
|
+
--ck-content-highlight-marker-blue: hsl(201, 97%, 72%);
|
11
|
+
--ck-content-highlight-pen-red: hsl(0, 85%, 49%);
|
12
|
+
--ck-content-highlight-pen-green: hsl(112, 100%, 27%);
|
13
13
|
}
|
14
14
|
|
15
15
|
@define-mixin highlight-marker-color $color {
|
16
16
|
.ck-content .marker-$color {
|
17
|
-
background-color: var(--ck-highlight-marker-$color);
|
17
|
+
background-color: var(--ck-content-highlight-marker-$color);
|
18
18
|
}
|
19
19
|
}
|
20
20
|
|
21
21
|
@define-mixin highlight-pen-color $color {
|
22
22
|
.ck-content .pen-$color {
|
23
|
-
color: var(--ck-highlight-pen-$color);
|
23
|
+
color: var(--ck-content-highlight-pen-$color);
|
24
24
|
|
25
25
|
/* Override default yellow background of `<mark>` from user agent stylesheet */
|
26
26
|
background-color: transparent;
|