@ckeditor/ckeditor5-highlight 34.0.0 → 35.0.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/CHANGELOG.md +154 -0
- package/LICENSE.md +2 -2
- package/build/highlight.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/ms.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -0
- package/build/translations/ur.js +1 -0
- package/lang/translations/ar.po +1 -1
- package/lang/translations/bg.po +53 -0
- package/lang/translations/bn.po +53 -0
- package/lang/translations/ca.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/fi.po +7 -7
- package/lang/translations/fr.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/ms.po +53 -0
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +53 -0
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +53 -0
- package/lang/translations/ur.po +53 -0
- package/package.json +16 -15
- package/src/highlightui.js +9 -4
- package/build/highlight.js.map +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
Changelog
|
|
2
|
+
=========
|
|
3
|
+
|
|
4
|
+
All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
|
|
5
|
+
|
|
6
|
+
Changes for the past releases are available below.
|
|
7
|
+
|
|
8
|
+
## [19.0.0](https://github.com/ckeditor/ckeditor5-highlight/compare/v18.0.0...v19.0.0) (2020-04-29)
|
|
9
|
+
|
|
10
|
+
### Other changes
|
|
11
|
+
|
|
12
|
+
* Updated translations. ([d38fb8b](https://github.com/ckeditor/ckeditor5-highlight/commit/d38fb8b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [18.0.0](https://github.com/ckeditor/ckeditor5-highlight/compare/v17.0.0...v18.0.0) (2020-03-19)
|
|
16
|
+
|
|
17
|
+
### Other changes
|
|
18
|
+
|
|
19
|
+
* Updated translations. ([e7398fe](https://github.com/ckeditor/ckeditor5-highlight/commit/e7398fe))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [17.0.0](https://github.com/ckeditor/ckeditor5-highlight/compare/v16.0.0...v17.0.0) (2020-02-19)
|
|
23
|
+
|
|
24
|
+
### Other changes
|
|
25
|
+
|
|
26
|
+
* Updated translations. ([d016764](https://github.com/ckeditor/ckeditor5-highlight/commit/d016764))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [16.0.0](https://github.com/ckeditor/ckeditor5-highlight/compare/v15.0.0...v16.0.0) (2019-12-04)
|
|
30
|
+
|
|
31
|
+
### Bug fixes
|
|
32
|
+
|
|
33
|
+
* Highlight styles should be prefixed with the `.ck-content` class. Closes [ckeditor/ckeditor5#5677](https://github.com/ckeditor/ckeditor5/issues/5677). ([658baa4](https://github.com/ckeditor/ckeditor5-highlight/commit/658baa4))
|
|
34
|
+
|
|
35
|
+
### Other changes
|
|
36
|
+
|
|
37
|
+
* Updated translations. ([65c337a](https://github.com/ckeditor/ckeditor5-highlight/commit/65c337a))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
## [15.0.0](https://github.com/ckeditor/ckeditor5-highlight/compare/v11.0.5...v15.0.0) (2019-10-23)
|
|
41
|
+
|
|
42
|
+
### Other changes
|
|
43
|
+
|
|
44
|
+
* Added `pluginName` property. ([824dcc1](https://github.com/ckeditor/ckeditor5-highlight/commit/824dcc1))
|
|
45
|
+
* Updated translations. ([ac64146](https://github.com/ckeditor/ckeditor5-highlight/commit/ac64146)) ([d87a3ee](https://github.com/ckeditor/ckeditor5-highlight/commit/d87a3ee))
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## [11.0.5](https://github.com/ckeditor/ckeditor5-highlight/compare/v11.0.4...v11.0.5) (2019-08-26)
|
|
49
|
+
|
|
50
|
+
### Bug fixes
|
|
51
|
+
|
|
52
|
+
* The UI buttons should be marked as toggleable for better assistive technologies support (see [ckeditor/ckeditor5#1403](https://github.com/ckeditor/ckeditor5/issues/1403)). ([1645f26](https://github.com/ckeditor/ckeditor5-highlight/commit/1645f26))
|
|
53
|
+
|
|
54
|
+
### Other changes
|
|
55
|
+
|
|
56
|
+
* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([ff24619](https://github.com/ckeditor/ckeditor5-highlight/commit/ff24619))
|
|
57
|
+
* The text highlight toolbar should have a proper `aria-label` attribute (see [ckeditor/ckeditor5#1404](https://github.com/ckeditor/ckeditor5/issues/1404)). ([3ee2ea0](https://github.com/ckeditor/ckeditor5-highlight/commit/3ee2ea0))
|
|
58
|
+
* Updated translations. ([e0138f6](https://github.com/ckeditor/ckeditor5-highlight/commit/e0138f6))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
## [11.0.4](https://github.com/ckeditor/ckeditor5-highlight/compare/v11.0.3...v11.0.4) (2019-07-10)
|
|
62
|
+
|
|
63
|
+
Internal changes only (updated dependencies, documentation, etc.).
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
## [11.0.3](https://github.com/ckeditor/ckeditor5-highlight/compare/v11.0.2...v11.0.3) (2019-07-04)
|
|
67
|
+
|
|
68
|
+
Internal changes only (updated dependencies, documentation, etc.).
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
## [11.0.2](https://github.com/ckeditor/ckeditor5-highlight/compare/v11.0.1...v11.0.2) (2019-06-05)
|
|
72
|
+
|
|
73
|
+
### Other changes
|
|
74
|
+
|
|
75
|
+
* Updated translations. ([6128b76](https://github.com/ckeditor/ckeditor5-highlight/commit/6128b76))
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## [11.0.1](https://github.com/ckeditor/ckeditor5-highlight/compare/v11.0.0...v11.0.1) (2019-04-10)
|
|
79
|
+
|
|
80
|
+
### Other changes
|
|
81
|
+
|
|
82
|
+
* Optimized icons. ([63c9d45](https://github.com/ckeditor/ckeditor5-highlight/commit/63c9d45))
|
|
83
|
+
* Updated translations. ([6695a99](https://github.com/ckeditor/ckeditor5-highlight/commit/6695a99))
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
## [11.0.0](https://github.com/ckeditor/ckeditor5-highlight/compare/v10.0.4...v11.0.0) (2019-02-28)
|
|
87
|
+
|
|
88
|
+
### Other changes
|
|
89
|
+
|
|
90
|
+
* Updated translations. ([0a74553](https://github.com/ckeditor/ckeditor5-highlight/commit/0a74553)) ([0b5d7a1](https://github.com/ckeditor/ckeditor5-highlight/commit/0b5d7a1))
|
|
91
|
+
|
|
92
|
+
### BREAKING CHANGES
|
|
93
|
+
|
|
94
|
+
* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
## [10.0.4](https://github.com/ckeditor/ckeditor5-highlight/compare/v10.0.3...v10.0.4) (2018-12-05)
|
|
98
|
+
|
|
99
|
+
### Other changes
|
|
100
|
+
|
|
101
|
+
* Improved SVG icons size. See [ckeditor/ckeditor5-theme-lark#206](https://github.com/ckeditor/ckeditor5-theme-lark/issues/206). ([70c99a7](https://github.com/ckeditor/ckeditor5-highlight/commit/70c99a7))
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
## [10.0.3](https://github.com/ckeditor/ckeditor5-highlight/compare/v10.0.2...v10.0.3) (2018-10-08)
|
|
105
|
+
|
|
106
|
+
### Other changes
|
|
107
|
+
|
|
108
|
+
* Updated translations. ([01fde3f](https://github.com/ckeditor/ckeditor5-highlight/commit/01fde3f))
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
## [10.0.2](https://github.com/ckeditor/ckeditor5-highlight/compare/v10.0.1...v10.0.2) (2018-07-18)
|
|
112
|
+
|
|
113
|
+
### Other changes
|
|
114
|
+
|
|
115
|
+
* Updated translations. ([a48a8c1](https://github.com/ckeditor/ckeditor5-highlight/commit/a48a8c1))
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
## [10.0.1](https://github.com/ckeditor/ckeditor5-highlight/compare/v10.0.0...v10.0.1) (2018-06-21)
|
|
119
|
+
|
|
120
|
+
### Other changes
|
|
121
|
+
|
|
122
|
+
* Updated translations. ([03f079a](https://github.com/ckeditor/ckeditor5-highlight/commit/03f079a))
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
## [10.0.0](https://github.com/ckeditor/ckeditor5-highlight/compare/v1.0.0-beta.4...v10.0.0) (2018-04-25)
|
|
126
|
+
|
|
127
|
+
### Other changes
|
|
128
|
+
|
|
129
|
+
* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([a7e3a92](https://github.com/ckeditor/ckeditor5-highlight/commit/a7e3a92))
|
|
130
|
+
* Updated translations. ([b11189f](https://github.com/ckeditor/ckeditor5-highlight/commit/b11189f))
|
|
131
|
+
|
|
132
|
+
### BREAKING CHANGES
|
|
133
|
+
|
|
134
|
+
* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-highlight/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018-04-19)
|
|
138
|
+
|
|
139
|
+
### Other changes
|
|
140
|
+
|
|
141
|
+
* Updated translations. ([479fe41](https://github.com/ckeditor/ckeditor5-highlight/commit/479fe41))
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-highlight/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018-04-10)
|
|
145
|
+
|
|
146
|
+
Internal changes only (updated dependencies, documentation, etc.).
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-highlight/compare/v0.0.1...v1.0.0-beta.1) (2018-03-15)
|
|
150
|
+
|
|
151
|
+
### Features
|
|
152
|
+
|
|
153
|
+
* Implemented the user interface of the highlight feature. Closes [#3](https://github.com/ckeditor/ckeditor5-highlight/issues/3). Closes [#4](https://github.com/ckeditor/ckeditor5-highlight/issues/4). ([7ddd2ea](https://github.com/ckeditor/ckeditor5-highlight/commit/7ddd2ea))
|
|
154
|
+
* Initial implementation of highlight editing. Closes [#1](https://github.com/ckeditor/ckeditor5-highlight/issues/1). ([5c687cf](https://github.com/ckeditor/ckeditor5-highlight/commit/5c687cf))
|
package/LICENSE.md
CHANGED
|
@@ -2,7 +2,7 @@ Software License Agreement
|
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
4
|
**CKEditor 5 highlight feature** – https://github.com/ckeditor/ckeditor5-highlight <br>
|
|
5
|
-
Copyright (c) 2003-2022, [CKSource
|
|
5
|
+
Copyright (c) 2003-2022, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
|
6
6
|
|
|
7
7
|
Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
|
|
8
8
|
|
|
@@ -14,4 +14,4 @@ Where not otherwise indicated, all CKEditor content is authored by CKSource engi
|
|
|
14
14
|
Trademarks
|
|
15
15
|
----------
|
|
16
16
|
|
|
17
|
-
**CKEditor** is a trademark of [CKSource
|
|
17
|
+
**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
|
package/build/highlight.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={458:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var r=i(609),n=i.n(r)()((function(e){return e[1]}));n.push([e.id,":root{--ck-highlight-marker-yellow:#fdfd77;--ck-highlight-marker-green:#62f962;--ck-highlight-marker-pink:#fc7899;--ck-highlight-marker-blue:#72ccfd;--ck-highlight-pen-red:#e71313;--ck-highlight-pen-green:#128a00}.ck-content .marker-yellow{background-color:var(--ck-highlight-marker-yellow)}.ck-content .marker-green{background-color:var(--ck-highlight-marker-green)}.ck-content .marker-pink{background-color:var(--ck-highlight-marker-pink)}.ck-content .marker-blue{background-color:var(--ck-highlight-marker-blue)}.ck-content .pen-red{background-color:transparent;color:var(--ck-highlight-pen-red)}.ck-content .pen-green{background-color:transparent;color:var(--ck-highlight-pen-green)}",""]);const o=n},609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,r){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(r)for(var o=0;o<this.length;o++){var l=this[o][0];null!=l&&(n[l]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);r&&n[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),t.push(c))}},t}},62:(e,t,i)=>{"use strict";var r,n=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),l=[];function a(e){for(var t=-1,i=0;i<l.length;i++)if(l[i].identifier===e){t=i;break}return t}function c(e,t){for(var i={},r=[],n=0;n<e.length;n++){var o=e[n],c=t.base?o[0]+t.base:o[0],s=i[c]||0,h="".concat(c," ").concat(s);i[c]=s+1;var g=a(h),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==g?(l[g].references++,l[g].updater(d)):l.push({identifier:h,updater:f(d,t),references:1}),r.push(h)}return r}function s(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var n=i.nc;n&&(r.nonce=n)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var l=o(e.insert||"head");if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(t)}return t}var h,g=(h=[],function(e,t){return h[e]=t,h.filter(Boolean).join("\n")});function d(e,t,i,r){var n=i?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,n);else{var o=document.createTextNode(n),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(o,l[t]):e.appendChild(o)}}function u(e,t,i){var r=i.css,n=i.media,o=i.sourceMap;if(n?e.setAttribute("media",n):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var m=null,p=0;function f(e,t){var i,r,n;if(t.singleton){var o=p++;i=m||(m=s(t)),r=d.bind(null,i,o,!1),n=d.bind(null,i,o,!0)}else i=s(t),r=u.bind(null,i,t),n=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else n()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=n());var i=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<i.length;r++){var n=a(i[r]);l[n].references--}for(var o=c(e,t),s=0;s<i.length;s++){var h=a(i[s]);0===l[h].references&&(l[h].updater(),l.splice(h,1))}i=o}}}},704:(e,t,i)=>{e.exports=i(79)("./src/core.js")},273:(e,t,i)=>{e.exports=i(79)("./src/ui.js")},79:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(r){var n=t[r];if(void 0!==n)return n.exports;var o=t[r]={id:r,exports:{}};return e[r](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{"use strict";i.r(r),i.d(r,{Highlight:()=>d,HighlightEditing:()=>n,HighlightUI:()=>h});var e=i(704);class t extends e.Command{refresh(){const e=this.editor.model,t=e.document;this.value=t.selection.getAttribute("highlight"),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"highlight")}execute(e={}){const t=this.editor.model,i=t.document.selection,r=e.value;t.change((e=>{if(i.isCollapsed){const t=i.getFirstPosition();if(i.hasAttribute("highlight")){const i=e=>e.item.hasAttribute("highlight")&&e.item.getAttribute("highlight")===this.value,n=t.getLastMatchingPosition(i,{direction:"backward"}),o=t.getLastMatchingPosition(i),l=e.createRange(n,o);r&&this.value!==r?(t.isEqual(o)||e.setAttribute("highlight",r,l),e.setSelectionAttribute("highlight",r)):(t.isEqual(o)||e.removeAttribute("highlight",l),e.removeSelectionAttribute("highlight"))}else r&&e.setSelectionAttribute("highlight",r)}else{const n=t.schema.getValidRanges(i.getRanges(),"highlight");for(const t of n)r?e.setAttribute("highlight",r,t):e.removeAttribute("highlight",t)}}))}}class n extends e.Plugin{static get pluginName(){return"HighlightEditing"}constructor(e){super(e),e.config.define("highlight",{options:[{model:"yellowMarker",class:"marker-yellow",title:"Yellow marker",color:"var(--ck-highlight-marker-yellow)",type:"marker"},{model:"greenMarker",class:"marker-green",title:"Green marker",color:"var(--ck-highlight-marker-green)",type:"marker"},{model:"pinkMarker",class:"marker-pink",title:"Pink marker",color:"var(--ck-highlight-marker-pink)",type:"marker"},{model:"blueMarker",class:"marker-blue",title:"Blue marker",color:"var(--ck-highlight-marker-blue)",type:"marker"},{model:"redPen",class:"pen-red",title:"Red pen",color:"var(--ck-highlight-pen-red)",type:"pen"},{model:"greenPen",class:"pen-green",title:"Green pen",color:"var(--ck-highlight-pen-green)",type:"pen"}]})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:"highlight"});const i=e.config.get("highlight.options");e.conversion.attributeToElement(function(e){const t={model:{key:"highlight",values:[]},view:{}};for(const i of e)t.model.values.push(i.model),t.view[i.model]={name:"mark",classes:i.class};return t}(i)),e.commands.add("highlight",new t(e))}}var o=i(273);var l=i(62),a=i.n(l),c=i(458),s={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};a()(c.Z,s);c.Z.locals;class h extends e.Plugin{get localizedOptionTitles(){const e=this.editor.t;return{"Yellow marker":e("Yellow marker"),"Green marker":e("Green marker"),"Pink marker":e("Pink marker"),"Blue marker":e("Blue marker"),"Red pen":e("Red pen"),"Green pen":e("Green pen")}}static get pluginName(){return"HighlightUI"}init(){const e=this.editor.config.get("highlight.options");for(const t of e)this._addHighlighterButton(t);this._addRemoveHighlightButton(),this._addDropdown(e)}_addRemoveHighlightButton(){const t=this.editor.t,i=this.editor.commands.get("highlight");this._addButton("removeHighlight",t("Remove highlight"),e.icons.eraser,null,(e=>{e.bind("isEnabled").to(i,"isEnabled")}))}_addHighlighterButton(e){const t=this.editor.commands.get("highlight");this._addButton("highlight:"+e.model,e.title,g(e.type),e.model,(function(i){i.bind("isEnabled").to(t,"isEnabled"),i.bind("isOn").to(t,"value",(t=>t===e.model)),i.iconView.fillColor=e.color,i.isToggleable=!0}))}_addButton(e,t,i,r,n){const l=this.editor;l.ui.componentFactory.add(e,(e=>{const a=new o.ButtonView(e),c=this.localizedOptionTitles[t]?this.localizedOptionTitles[t]:t;return a.set({label:c,icon:i,tooltip:!0}),a.on("execute",(()=>{l.execute("highlight",{value:r}),l.editing.view.focus()})),n(a),a}))}_addDropdown(e){const t=this.editor,i=t.t,r=t.ui.componentFactory,n=e[0],l=e.reduce(((e,t)=>(e[t.model]=t,e)),{});r.add("highlight",(a=>{const c=t.commands.get("highlight"),s=(0,o.createDropdown)(a,o.SplitButtonView),h=s.buttonView;h.set({tooltip:i("Highlight"),lastExecuted:n.model,commandValue:n.model,isToggleable:!0}),h.bind("icon").to(c,"value",(e=>g(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);const d=e.map((e=>{const t=r.create("highlight:"+e.model);return this.listenTo(t,"execute",(()=>s.buttonView.set({lastExecuted:e.model}))),t}));function u(e,t){const i=e&&e!==h.lastExecuted?e:h.lastExecuted;return l[i][t]}return s.bind("isEnabled").toMany(d,"isEnabled",((...e)=>e.some((e=>e)))),d.push(new o.ToolbarSeparatorView),d.push(r.create("removeHighlight")),(0,o.addToolbarToDropdown)(s,d),function(e){e.buttonView.actionView.iconView.bind("fillColor").to(e.buttonView,"color")}(s),s.toolbarView.ariaLabel=i("Text highlight toolbar"),h.on("execute",(()=>{t.execute("highlight",{value:h.commandValue}),t.editing.view.focus()})),s}))}}function g(e){return"marker"===e?'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path class="ck-icon__fill" d="M10.798 1.59 3.002 12.875l1.895 1.852 2.521 1.402 6.997-12.194z"/><path d="m2.556 16.727.234-.348c-.297-.151-.462-.293-.498-.426-.036-.137.002-.416.115-.837.094-.25.15-.449.169-.595a4.495 4.495 0 0 0 0-.725c-.209-.621-.303-1.041-.284-1.26.02-.218.178-.506.475-.862l6.77-9.414c.539-.91 1.605-.85 3.199.18 1.594 1.032 2.188 1.928 1.784 2.686l-5.877 10.36c-.158.412-.333.673-.526.782-.193.108-.604.179-1.232.21-.362.131-.608.237-.738.318-.13.081-.305.238-.526.47-.293.265-.504.397-.632.397-.096 0-.27-.075-.524-.226l-.31.41-1.6-1.12zm-.279.415 1.575 1.103-.392.515H1.19l1.087-1.618zm8.1-13.656-4.953 6.9L8.75 12.57l4.247-7.574c.175-.25-.188-.647-1.092-1.192-.903-.546-1.412-.652-1.528-.32zM8.244 18.5 9.59 17h9.406v1.5H8.245z"/></svg>':'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path class="ck-icon__fill" d="M10.126 2.268 2.002 13.874l1.895 1.852 2.521 1.402L14.47 5.481l-1.543-2.568-2.801-.645z"/><path d="m4.5 18.088-2.645-1.852-.04-2.95-.006-.005.006-.008v-.025l.011.008L8.73 2.97c.165-.233.356-.417.567-.557l-1.212.308L4.604 7.9l-.83-.558 3.694-5.495 2.708-.69 1.65 1.145.046.018.85-1.216 2.16 1.512-.856 1.222c.828.967 1.144 2.141.432 3.158L7.55 17.286l.006.005-3.055.797H4.5zm-.634.166-1.976.516-.026-1.918 2.002 1.402zM9.968 3.817l-.006-.004-6.123 9.184 3.277 2.294 6.108-9.162.005.003c.317-.452-.16-1.332-1.064-1.966-.891-.624-1.865-.776-2.197-.349zM8.245 18.5 9.59 17h9.406v1.5H8.245z"/></svg>'}class d extends e.Plugin{static get requires(){return[n,h]}static get pluginName(){return"Highlight"}}})(),(window.CKEditor5=window.CKEditor5||{}).highlight=r})();
|
|
5
|
+
*/(()=>{var e={458:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var r=i(609),n=i.n(r)()((function(e){return e[1]}));n.push([e.id,":root{--ck-highlight-marker-yellow:#fdfd77;--ck-highlight-marker-green:#62f962;--ck-highlight-marker-pink:#fc7899;--ck-highlight-marker-blue:#72ccfd;--ck-highlight-pen-red:#e71313;--ck-highlight-pen-green:#128a00}.ck-content .marker-yellow{background-color:var(--ck-highlight-marker-yellow)}.ck-content .marker-green{background-color:var(--ck-highlight-marker-green)}.ck-content .marker-pink{background-color:var(--ck-highlight-marker-pink)}.ck-content .marker-blue{background-color:var(--ck-highlight-marker-blue)}.ck-content .pen-red{background-color:transparent;color:var(--ck-highlight-pen-red)}.ck-content .pen-green{background-color:transparent;color:var(--ck-highlight-pen-green)}",""]);const o=n},609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,r){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(r)for(var o=0;o<this.length;o++){var l=this[o][0];null!=l&&(n[l]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);r&&n[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),t.push(c))}},t}},62:(e,t,i)=>{"use strict";var r,n=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),l=[];function a(e){for(var t=-1,i=0;i<l.length;i++)if(l[i].identifier===e){t=i;break}return t}function c(e,t){for(var i={},r=[],n=0;n<e.length;n++){var o=e[n],c=t.base?o[0]+t.base:o[0],s=i[c]||0,h="".concat(c," ").concat(s);i[c]=s+1;var g=a(h),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==g?(l[g].references++,l[g].updater(d)):l.push({identifier:h,updater:v(d,t),references:1}),r.push(h)}return r}function s(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var n=i.nc;n&&(r.nonce=n)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var l=o(e.insert||"head");if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(t)}return t}var h,g=(h=[],function(e,t){return h[e]=t,h.filter(Boolean).join("\n")});function d(e,t,i,r){var n=i?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,n);else{var o=document.createTextNode(n),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(o,l[t]):e.appendChild(o)}}function u(e,t,i){var r=i.css,n=i.media,o=i.sourceMap;if(n?e.setAttribute("media",n):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var m=null,p=0;function v(e,t){var i,r,n;if(t.singleton){var o=p++;i=m||(m=s(t)),r=d.bind(null,i,o,!1),n=d.bind(null,i,o,!0)}else i=s(t),r=u.bind(null,i,t),n=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else n()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=n());var i=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<i.length;r++){var n=a(i[r]);l[n].references--}for(var o=c(e,t),s=0;s<i.length;s++){var h=a(i[s]);0===l[h].references&&(l[h].updater(),l.splice(h,1))}i=o}}}},704:(e,t,i)=>{e.exports=i(79)("./src/core.js")},273:(e,t,i)=>{e.exports=i(79)("./src/ui.js")},79:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(r){var n=t[r];if(void 0!==n)return n.exports;var o=t[r]={id:r,exports:{}};return e[r](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var r={};(()=>{"use strict";i.r(r),i.d(r,{Highlight:()=>d,HighlightEditing:()=>n,HighlightUI:()=>h});var e=i(704);class t extends e.Command{refresh(){const e=this.editor.model,t=e.document;this.value=t.selection.getAttribute("highlight"),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"highlight")}execute(e={}){const t=this.editor.model,i=t.document.selection,r=e.value;t.change((e=>{if(i.isCollapsed){const t=i.getFirstPosition();if(i.hasAttribute("highlight")){const i=e=>e.item.hasAttribute("highlight")&&e.item.getAttribute("highlight")===this.value,n=t.getLastMatchingPosition(i,{direction:"backward"}),o=t.getLastMatchingPosition(i),l=e.createRange(n,o);r&&this.value!==r?(t.isEqual(o)||e.setAttribute("highlight",r,l),e.setSelectionAttribute("highlight",r)):(t.isEqual(o)||e.removeAttribute("highlight",l),e.removeSelectionAttribute("highlight"))}else r&&e.setSelectionAttribute("highlight",r)}else{const n=t.schema.getValidRanges(i.getRanges(),"highlight");for(const t of n)r?e.setAttribute("highlight",r,t):e.removeAttribute("highlight",t)}}))}}class n extends e.Plugin{static get pluginName(){return"HighlightEditing"}constructor(e){super(e),e.config.define("highlight",{options:[{model:"yellowMarker",class:"marker-yellow",title:"Yellow marker",color:"var(--ck-highlight-marker-yellow)",type:"marker"},{model:"greenMarker",class:"marker-green",title:"Green marker",color:"var(--ck-highlight-marker-green)",type:"marker"},{model:"pinkMarker",class:"marker-pink",title:"Pink marker",color:"var(--ck-highlight-marker-pink)",type:"marker"},{model:"blueMarker",class:"marker-blue",title:"Blue marker",color:"var(--ck-highlight-marker-blue)",type:"marker"},{model:"redPen",class:"pen-red",title:"Red pen",color:"var(--ck-highlight-pen-red)",type:"pen"},{model:"greenPen",class:"pen-green",title:"Green pen",color:"var(--ck-highlight-pen-green)",type:"pen"}]})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:"highlight"});const i=e.config.get("highlight.options");e.conversion.attributeToElement(function(e){const t={model:{key:"highlight",values:[]},view:{}};for(const i of e)t.model.values.push(i.model),t.view[i.model]={name:"mark",classes:i.class};return t}(i)),e.commands.add("highlight",new t(e))}}var o=i(273);var l=i(62),a=i.n(l),c=i(458),s={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};a()(c.Z,s);c.Z.locals;class h extends e.Plugin{get localizedOptionTitles(){const e=this.editor.t;return{"Yellow marker":e("Yellow marker"),"Green marker":e("Green marker"),"Pink marker":e("Pink marker"),"Blue marker":e("Blue marker"),"Red pen":e("Red pen"),"Green pen":e("Green pen")}}static get pluginName(){return"HighlightUI"}init(){const e=this.editor.config.get("highlight.options");for(const t of e)this._addHighlighterButton(t);this._addRemoveHighlightButton(),this._addDropdown(e)}_addRemoveHighlightButton(){const t=this.editor.t,i=this.editor.commands.get("highlight");this._addButton("removeHighlight",t("Remove highlight"),e.icons.eraser,null,(e=>{e.bind("isEnabled").to(i,"isEnabled")}))}_addHighlighterButton(e){const t=this.editor.commands.get("highlight");this._addButton("highlight:"+e.model,e.title,g(e.type),e.model,(function(i){i.bind("isEnabled").to(t,"isEnabled"),i.bind("isOn").to(t,"value",(t=>t===e.model)),i.iconView.fillColor=e.color,i.isToggleable=!0}))}_addButton(e,t,i,r,n){const l=this.editor;l.ui.componentFactory.add(e,(e=>{const a=new o.ButtonView(e),c=this.localizedOptionTitles[t]?this.localizedOptionTitles[t]:t;return a.set({label:c,icon:i,tooltip:!0}),a.on("execute",(()=>{l.execute("highlight",{value:r}),l.editing.view.focus()})),n(a),a}))}_addDropdown(e){const t=this.editor,i=t.t,r=t.ui.componentFactory,n=e[0],l=e.reduce(((e,t)=>(e[t.model]=t,e)),{});r.add("highlight",(a=>{const c=t.commands.get("highlight"),s=(0,o.createDropdown)(a,o.SplitButtonView),h=s.buttonView;h.set({label:i("Highlight"),tooltip:!0,lastExecuted:n.model,commandValue:n.model,isToggleable:!0}),h.bind("icon").to(c,"value",(e=>g(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);const d=e.map((e=>{const t=r.create("highlight:"+e.model);return this.listenTo(t,"execute",(()=>{s.buttonView.set({lastExecuted:e.model})})),t}));function u(e,t){const i=e&&e!==h.lastExecuted?e:h.lastExecuted;return l[i][t]}return s.bind("isEnabled").toMany(d,"isEnabled",((...e)=>e.some((e=>e)))),d.push(new o.ToolbarSeparatorView),d.push(r.create("removeHighlight")),(0,o.addToolbarToDropdown)(s,d,{enableActiveItemFocusOnDropdownOpen:!0}),function(e){e.buttonView.actionView.iconView.bind("fillColor").to(e.buttonView,"color")}(s),s.toolbarView.ariaLabel=i("Text highlight toolbar"),this.listenTo(s,"execute",(()=>{t.execute("highlight",{value:h.commandValue}),t.editing.view.focus()})),s}))}}function g(e){return"marker"===e?'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path class="ck-icon__fill" d="M10.798 1.59 3.002 12.875l1.895 1.852 2.521 1.402 6.997-12.194z"/><path d="m2.556 16.727.234-.348c-.297-.151-.462-.293-.498-.426-.036-.137.002-.416.115-.837.094-.25.15-.449.169-.595a4.495 4.495 0 0 0 0-.725c-.209-.621-.303-1.041-.284-1.26.02-.218.178-.506.475-.862l6.77-9.414c.539-.91 1.605-.85 3.199.18 1.594 1.032 2.188 1.928 1.784 2.686l-5.877 10.36c-.158.412-.333.673-.526.782-.193.108-.604.179-1.232.21-.362.131-.608.237-.738.318-.13.081-.305.238-.526.47-.293.265-.504.397-.632.397-.096 0-.27-.075-.524-.226l-.31.41-1.6-1.12zm-.279.415 1.575 1.103-.392.515H1.19l1.087-1.618zm8.1-13.656-4.953 6.9L8.75 12.57l4.247-7.574c.175-.25-.188-.647-1.092-1.192-.903-.546-1.412-.652-1.528-.32zM8.244 18.5 9.59 17h9.406v1.5H8.245z"/></svg>':'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path class="ck-icon__fill" d="M10.126 2.268 2.002 13.874l1.895 1.852 2.521 1.402L14.47 5.481l-1.543-2.568-2.801-.645z"/><path d="m4.5 18.088-2.645-1.852-.04-2.95-.006-.005.006-.008v-.025l.011.008L8.73 2.97c.165-.233.356-.417.567-.557l-1.212.308L4.604 7.9l-.83-.558 3.694-5.495 2.708-.69 1.65 1.145.046.018.85-1.216 2.16 1.512-.856 1.222c.828.967 1.144 2.141.432 3.158L7.55 17.286l.006.005-3.055.797H4.5zm-.634.166-1.976.516-.026-1.918 2.002 1.402zM9.968 3.817l-.006-.004-6.123 9.184 3.277 2.294 6.108-9.162.005.003c.317-.452-.16-1.332-1.064-1.966-.891-.624-1.865-.776-2.197-.349zM8.245 18.5 9.59 17h9.406v1.5H8.245z"/></svg>'}class d extends e.Plugin{static get requires(){return[n,h]}static get pluginName(){return"Highlight"}}})(),(window.CKEditor5=window.CKEditor5||{}).highlight=r})();
|
package/build/translations/ar.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){const i=e.ar=e.ar||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"تحديد ازرق","Green marker":"تحديد اخضر","Green pen":"قلم اخضر",Highlight:"تحديد","Pink marker":"تحديد وردي","Red pen":"تحديد احمر","Remove highlight":"إزالة التحديد","Text highlight toolbar":"","Yellow marker":"تحديد اصفر"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(e){const i=e.ar=e.ar||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"تحديد ازرق","Green marker":"تحديد اخضر","Green pen":"قلم اخضر",Highlight:"تحديد","Pink marker":"تحديد وردي","Red pen":"تحديد احمر","Remove highlight":"إزالة التحديد","Text highlight toolbar":"شريط أدوات تمييز النص","Yellow marker":"تحديد اصفر"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const i=e.bg=e.bg||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Син маркер","Green marker":"Зелен маркер","Green pen":"Зелена химикалка",Highlight:"Подчертай","Pink marker":"Розов маркер","Red pen":"Червена химикалка","Remove highlight":"Премахни подчертаване","Text highlight toolbar":"Лента за подчертаване на текст","Yellow marker":"Жълт маркер"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const i=e.bn=e.bn||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"নীল মার্কার","Green marker":"সবুজ মার্কার","Green pen":"সবুজ কলম",Highlight:"হাইলাইট","Pink marker":"গোলাপী মার্কার","Red pen":"লাল কলম","Remove highlight":"হাইলাইট মুছুন","Text highlight toolbar":"টেক্সট হাইলাইট টুলবার","Yellow marker":"হলুদ মার্কার"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/ca.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(r){const a=r.ca=r.ca||{};a.dictionary=Object.assign(a.dictionary||{},{"Blue marker":"Marcador blau","Green marker":"Marcador verd","Green pen":"Bolígraf verd",Highlight:"Destacat","Pink marker":"Marcador rosa","Red pen":"Marcador vermell","Remove highlight":"Esborrar destacat","Text highlight toolbar":"","Yellow marker":"Marcador groc"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(r){const a=r.ca=r.ca||{};a.dictionary=Object.assign(a.dictionary||{},{"Blue marker":"Marcador blau","Green marker":"Marcador verd","Green pen":"Bolígraf verd",Highlight:"Destacat","Pink marker":"Marcador rosa","Red pen":"Marcador vermell","Remove highlight":"Esborrar destacat","Text highlight toolbar":"Barra d'eines de ressaltat de text","Yellow marker":"Marcador groc"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/fi.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(i){const e=i.fi=i.fi||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"","Green marker":"","Green pen":"",Highlight:"Korosta","Pink marker":"","Red pen":"","Remove highlight":"Poista korostus","Text highlight toolbar":"","Yellow marker":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(i){const e=i.fi=i.fi||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Sininen tussi","Green marker":"Vihreä tussi","Green pen":"Vihreä kynä",Highlight:"Korosta","Pink marker":"Pinkki tussi","Red pen":"Punainen tussi","Remove highlight":"Poista korostus","Text highlight toolbar":"Tekstinkorostuksen työkalupalkki","Yellow marker":"Keltainen tussi"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/lt.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(i){const e=i.lt=i.lt||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Mėlynas žymeklis","Green marker":"Žalias žymeklis","Green pen":"Žalias žymeklis",Highlight:"Pažymėti žymekliu","Pink marker":"Rožinis žymeklis","Red pen":"Raudonas žymeklis","Remove highlight":"Panaikinti pažymėjimą","Text highlight toolbar":"","Yellow marker":"Geltonas žymeklis"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(i){const e=i.lt=i.lt||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Mėlynas žymeklis","Green marker":"Žalias žymeklis","Green pen":"Žalias žymeklis",Highlight:"Pažymėti žymekliu","Pink marker":"Rožinis žymeklis","Red pen":"Raudonas žymeklis","Remove highlight":"Panaikinti pažymėjimą","Text highlight toolbar":"Teksto paryškinimo įrankių juosta","Yellow marker":"Geltonas žymeklis"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(a){const n=a.ms=a.ms||{};n.dictionary=Object.assign(n.dictionary||{},{"Blue marker":"Penanda biru","Green marker":"Penanda hijau","Green pen":"Pen hijau",Highlight:"Sorotan","Pink marker":"Penanda merah jambu","Red pen":"Pen merah","Remove highlight":"Buang sorotan","Text highlight toolbar":"Bar alat capaian sorotan teks","Yellow marker":"Penanda kuning"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const r=e.pt=e.pt||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Marcador azul","Green marker":"Marcador verde","Green pen":"Caneta verde",Highlight:"Sublinhar","Pink marker":"Marcador rosa","Red pen":"Caneta vermelha","Remove highlight":"Remover ","Text highlight toolbar":"Barra de ferramentas de destaque de texto","Yellow marker":"Marcador amarelo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/sv.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(r){const e=r.sv=r.sv||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Blå markering","Green marker":"Grön markering","Green pen":"Grön penna",Highlight:"Markera","Pink marker":"Rosa markering","Red pen":"Röd penna","Remove highlight":"Ta bort markering","Text highlight toolbar":"","Yellow marker":"Gul markering"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(r){const e=r.sv=r.sv||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Blå markering","Green marker":"Grön markering","Green pen":"Grön penna",Highlight:"Markera","Pink marker":"Rosa markering","Red pen":"Röd penna","Remove highlight":"Ta bort markering","Text highlight toolbar":"Verktygsfält för textmarkering","Yellow marker":"Gul markering"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const i=e.th=e.th||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"มาร์กเกอร์สีน้ำเงิน","Green marker":"มาร์กเกอร์สีเขียว","Green pen":"ปากกาสีเขียว",Highlight:"ไฮไลต์","Pink marker":"มาร์กเกอร์สีชมพู","Red pen":"ปากกาสีแดง","Remove highlight":"ลบไฮไลต์ออก","Text highlight toolbar":"แถบเครื่องมือไฮไลต์ข้อความ","Yellow marker":"มาร์กเกอร์สีเหลือง"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const i=e.ur=e.ur||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"نیلا نشان","Green marker":"سبز نشان","Green pen":"سبز قلم",Highlight:"نمایاں","Pink marker":"گلابی نشان","Red pen":"سرخ قلم","Remove highlight":"غیر نمایاں کریں","Text highlight toolbar":"خانہ آلات برائے نمایاں متن","Yellow marker":"زرد نشان"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/lang/translations/ar.po
CHANGED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Bulgarian (https://www.transifex.com/ckeditor/teams/11143/bg/)\n"
|
|
16
|
+
"Language: bg\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Toolbar button tooltip for applying yellow marker (text highlight)."
|
|
20
|
+
msgid "Yellow marker"
|
|
21
|
+
msgstr "Жълт маркер"
|
|
22
|
+
|
|
23
|
+
msgctxt "Toolbar button tooltip for applying green marker (text highlight)."
|
|
24
|
+
msgid "Green marker"
|
|
25
|
+
msgstr "Зелен маркер"
|
|
26
|
+
|
|
27
|
+
msgctxt "Toolbar button tooltip for applying pink marker (text highlight)."
|
|
28
|
+
msgid "Pink marker"
|
|
29
|
+
msgstr "Розов маркер"
|
|
30
|
+
|
|
31
|
+
msgctxt "Toolbar button tooltip for applying blue marker (text highlight)."
|
|
32
|
+
msgid "Blue marker"
|
|
33
|
+
msgstr "Син маркер"
|
|
34
|
+
|
|
35
|
+
msgctxt "Toolbar button tooltip for applying red pen (text color)."
|
|
36
|
+
msgid "Red pen"
|
|
37
|
+
msgstr "Червена химикалка"
|
|
38
|
+
|
|
39
|
+
msgctxt "Toolbar button tooltip for applying green pen (text color)."
|
|
40
|
+
msgid "Green pen"
|
|
41
|
+
msgstr "Зелена химикалка"
|
|
42
|
+
|
|
43
|
+
msgctxt "Toolbar button tooltip for removing text highlight."
|
|
44
|
+
msgid "Remove highlight"
|
|
45
|
+
msgstr "Премахни подчертаване"
|
|
46
|
+
|
|
47
|
+
msgctxt "Toolbar button tooltip for the text highlight feature."
|
|
48
|
+
msgid "Highlight"
|
|
49
|
+
msgstr "Подчертай"
|
|
50
|
+
|
|
51
|
+
msgctxt "Label used by assistive technologies describing the highlight feature toolbar."
|
|
52
|
+
msgid "Text highlight toolbar"
|
|
53
|
+
msgstr "Лента за подчертаване на текст"
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Bengali (https://www.transifex.com/ckeditor/teams/11143/bn/)\n"
|
|
16
|
+
"Language: bn\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Toolbar button tooltip for applying yellow marker (text highlight)."
|
|
20
|
+
msgid "Yellow marker"
|
|
21
|
+
msgstr "হলুদ মার্কার"
|
|
22
|
+
|
|
23
|
+
msgctxt "Toolbar button tooltip for applying green marker (text highlight)."
|
|
24
|
+
msgid "Green marker"
|
|
25
|
+
msgstr "সবুজ মার্কার"
|
|
26
|
+
|
|
27
|
+
msgctxt "Toolbar button tooltip for applying pink marker (text highlight)."
|
|
28
|
+
msgid "Pink marker"
|
|
29
|
+
msgstr "গোলাপী মার্কার"
|
|
30
|
+
|
|
31
|
+
msgctxt "Toolbar button tooltip for applying blue marker (text highlight)."
|
|
32
|
+
msgid "Blue marker"
|
|
33
|
+
msgstr "নীল মার্কার"
|
|
34
|
+
|
|
35
|
+
msgctxt "Toolbar button tooltip for applying red pen (text color)."
|
|
36
|
+
msgid "Red pen"
|
|
37
|
+
msgstr "লাল কলম"
|
|
38
|
+
|
|
39
|
+
msgctxt "Toolbar button tooltip for applying green pen (text color)."
|
|
40
|
+
msgid "Green pen"
|
|
41
|
+
msgstr "সবুজ কলম"
|
|
42
|
+
|
|
43
|
+
msgctxt "Toolbar button tooltip for removing text highlight."
|
|
44
|
+
msgid "Remove highlight"
|
|
45
|
+
msgstr "হাইলাইট মুছুন"
|
|
46
|
+
|
|
47
|
+
msgctxt "Toolbar button tooltip for the text highlight feature."
|
|
48
|
+
msgid "Highlight"
|
|
49
|
+
msgstr "হাইলাইট"
|
|
50
|
+
|
|
51
|
+
msgctxt "Label used by assistive technologies describing the highlight feature toolbar."
|
|
52
|
+
msgid "Text highlight toolbar"
|
|
53
|
+
msgstr "টেক্সট হাইলাইট টুলবার"
|
package/lang/translations/ca.po
CHANGED
package/lang/translations/es.po
CHANGED
|
@@ -14,7 +14,7 @@ msgid ""
|
|
|
14
14
|
msgstr ""
|
|
15
15
|
"Language-Team: Spanish (https://www.transifex.com/ckeditor/teams/11143/es/)\n"
|
|
16
16
|
"Language: es\n"
|
|
17
|
-
"Plural-Forms: nplurals=
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
18
|
|
|
19
19
|
msgctxt "Toolbar button tooltip for applying yellow marker (text highlight)."
|
|
20
20
|
msgid "Yellow marker"
|
package/lang/translations/fi.po
CHANGED
|
@@ -18,27 +18,27 @@ msgstr ""
|
|
|
18
18
|
|
|
19
19
|
msgctxt "Toolbar button tooltip for applying yellow marker (text highlight)."
|
|
20
20
|
msgid "Yellow marker"
|
|
21
|
-
msgstr ""
|
|
21
|
+
msgstr "Keltainen tussi"
|
|
22
22
|
|
|
23
23
|
msgctxt "Toolbar button tooltip for applying green marker (text highlight)."
|
|
24
24
|
msgid "Green marker"
|
|
25
|
-
msgstr ""
|
|
25
|
+
msgstr "Vihreä tussi"
|
|
26
26
|
|
|
27
27
|
msgctxt "Toolbar button tooltip for applying pink marker (text highlight)."
|
|
28
28
|
msgid "Pink marker"
|
|
29
|
-
msgstr ""
|
|
29
|
+
msgstr "Pinkki tussi"
|
|
30
30
|
|
|
31
31
|
msgctxt "Toolbar button tooltip for applying blue marker (text highlight)."
|
|
32
32
|
msgid "Blue marker"
|
|
33
|
-
msgstr ""
|
|
33
|
+
msgstr "Sininen tussi"
|
|
34
34
|
|
|
35
35
|
msgctxt "Toolbar button tooltip for applying red pen (text color)."
|
|
36
36
|
msgid "Red pen"
|
|
37
|
-
msgstr ""
|
|
37
|
+
msgstr "Punainen tussi"
|
|
38
38
|
|
|
39
39
|
msgctxt "Toolbar button tooltip for applying green pen (text color)."
|
|
40
40
|
msgid "Green pen"
|
|
41
|
-
msgstr ""
|
|
41
|
+
msgstr "Vihreä kynä"
|
|
42
42
|
|
|
43
43
|
msgctxt "Toolbar button tooltip for removing text highlight."
|
|
44
44
|
msgid "Remove highlight"
|
|
@@ -50,4 +50,4 @@ msgstr "Korosta"
|
|
|
50
50
|
|
|
51
51
|
msgctxt "Label used by assistive technologies describing the highlight feature toolbar."
|
|
52
52
|
msgid "Text highlight toolbar"
|
|
53
|
-
msgstr ""
|
|
53
|
+
msgstr "Tekstinkorostuksen työkalupalkki"
|
package/lang/translations/fr.po
CHANGED
|
@@ -14,7 +14,7 @@ msgid ""
|
|
|
14
14
|
msgstr ""
|
|
15
15
|
"Language-Team: French (https://www.transifex.com/ckeditor/teams/11143/fr/)\n"
|
|
16
16
|
"Language: fr\n"
|
|
17
|
-
"Plural-Forms: nplurals=
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
18
|
|
|
19
19
|
msgctxt "Toolbar button tooltip for applying yellow marker (text highlight)."
|
|
20
20
|
msgid "Yellow marker"
|
package/lang/translations/it.po
CHANGED
|
@@ -14,7 +14,7 @@ msgid ""
|
|
|
14
14
|
msgstr ""
|
|
15
15
|
"Language-Team: Italian (https://www.transifex.com/ckeditor/teams/11143/it/)\n"
|
|
16
16
|
"Language: it\n"
|
|
17
|
-
"Plural-Forms: nplurals=
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
18
|
|
|
19
19
|
msgctxt "Toolbar button tooltip for applying yellow marker (text highlight)."
|
|
20
20
|
msgid "Yellow marker"
|
package/lang/translations/lt.po
CHANGED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Malay (https://www.transifex.com/ckeditor/teams/11143/ms/)\n"
|
|
16
|
+
"Language: ms\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Toolbar button tooltip for applying yellow marker (text highlight)."
|
|
20
|
+
msgid "Yellow marker"
|
|
21
|
+
msgstr "Penanda kuning"
|
|
22
|
+
|
|
23
|
+
msgctxt "Toolbar button tooltip for applying green marker (text highlight)."
|
|
24
|
+
msgid "Green marker"
|
|
25
|
+
msgstr "Penanda hijau"
|
|
26
|
+
|
|
27
|
+
msgctxt "Toolbar button tooltip for applying pink marker (text highlight)."
|
|
28
|
+
msgid "Pink marker"
|
|
29
|
+
msgstr "Penanda merah jambu"
|
|
30
|
+
|
|
31
|
+
msgctxt "Toolbar button tooltip for applying blue marker (text highlight)."
|
|
32
|
+
msgid "Blue marker"
|
|
33
|
+
msgstr "Penanda biru"
|
|
34
|
+
|
|
35
|
+
msgctxt "Toolbar button tooltip for applying red pen (text color)."
|
|
36
|
+
msgid "Red pen"
|
|
37
|
+
msgstr "Pen merah"
|
|
38
|
+
|
|
39
|
+
msgctxt "Toolbar button tooltip for applying green pen (text color)."
|
|
40
|
+
msgid "Green pen"
|
|
41
|
+
msgstr "Pen hijau"
|
|
42
|
+
|
|
43
|
+
msgctxt "Toolbar button tooltip for removing text highlight."
|
|
44
|
+
msgid "Remove highlight"
|
|
45
|
+
msgstr "Buang sorotan"
|
|
46
|
+
|
|
47
|
+
msgctxt "Toolbar button tooltip for the text highlight feature."
|
|
48
|
+
msgid "Highlight"
|
|
49
|
+
msgstr "Sorotan"
|
|
50
|
+
|
|
51
|
+
msgctxt "Label used by assistive technologies describing the highlight feature toolbar."
|
|
52
|
+
msgid "Text highlight toolbar"
|
|
53
|
+
msgstr "Bar alat capaian sorotan teks"
|
|
@@ -14,7 +14,7 @@ msgid ""
|
|
|
14
14
|
msgstr ""
|
|
15
15
|
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
|
|
16
16
|
"Language: pt_BR\n"
|
|
17
|
-
"Plural-Forms: nplurals=
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
18
|
|
|
19
19
|
msgctxt "Toolbar button tooltip for applying yellow marker (text highlight)."
|
|
20
20
|
msgid "Yellow marker"
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Portuguese (https://www.transifex.com/ckeditor/teams/11143/pt/)\n"
|
|
16
|
+
"Language: pt\n"
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Toolbar button tooltip for applying yellow marker (text highlight)."
|
|
20
|
+
msgid "Yellow marker"
|
|
21
|
+
msgstr "Marcador amarelo"
|
|
22
|
+
|
|
23
|
+
msgctxt "Toolbar button tooltip for applying green marker (text highlight)."
|
|
24
|
+
msgid "Green marker"
|
|
25
|
+
msgstr "Marcador verde"
|
|
26
|
+
|
|
27
|
+
msgctxt "Toolbar button tooltip for applying pink marker (text highlight)."
|
|
28
|
+
msgid "Pink marker"
|
|
29
|
+
msgstr "Marcador rosa"
|
|
30
|
+
|
|
31
|
+
msgctxt "Toolbar button tooltip for applying blue marker (text highlight)."
|
|
32
|
+
msgid "Blue marker"
|
|
33
|
+
msgstr "Marcador azul"
|
|
34
|
+
|
|
35
|
+
msgctxt "Toolbar button tooltip for applying red pen (text color)."
|
|
36
|
+
msgid "Red pen"
|
|
37
|
+
msgstr "Caneta vermelha"
|
|
38
|
+
|
|
39
|
+
msgctxt "Toolbar button tooltip for applying green pen (text color)."
|
|
40
|
+
msgid "Green pen"
|
|
41
|
+
msgstr "Caneta verde"
|
|
42
|
+
|
|
43
|
+
msgctxt "Toolbar button tooltip for removing text highlight."
|
|
44
|
+
msgid "Remove highlight"
|
|
45
|
+
msgstr "Remover "
|
|
46
|
+
|
|
47
|
+
msgctxt "Toolbar button tooltip for the text highlight feature."
|
|
48
|
+
msgid "Highlight"
|
|
49
|
+
msgstr "Sublinhar"
|
|
50
|
+
|
|
51
|
+
msgctxt "Label used by assistive technologies describing the highlight feature toolbar."
|
|
52
|
+
msgid "Text highlight toolbar"
|
|
53
|
+
msgstr "Barra de ferramentas de destaque de texto"
|
package/lang/translations/sv.po
CHANGED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Thai (https://www.transifex.com/ckeditor/teams/11143/th/)\n"
|
|
16
|
+
"Language: th\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Toolbar button tooltip for applying yellow marker (text highlight)."
|
|
20
|
+
msgid "Yellow marker"
|
|
21
|
+
msgstr "มาร์กเกอร์สีเหลือง"
|
|
22
|
+
|
|
23
|
+
msgctxt "Toolbar button tooltip for applying green marker (text highlight)."
|
|
24
|
+
msgid "Green marker"
|
|
25
|
+
msgstr "มาร์กเกอร์สีเขียว"
|
|
26
|
+
|
|
27
|
+
msgctxt "Toolbar button tooltip for applying pink marker (text highlight)."
|
|
28
|
+
msgid "Pink marker"
|
|
29
|
+
msgstr "มาร์กเกอร์สีชมพู"
|
|
30
|
+
|
|
31
|
+
msgctxt "Toolbar button tooltip for applying blue marker (text highlight)."
|
|
32
|
+
msgid "Blue marker"
|
|
33
|
+
msgstr "มาร์กเกอร์สีน้ำเงิน"
|
|
34
|
+
|
|
35
|
+
msgctxt "Toolbar button tooltip for applying red pen (text color)."
|
|
36
|
+
msgid "Red pen"
|
|
37
|
+
msgstr "ปากกาสีแดง"
|
|
38
|
+
|
|
39
|
+
msgctxt "Toolbar button tooltip for applying green pen (text color)."
|
|
40
|
+
msgid "Green pen"
|
|
41
|
+
msgstr "ปากกาสีเขียว"
|
|
42
|
+
|
|
43
|
+
msgctxt "Toolbar button tooltip for removing text highlight."
|
|
44
|
+
msgid "Remove highlight"
|
|
45
|
+
msgstr "ลบไฮไลต์ออก"
|
|
46
|
+
|
|
47
|
+
msgctxt "Toolbar button tooltip for the text highlight feature."
|
|
48
|
+
msgid "Highlight"
|
|
49
|
+
msgstr "ไฮไลต์"
|
|
50
|
+
|
|
51
|
+
msgctxt "Label used by assistive technologies describing the highlight feature toolbar."
|
|
52
|
+
msgid "Text highlight toolbar"
|
|
53
|
+
msgstr "แถบเครื่องมือไฮไลต์ข้อความ"
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Urdu (https://www.transifex.com/ckeditor/teams/11143/ur/)\n"
|
|
16
|
+
"Language: ur\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Toolbar button tooltip for applying yellow marker (text highlight)."
|
|
20
|
+
msgid "Yellow marker"
|
|
21
|
+
msgstr "زرد نشان"
|
|
22
|
+
|
|
23
|
+
msgctxt "Toolbar button tooltip for applying green marker (text highlight)."
|
|
24
|
+
msgid "Green marker"
|
|
25
|
+
msgstr "سبز نشان"
|
|
26
|
+
|
|
27
|
+
msgctxt "Toolbar button tooltip for applying pink marker (text highlight)."
|
|
28
|
+
msgid "Pink marker"
|
|
29
|
+
msgstr "گلابی نشان"
|
|
30
|
+
|
|
31
|
+
msgctxt "Toolbar button tooltip for applying blue marker (text highlight)."
|
|
32
|
+
msgid "Blue marker"
|
|
33
|
+
msgstr "نیلا نشان"
|
|
34
|
+
|
|
35
|
+
msgctxt "Toolbar button tooltip for applying red pen (text color)."
|
|
36
|
+
msgid "Red pen"
|
|
37
|
+
msgstr "سرخ قلم"
|
|
38
|
+
|
|
39
|
+
msgctxt "Toolbar button tooltip for applying green pen (text color)."
|
|
40
|
+
msgid "Green pen"
|
|
41
|
+
msgstr "سبز قلم"
|
|
42
|
+
|
|
43
|
+
msgctxt "Toolbar button tooltip for removing text highlight."
|
|
44
|
+
msgid "Remove highlight"
|
|
45
|
+
msgstr "غیر نمایاں کریں"
|
|
46
|
+
|
|
47
|
+
msgctxt "Toolbar button tooltip for the text highlight feature."
|
|
48
|
+
msgid "Highlight"
|
|
49
|
+
msgstr "نمایاں"
|
|
50
|
+
|
|
51
|
+
msgctxt "Label used by assistive technologies describing the highlight feature toolbar."
|
|
52
|
+
msgid "Text highlight toolbar"
|
|
53
|
+
msgstr "خانہ آلات برائے نمایاں متن"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-highlight",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "35.0.0",
|
|
4
4
|
"description": "Highlight feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,22 +12,22 @@
|
|
|
12
12
|
],
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"ckeditor5": "^
|
|
15
|
+
"ckeditor5": "^35.0.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@ckeditor/ckeditor5-block-quote": "^
|
|
19
|
-
"@ckeditor/ckeditor5-core": "^
|
|
18
|
+
"@ckeditor/ckeditor5-block-quote": "^35.0.0",
|
|
19
|
+
"@ckeditor/ckeditor5-core": "^35.0.0",
|
|
20
20
|
"@ckeditor/ckeditor5-dev-utils": "^30.0.0",
|
|
21
|
-
"@ckeditor/ckeditor5-editor-classic": "^
|
|
22
|
-
"@ckeditor/ckeditor5-engine": "^
|
|
23
|
-
"@ckeditor/ckeditor5-enter": "^
|
|
24
|
-
"@ckeditor/ckeditor5-heading": "^
|
|
25
|
-
"@ckeditor/ckeditor5-image": "^
|
|
26
|
-
"@ckeditor/ckeditor5-list": "^
|
|
27
|
-
"@ckeditor/ckeditor5-paragraph": "^
|
|
28
|
-
"@ckeditor/ckeditor5-theme-lark": "^
|
|
29
|
-
"@ckeditor/ckeditor5-typing": "^
|
|
30
|
-
"@ckeditor/ckeditor5-utils": "^
|
|
21
|
+
"@ckeditor/ckeditor5-editor-classic": "^35.0.0",
|
|
22
|
+
"@ckeditor/ckeditor5-engine": "^35.0.0",
|
|
23
|
+
"@ckeditor/ckeditor5-enter": "^35.0.0",
|
|
24
|
+
"@ckeditor/ckeditor5-heading": "^35.0.0",
|
|
25
|
+
"@ckeditor/ckeditor5-image": "^35.0.0",
|
|
26
|
+
"@ckeditor/ckeditor5-list": "^35.0.0",
|
|
27
|
+
"@ckeditor/ckeditor5-paragraph": "^35.0.0",
|
|
28
|
+
"@ckeditor/ckeditor5-theme-lark": "^35.0.0",
|
|
29
|
+
"@ckeditor/ckeditor5-typing": "^35.0.0",
|
|
30
|
+
"@ckeditor/ckeditor5-utils": "^35.0.0",
|
|
31
31
|
"webpack": "^5.58.1",
|
|
32
32
|
"webpack-cli": "^4.9.0"
|
|
33
33
|
},
|
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
"src",
|
|
50
50
|
"theme",
|
|
51
51
|
"build",
|
|
52
|
-
"ckeditor5-metadata.json"
|
|
52
|
+
"ckeditor5-metadata.json",
|
|
53
|
+
"CHANGELOG.md"
|
|
53
54
|
],
|
|
54
55
|
"scripts": {
|
|
55
56
|
"dll:build": "webpack"
|
package/src/highlightui.js
CHANGED
|
@@ -182,7 +182,8 @@ export default class HighlightUI extends Plugin {
|
|
|
182
182
|
const splitButtonView = dropdownView.buttonView;
|
|
183
183
|
|
|
184
184
|
splitButtonView.set( {
|
|
185
|
-
|
|
185
|
+
label: t( 'Highlight' ),
|
|
186
|
+
tooltip: true,
|
|
186
187
|
// Holds last executed highlighter.
|
|
187
188
|
lastExecuted: startingHighlighter.model,
|
|
188
189
|
// Holds current highlighter to execute (might be different then last used).
|
|
@@ -206,7 +207,9 @@ export default class HighlightUI extends Plugin {
|
|
|
206
207
|
const buttonView = componentFactory.create( 'highlight:' + option.model );
|
|
207
208
|
|
|
208
209
|
// Update lastExecutedHighlight on execute.
|
|
209
|
-
this.listenTo( buttonView, 'execute', () =>
|
|
210
|
+
this.listenTo( buttonView, 'execute', () => {
|
|
211
|
+
dropdownView.buttonView.set( { lastExecuted: option.model } );
|
|
212
|
+
} );
|
|
210
213
|
|
|
211
214
|
return buttonView;
|
|
212
215
|
} );
|
|
@@ -218,13 +221,15 @@ export default class HighlightUI extends Plugin {
|
|
|
218
221
|
buttons.push( new ToolbarSeparatorView() );
|
|
219
222
|
buttons.push( componentFactory.create( 'removeHighlight' ) );
|
|
220
223
|
|
|
221
|
-
addToolbarToDropdown( dropdownView, buttons );
|
|
224
|
+
addToolbarToDropdown( dropdownView, buttons, { enableActiveItemFocusOnDropdownOpen: true } );
|
|
222
225
|
bindToolbarIconStyleToActiveColor( dropdownView );
|
|
223
226
|
|
|
224
227
|
dropdownView.toolbarView.ariaLabel = t( 'Text highlight toolbar' );
|
|
225
228
|
|
|
226
229
|
// Execute current action from dropdown's split button action button.
|
|
227
|
-
|
|
230
|
+
// Also focus the editable after executing the command.
|
|
231
|
+
// It overrides a default behaviour where the focus is moved to the dropdown button (#12125).
|
|
232
|
+
this.listenTo( dropdownView, 'execute', () => {
|
|
228
233
|
editor.execute( 'highlight', { value: splitButtonView.commandValue } );
|
|
229
234
|
editor.editing.view.focus();
|
|
230
235
|
} );
|
package/build/highlight.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://CKEditor5.highlight/./theme/highlight.css","webpack://CKEditor5.highlight/../node_modules/css-loader/dist/runtime/api.js","webpack://CKEditor5.highlight/../node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack://CKEditor5.highlight/./theme/icons/marker.svg","webpack://CKEditor5.highlight/./theme/icons/pen.svg","webpack://CKEditor5.highlight/./theme/highlight.css?1049","webpack://CKEditor5.highlight/../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://CKEditor5.highlight/./src/highlight.js","webpack://CKEditor5.highlight/./src/highlightcommand.js","webpack://CKEditor5.highlight/./src/highlightediting.js","webpack://CKEditor5.highlight/./src/highlightui.js","webpack://CKEditor5.highlight/delegated \"./src/core.js\" from dll-reference CKEditor5.dll","webpack://CKEditor5.highlight/delegated \"./src/ui.js\" from dll-reference CKEditor5.dll","webpack://CKEditor5.highlight/external var \"CKEditor5.dll\"","webpack://CKEditor5.highlight/webpack/bootstrap","webpack://CKEditor5.highlight/webpack/runtime/compat get default export","webpack://CKEditor5.highlight/webpack/runtime/define property getters","webpack://CKEditor5.highlight/webpack/runtime/hasOwnProperty shorthand","webpack://CKEditor5.highlight/webpack/runtime/make namespace object","webpack://CKEditor5.highlight/./src/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAC4H;AAC7B;AAC/F,8BAA8B,mFAA2B,CAAC,wGAAqC;AAC/F;AACA,gDAAgD,qCAAqC,oCAAoC,mCAAmC,mCAAmC,+BAA+B,iCAAiC,2BAA2B,mDAAmD,0BAA0B,kDAAkD,yBAAyB,iDAAiD,yBAAyB,iDAAiD,qBAAqB,6BAA6B,kCAAkC,uBAAuB,6BAA6B,oCAAoC,OAAO,2eAA2e,oDAAoD,oDAAoD,mDAAmD,mDAAmD,6CAA6C,kDAAkD,GAAG,iDAAiD,gCAAgC,0DAA0D,KAAK,GAAG,8CAA8C,6BAA6B,4CAA4C,2HAA2H,KAAK,GAAG,yCAAyC,sCAAsC,qCAAqC,qCAAqC,mCAAmC,mCAAmC,qBAAqB;AAC5nE;AACA,iEAAe,uBAAuB,EAAC;;;;;;;;;;;;ACP1B;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;;AAEjB;AACA;AACA;;AAEA;AACA,4CAA4C,qBAAqB;AACjE;;AAEA;AACA,KAAK;AACL,KAAK;AACL;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,qBAAqB,qBAAqB;AAC1C;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;ACjEa;;AAEb,kCAAkC;;AAElC,8BAA8B;;AAE9B,kDAAkD,gBAAgB,gEAAgE,wDAAwD,6DAA6D,sDAAsD;;AAE7S,uCAAuC,uDAAuD,uCAAuC,SAAS,OAAO,oBAAoB;;AAEzK,yCAAyC,8FAA8F,wBAAwB,eAAe,eAAe,gBAAgB,YAAY,MAAM,wBAAwB,+BAA+B,aAAa,qBAAqB,uCAAuC,cAAc,WAAW,YAAY,UAAU,MAAM,mDAAmD,UAAU,sBAAsB;;AAEve,gCAAgC;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,uDAAuD,cAAc;AACrE;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACnCA,iEAAe,k0BAAk0B;;;;;;;;;;;;;;;ACAj1B,iEAAe,yrBAAyrB;;;;;;;;;;;;;;;;;;ACAzmB;AAC/F,YAA8K;;AAE9K,eAAe,+CAA+C;;AAE9D;AACA;;AAEA,aAAa,0GAAG,CAAC,0JAAO;;;;AAIxB,iEAAe,iKAAc,MAAM;;;;;;;;;;;ACZtB;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,wDAAwD;;AAExD;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;;AAEA,kBAAkB,wBAAwB;AAC1C;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,gBAAgB,KAAwC,GAAG,sBAAiB,GAAG,CAAI;;AAEnF;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,qEAAqE,qBAAqB,cAAc;;AAExG;;AAEA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA,yDAAyD;AACzD,IAAI;;AAEJ;;;AAGA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA,2BAA2B;AAC3B;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB,4BAA4B;AAChD;AACA;AACA;AACA;;AAEA;;AAEA,qBAAqB,6BAA6B;AAClD;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;AC5QA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAE4C;;AAEM;AACV;;AAExC;AACA;AACA;AACA,uCAAuC,6CAA6C;AACpF;AACA,4CAA4C,0DAA0D;AACtG,IAAI,gDAAgD;AACpD;AACA;AACA;AACe,wBAAwB,sDAAM;AAC7C;AACA;AACA;AACA;AACA,WAAW,yDAAgB,EAAE,oDAAW;AACxC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yCAAyC,kDAAkD;AAC3F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB,cAAc,QAAQ;AACtB,cAAc,QAAQ;AACtB,cAAc,QAAQ;AACtB;AACA;AACA,cAAc,QAAQ;AACtB,cAAc,gBAAgB;AAC9B;AACA,wBAAwB;AACxB,qBAAqB;AACrB;;AAEA;AACA,6BAA6B,4CAA4C;AACzE;AACA,iBAAiB,iDAAiD;AAClE;AACA,YAAY,4CAA4C;AACxD;;AAEA;AACA,6BAA6B,6DAA6D;AAC1F;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,QAAQ,sEAAsE;AAC9E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,oBAAoB;AACpB,mBAAmB;AACnB,mBAAmB;AACnB,eAAe;AACf,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,YAAY,oDAAoD;AAChE;;;;;;;;;;;;;;;;;AChMA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAE6C;;AAE7C;AACA,6CAA6C;AAC7C;AACA;AACA,mCAAmC,uBAAuB;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACe,+BAA+B,uDAAO;AACrD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,kBAAkB;AAChC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iFAAiF,wBAAwB;AACzG;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;;;;;;;;;;;;;;;;;AC9GA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAE4C;;AAEM;;AAElD;AACA,qDAAqD,kEAAkE;AACvH,qBAAqB,6CAA6C,sBAAsB;AACxF;AACA,WAAW,+DAA+D;AAC1E;AACA;AACA;AACe,+BAA+B,sDAAM;AACpD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,yCAAyC,+BAA+B;;AAExE;;AAEA;AACA;;AAEA,wCAAwC,yDAAgB;AACxD;AACA;;AAEA;AACA;AACA,WAAW,oDAAoD;AAC/D,aAAa;AACb;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;;;;;;;AC3HA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEmD;AACwE;;AAEtE;AACN;;AAEb;;AAElC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,wEAAwE;AACpF;AACA;AACA;AACA;AACe,0BAA0B,sDAAM;AAC/C;AACA;AACA;AACA;AACA,KAAK,0DAA0D;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,+DAA+D,4DAAY;AAC3E;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA,YAAY,4CAA4C;AACxD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,GAAG;AACf,YAAY,UAAU;AACtB;AACA;AACA;AACA;;AAEA;AACA,0BAA0B,wDAAU;;AAEpC;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,mCAAmC,QAAQ;AAC3C;AACA,KAAK;;AAEL;AACA;;AAEA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA,YAAY,oDAAoD;AAChE;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA,GAAG,KAAK;;AAER;AACA;AACA,wBAAwB,gEAAc,UAAU,6DAAe;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,+EAA+E,6BAA6B;;AAE5G;AACA,KAAK;;AAEL;AACA;;AAEA;AACA,qBAAqB,kEAAoB;AACzC;;AAEA,GAAG,sEAAoB;AACvB;;AAEA;;AAEA;AACA;AACA,mCAAmC,sCAAsC;AACzE;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,4BAA4B,+DAAU,GAAG,4DAAO;AAChD;;;;;;;;;;;AChQA;;;;;;;;;;ACAA;;;;;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;;;;;;;;;ACNA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEmD;AACc;AACV","file":"highlight.js","sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.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)}\", \"\",{\"version\":3,\"sources\":[\"webpack://./theme/highlight.css\"],\"names\":[],\"mappings\":\"AAKA,MACC,oCAA+C,CAC/C,mCAA+C,CAC/C,kCAA8C,CAC9C,kCAA8C,CAC9C,8BAAwC,CACxC,gCACD,CAGC,2BACC,kDACD,CAFA,0BACC,iDACD,CAFA,yBACC,gDACD,CAFA,yBACC,gDACD,CAIA,qBAIC,4BAA6B,CAH7B,iCAID,CALA,uBAIC,4BAA6B,CAH7B,mCAID\",\"sourcesContent\":[\"/*\\n * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\\n */\\n\\n:root {\\n\\t--ck-highlight-marker-yellow: hsl(60, 97%, 73%);\\n\\t--ck-highlight-marker-green: hsl(120, 93%, 68%);\\n\\t--ck-highlight-marker-pink: hsl(345, 96%, 73%);\\n\\t--ck-highlight-marker-blue: hsl(201, 97%, 72%);\\n\\t--ck-highlight-pen-red: hsl(0, 85%, 49%);\\n\\t--ck-highlight-pen-green: hsl(112, 100%, 27%);\\n}\\n\\n@define-mixin highlight-marker-color $color {\\n\\t.ck-content .marker-$color {\\n\\t\\tbackground-color: var(--ck-highlight-marker-$color);\\n\\t}\\n}\\n\\n@define-mixin highlight-pen-color $color {\\n\\t.ck-content .pen-$color {\\n\\t\\tcolor: var(--ck-highlight-pen-$color);\\n\\n\\t\\t/* Override default yellow background of `<mark>` from user agent stylesheet */\\n\\t\\tbackground-color: transparent;\\n\\t}\\n}\\n\\n@mixin highlight-marker-color yellow;\\n@mixin highlight-marker-color green;\\n@mixin highlight-marker-color pink;\\n@mixin highlight-marker-color blue;\\n\\n@mixin highlight-pen-color red;\\n@mixin highlight-pen-color green;\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (cssWithMappingToString) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join(\"\");\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === \"string\") {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, \"\"]];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};","\"use strict\";\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr && (typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]); if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nmodule.exports = function cssWithMappingToString(item) {\n var _item = _slicedToArray(item, 4),\n content = _item[1],\n cssMapping = _item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (typeof btoa === \"function\") {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || \"\").concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join(\"\\n\");\n }\n\n return [content].join(\"\\n\");\n};","export default \"<svg viewBox=\\\"0 0 20 20\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"ck-icon__fill\\\" d=\\\"M10.798 1.59 3.002 12.875l1.895 1.852 2.521 1.402 6.997-12.194z\\\"/><path d=\\\"m2.556 16.727.234-.348c-.297-.151-.462-.293-.498-.426-.036-.137.002-.416.115-.837.094-.25.15-.449.169-.595a4.495 4.495 0 0 0 0-.725c-.209-.621-.303-1.041-.284-1.26.02-.218.178-.506.475-.862l6.77-9.414c.539-.91 1.605-.85 3.199.18 1.594 1.032 2.188 1.928 1.784 2.686l-5.877 10.36c-.158.412-.333.673-.526.782-.193.108-.604.179-1.232.21-.362.131-.608.237-.738.318-.13.081-.305.238-.526.47-.293.265-.504.397-.632.397-.096 0-.27-.075-.524-.226l-.31.41-1.6-1.12zm-.279.415 1.575 1.103-.392.515H1.19l1.087-1.618zm8.1-13.656-4.953 6.9L8.75 12.57l4.247-7.574c.175-.25-.188-.647-1.092-1.192-.903-.546-1.412-.652-1.528-.32zM8.244 18.5 9.59 17h9.406v1.5H8.245z\\\"/></svg>\";","export default \"<svg viewBox=\\\"0 0 20 20\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"ck-icon__fill\\\" d=\\\"M10.126 2.268 2.002 13.874l1.895 1.852 2.521 1.402L14.47 5.481l-1.543-2.568-2.801-.645z\\\"/><path d=\\\"m4.5 18.088-2.645-1.852-.04-2.95-.006-.005.006-.008v-.025l.011.008L8.73 2.97c.165-.233.356-.417.567-.557l-1.212.308L4.604 7.9l-.83-.558 3.694-5.495 2.708-.69 1.65 1.145.046.018.85-1.216 2.16 1.512-.856 1.222c.828.967 1.144 2.141.432 3.158L7.55 17.286l.006.005-3.055.797H4.5zm-.634.166-1.976.516-.026-1.918 2.002 1.402zM9.968 3.817l-.006-.004-6.123 9.184 3.277 2.294 6.108-9.162.005.003c.317-.452-.16-1.332-1.064-1.966-.891-.624-1.865-.776-2.197-.349zM8.245 18.5 9.59 17h9.406v1.5H8.245z\\\"/></svg>\";","import api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./highlight.css\";\n\nvar options = {\"injectType\":\"singletonStyleTag\",\"attributes\":{\"data-cke\":true}};\n\noptions.insert = \"head\";\noptions.singleton = true;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","\"use strict\";\n\nvar isOldIE = function isOldIE() {\n var memo;\n return function memorize() {\n if (typeof memo === 'undefined') {\n // Test for IE <= 9 as proposed by Browserhacks\n // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n // Tests for existence of standard globals is to allow style-loader\n // to operate correctly into non-standard environments\n // @see https://github.com/webpack-contrib/style-loader/issues/177\n memo = Boolean(window && document && document.all && !window.atob);\n }\n\n return memo;\n };\n}();\n\nvar getTarget = function getTarget() {\n var memo = {};\n return function memorize(target) {\n if (typeof memo[target] === 'undefined') {\n var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n\n memo[target] = styleTarget;\n }\n\n return memo[target];\n };\n}();\n\nvar stylesInDom = [];\n\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n\n for (var i = 0; i < stylesInDom.length; i++) {\n if (stylesInDom[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n\n return result;\n}\n\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var index = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3]\n };\n\n if (index !== -1) {\n stylesInDom[index].references++;\n stylesInDom[index].updater(obj);\n } else {\n stylesInDom.push({\n identifier: identifier,\n updater: addStyle(obj, options),\n references: 1\n });\n }\n\n identifiers.push(identifier);\n }\n\n return identifiers;\n}\n\nfunction insertStyleElement(options) {\n var style = document.createElement('style');\n var attributes = options.attributes || {};\n\n if (typeof attributes.nonce === 'undefined') {\n var nonce = typeof __webpack_nonce__ !== 'undefined' ? __webpack_nonce__ : null;\n\n if (nonce) {\n attributes.nonce = nonce;\n }\n }\n\n Object.keys(attributes).forEach(function (key) {\n style.setAttribute(key, attributes[key]);\n });\n\n if (typeof options.insert === 'function') {\n options.insert(style);\n } else {\n var target = getTarget(options.insert || 'head');\n\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n\n target.appendChild(style);\n }\n\n return style;\n}\n\nfunction removeStyleElement(style) {\n // istanbul ignore if\n if (style.parentNode === null) {\n return false;\n }\n\n style.parentNode.removeChild(style);\n}\n/* istanbul ignore next */\n\n\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join('\\n');\n };\n}();\n\nfunction applyToSingletonTag(style, index, remove, obj) {\n var css = remove ? '' : obj.media ? \"@media \".concat(obj.media, \" {\").concat(obj.css, \"}\") : obj.css; // For old IE\n\n /* istanbul ignore if */\n\n if (style.styleSheet) {\n style.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = style.childNodes;\n\n if (childNodes[index]) {\n style.removeChild(childNodes[index]);\n }\n\n if (childNodes.length) {\n style.insertBefore(cssNode, childNodes[index]);\n } else {\n style.appendChild(cssNode);\n }\n }\n}\n\nfunction applyToTag(style, options, obj) {\n var css = obj.css;\n var media = obj.media;\n var sourceMap = obj.sourceMap;\n\n if (media) {\n style.setAttribute('media', media);\n } else {\n style.removeAttribute('media');\n }\n\n if (sourceMap && typeof btoa !== 'undefined') {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n } // For old IE\n\n /* istanbul ignore if */\n\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n while (style.firstChild) {\n style.removeChild(style.firstChild);\n }\n\n style.appendChild(document.createTextNode(css));\n }\n}\n\nvar singleton = null;\nvar singletonCounter = 0;\n\nfunction addStyle(obj, options) {\n var style;\n var update;\n var remove;\n\n if (options.singleton) {\n var styleIndex = singletonCounter++;\n style = singleton || (singleton = insertStyleElement(options));\n update = applyToSingletonTag.bind(null, style, styleIndex, false);\n remove = applyToSingletonTag.bind(null, style, styleIndex, true);\n } else {\n style = insertStyleElement(options);\n update = applyToTag.bind(null, style, options);\n\n remove = function remove() {\n removeStyleElement(style);\n };\n }\n\n update(obj);\n return function updateStyle(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {\n return;\n }\n\n update(obj = newObj);\n } else {\n remove();\n }\n };\n}\n\nmodule.exports = function (list, options) {\n options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n // tags it will allow on a page\n\n if (!options.singleton && typeof options.singleton !== 'boolean') {\n options.singleton = isOldIE();\n }\n\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n\n if (Object.prototype.toString.call(newList) !== '[object Array]') {\n return;\n }\n\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDom[index].references--;\n }\n\n var newLastIdentifiers = modulesToDom(newList, options);\n\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n\n var _index = getIndexByIdentifier(_identifier);\n\n if (stylesInDom[_index].references === 0) {\n stylesInDom[_index].updater();\n\n stylesInDom.splice(_index, 1);\n }\n }\n\n lastIdentifiers = newLastIdentifiers;\n };\n};","/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module highlight/highlight\n */\n\nimport { Plugin } from 'ckeditor5/src/core';\n\nimport HighlightEditing from './highlightediting';\nimport HighlightUI from './highlightui';\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 *\n * @extends module:core/plugin~Plugin\n */\nexport default class Highlight extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic get requires() {\n\t\treturn [ HighlightEditing, HighlightUI ];\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic get pluginName() {\n\t\treturn 'Highlight';\n\t}\n}\n\n/**\n * The highlight option descriptor. See {@link module:highlight/highlight~HighlightConfig} to learn more.\n *\n *\t\t{\n *\t\t\tmodel: 'pinkMarker',\n *\t\t\tclass: 'marker-pink',\n *\t\t\ttitle: 'Pink Marker',\n *\t\t\tcolor: 'var(--ck-highlight-marker-pink)',\n *\t\t\ttype: 'marker'\n *\t\t}\n *\n * @typedef {Object} module:highlight/highlight~HighlightOption\n * @property {String} title The user-readable title of the option.\n * @property {String} model The unique attribute value in the model.\n * @property {String} color The CSS `var()` used for the highlighter. The color is used in the user interface to represent the highlighter.\n * There is a possibility to use the default color format like rgb, hex or hsl, but you need to care about the color of `<mark>`\n * by adding CSS classes definition.\n * @property {String} class The CSS class used on the `<mark>` element in the view. It should match the `color` setting.\n * @property {'marker'|'pen'} type The type of highlighter:\n *\n * * `'marker'` – Uses the `color` as the `background-color` style,\n * * `'pen'` – Uses the `color` as the font `color` style.\n */\n\n/**\n * The configuration of the {@link module:highlight/highlight~Highlight} feature.\n *\n * Read more in {@link module:highlight/highlight~HighlightConfig}.\n *\n * @member {module:highlight/highlight~HighlightConfig} module:core/editor/editorconfig~EditorConfig#highlight\n */\n\n/**\n * The configuration of the {@link module:highlight/highlight~Highlight highlight feature}.\n *\n *\t\tClassicEditor\n *\t\t\t.create( editorElement, {\n * \t\t\t\thighlight: ... // Highlight feature configuration.\n *\t\t\t} )\n *\t\t\t.then( ... )\n *\t\t\t.catch( ... );\n *\n * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.\n *\n * @interface HighlightConfig\n */\n\n/**\n * The available highlight options. The default value is:\n *\n *\t\toptions: [\n *\t\t\t{\n *\t\t\t\tmodel: 'yellowMarker',\n *\t\t\t\tclass: 'marker-yellow',\n *\t\t\t\ttitle: 'Yellow marker',\n *\t\t\t\tcolor: 'var(--ck-highlight-marker-yellow)',\n *\t\t\t\ttype: 'marker'\n *\t\t\t},\n *\t\t\t{\n *\t\t\t\tmodel: 'greenMarker',\n *\t\t\t\tclass: 'marker-green',\n *\t\t\t\ttitle: 'Green marker',\n *\t\t\t\tcolor: 'var(--ck-highlight-marker-green)',\n *\t\t\t\ttype: 'marker'\n *\t\t\t},\n *\t\t\t{\n *\t\t\t\tmodel: 'pinkMarker',\n *\t\t\t\tclass: 'marker-pink',\n *\t\t\t\ttitle: 'Pink marker',\n *\t\t\t\tcolor: 'var(--ck-highlight-marker-pink)',\n *\t\t\t\ttype: 'marker'\n *\t\t\t},\n *\t\t\t{\n *\t\t\t\tmodel: 'blueMarker',\n *\t\t\t\tclass: 'marker-blue',\n *\t\t\t\ttitle: 'Blue marker',\n *\t\t\t\tcolor: 'var(--ck-highlight-marker-blue)',\n *\t\t\t\ttype: 'marker'\n *\t\t\t},\n *\t\t\t{\n *\t\t\t\tmodel: 'redPen',\n *\t\t\t\tclass: 'pen-red',\n *\t\t\t\ttitle: 'Red pen',\n *\t\t\t\tcolor: 'var(--ck-highlight-pen-red)',\n *\t\t\t\ttype: 'pen'\n *\t\t\t},\n *\t\t\t{\n *\t\t\t\tmodel: 'greenPen',\n *\t\t\t\tclass: 'pen-green',\n *\t\t\t\ttitle: 'Green pen',\n *\t\t\t\tcolor: 'var(--ck-highlight-pen-green)',\n *\t\t\t\ttype: 'pen'\n *\t\t\t}\n *\t\t]\n *\n * There are two types of highlighters available:\n *\n * * `'marker'` – Rendered as a `<mark>` element, styled with the `background-color`.\n * * `'pen'` – Rendered as a `<mark>` element, styled with the font `color`.\n *\n * **Note**: The highlight feature provides a stylesheet with the CSS classes and corresponding colors defined\n * as CSS variables.\n *\n *\t\t:root {\n *\t\t\t--ck-highlight-marker-yellow: #fdfd77;\n *\t\t\t--ck-highlight-marker-green: #63f963;\n *\t\t\t--ck-highlight-marker-pink: #fc7999;\n *\t\t\t--ck-highlight-marker-blue: #72cdfd;\n *\t\t\t--ck-highlight-pen-red: #e91313;\n *\t\t\t--ck-highlight-pen-green: #118800;\n *\t\t}\n *\n *\t\t.marker-yellow { ... }\n *\t\t.marker-green { ... }\n *\t\t.marker-pink { ... }\n *\t\t.marker-blue { ... }\n *\t\t.pen-red { ... }\n *\t\t.pen-green { ... }\n *\n * It is possible to define the `color` property directly as `rgba(R, G, B, A)`,\n * `#RRGGBB[AA]` or `hsla(H, S, L, A)`. In such situation, the color will **only** apply to the UI of\n * the editor and the `<mark>` elements in the content must be styled by custom classes provided by\n * a dedicated stylesheet.\n *\n * **Note**: It is recommended for the `color` property to correspond to the class in the content\n * stylesheet because it represents the highlighter in the user interface of the editor.\n *\n *\t\tClassicEditor\n *\t\t\t.create( editorElement, {\n *\t\t\t\thighlight: {\n *\t\t\t\t\toptions: [\n *\t\t\t\t\t\t{\n *\t\t\t\t\t\t\tmodel: 'pinkMarker',\n *\t\t\t\t\t\t\tclass: 'marker-pink',\n *\t\t\t\t\t\t\ttitle: 'Pink Marker',\n *\t\t\t\t\t\t\tcolor: 'var(--ck-highlight-marker-pink)',\n *\t\t\t\t\t\t\ttype: 'marker'\n *\t\t\t\t\t\t},\n *\t\t\t\t\t\t{\n *\t\t\t\t\t\t\tmodel: 'redPen',\n *\t\t\t\t\t\t\tclass: 'pen-red',\n *\t\t\t\t\t\t\ttitle: 'Red Pen',\n *\t\t\t\t\t\t\tcolor: 'var(--ck-highlight-pen-red)',\n *\t\t\t\t\t\t\ttype: 'pen'\n *\t\t\t\t\t\t},\n *\t\t\t\t\t]\n *\t\t\t\t}\n *\t\t} )\n *\t\t.then( ... )\n *\t\t.catch( ... );\n *\n * @member {Array.<module:highlight/highlight~HighlightOption>} module:highlight/highlight~HighlightConfig#options\n */\n","/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module highlight/highlightcommand\n */\n\nimport { Command } from 'ckeditor5/src/core';\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 *\t\teditor.execute( 'highlight', { value: 'greenMarker' } );\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 *\n * @extends module:core/command~Command\n */\nexport default class HighlightCommand extends Command {\n\t/**\n\t * @inheritDoc\n\t */\n\trefresh() {\n\t\tconst model = this.editor.model;\n\t\tconst doc = model.document;\n\n\t\t/**\n\t\t * A value indicating whether the command is active. If the selection has some highlight attribute,\n\t\t * it corresponds to the value of that attribute.\n\t\t *\n\t\t * @observable\n\t\t * @readonly\n\t\t * @member {undefined|String} module:highlight/highlightcommand~HighlightCommand#value\n\t\t */\n\t\tthis.value = doc.selection.getAttribute( 'highlight' );\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 {Object} [options] Options for the executed command.\n\t * @param {String} [options.value] The value to apply.\n\t *\n\t * @fires execute\n\t */\n\texecute( options = {} ) {\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 => {\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-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module highlight/highlightediting\n */\n\nimport { Plugin } from 'ckeditor5/src/core';\n\nimport HighlightCommand from './highlightcommand';\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/highlight~HighlightConfig configuration}.\n *\n * @extends module:core/plugin~Plugin\n */\nexport default class HighlightEditing extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic get pluginName() {\n\t\treturn 'HighlightEditing';\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tconstructor( 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\tinit() {\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// Converts the options array to a converter definition.\n//\n// @param {Array.<module:highlight/highlight~HighlightOption>} options An array with configured options.\n// @returns {module:engine/conversion/conversion~ConverterDefinition}\nfunction _buildDefinition( options ) {\n\tconst definition = {\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","/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module highlight/highlightui\n */\n\nimport { Plugin, icons } from 'ckeditor5/src/core';\nimport { ButtonView, SplitButtonView, ToolbarSeparatorView, createDropdown, addToolbarToDropdown } from 'ckeditor5/src/ui';\n\nimport markerIcon from './../theme/icons/marker.svg';\nimport penIcon from './../theme/icons/pen.svg';\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/highlight~HighlightConfig#options configuration} to learn more\n * about the defaults.\n *\n * @extends module:core/plugin~Plugin\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/highlight~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\t * @readonly\n\t * @type {Object.<String,String>}\n\t */\n\tget localizedOptionTitles() {\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\tstatic get pluginName() {\n\t\treturn 'HighlightUI';\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tinit() {\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\t}\n\n\t/**\n\t * Creates the \"Remove highlight\" button.\n\t *\n\t * @private\n\t */\n\t_addRemoveHighlightButton() {\n\t\tconst t = this.editor.t;\n\t\tconst command = this.editor.commands.get( 'highlight' );\n\n\t\tthis._addButton( 'removeHighlight', t( 'Remove highlight' ), icons.eraser, 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\t * @param {module:highlight/highlight~HighlightOption} option\n\t * @private\n\t */\n\t_addHighlighterButton( option ) {\n\t\tconst command = 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 ) {\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 {String} name The name of the button.\n\t * @param {String} label The label for the button.\n\t * @param {String} icon The button icon.\n\t * @param {*} value The `value` property passed to the executed command.\n\t * @param {Function} decorateButton A callback getting ButtonView instance so that it can be further customized.\n\t * @private\n\t */\n\t_addButton( name, label, icon, value, decorateButton ) {\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\t * @param {Array.<module:highlight/highlight~HighlightOption>} options\n\t * @private\n\t */\n\t_addDropdown( options ) {\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}, {} );\n\n\t\tcomponentFactory.add( 'highlight', locale => {\n\t\t\tconst command = editor.commands.get( 'highlight' );\n\t\t\tconst dropdownView = createDropdown( locale, SplitButtonView );\n\t\t\tconst splitButtonView = dropdownView.buttonView;\n\n\t\t\tsplitButtonView.set( {\n\t\t\t\ttooltip: t( 'Highlight' ),\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 buttons = options.map( option => {\n\t\t\t\t// Get existing highlighter button.\n\t\t\t\tconst buttonView = componentFactory.create( 'highlight:' + option.model );\n\n\t\t\t\t// Update lastExecutedHighlight on execute.\n\t\t\t\tthis.listenTo( buttonView, 'execute', () => dropdownView.buttonView.set( { lastExecuted: option.model } ) );\n\n\t\t\t\treturn buttonView;\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' ).toMany( buttons, 'isEnabled', ( ...areEnabled ) => areEnabled.some( isEnabled => isEnabled ) );\n\n\t\t\t// Add separator and eraser buttons to dropdown.\n\t\t\tbuttons.push( new ToolbarSeparatorView() );\n\t\t\tbuttons.push( componentFactory.create( 'removeHighlight' ) );\n\n\t\t\taddToolbarToDropdown( dropdownView, buttons );\n\t\t\tbindToolbarIconStyleToActiveColor( dropdownView );\n\n\t\t\tdropdownView.toolbarView.ariaLabel = t( 'Text highlight toolbar' );\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\teditor.editing.view.focus();\n\t\t\t} );\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\tfunction getActiveOption( current, 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\n// Extends split button icon style to reflect last used button style.\nfunction bindToolbarIconStyleToActiveColor( dropdownView ) {\n\tconst actionView = dropdownView.buttonView.actionView;\n\n\tactionView.iconView.bind( 'fillColor' ).to( dropdownView.buttonView, 'color' );\n}\n\n// Returns icon for given highlighter type.\nfunction getIconForType( type ) {\n\treturn type === 'marker' ? markerIcon : penIcon;\n}\n","module.exports = (__webpack_require__(/*! dll-reference CKEditor5.dll */ \"dll-reference CKEditor5.dll\"))(\"./src/core.js\");","module.exports = (__webpack_require__(/*! dll-reference CKEditor5.dll */ \"dll-reference CKEditor5.dll\"))(\"./src/ui.js\");","module.exports = CKEditor5.dll;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module highlight\n */\n\nexport { default as Highlight } from './highlight';\nexport { default as HighlightEditing } from './highlightediting';\nexport { default as HighlightUI } from './highlightui';\n"],"sourceRoot":""}
|