@ckeditor/ckeditor5-highlight 0.0.0-internal-20241017.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/LICENSE.md +17 -0
  3. package/README.md +26 -0
  4. package/build/highlight.js +5 -0
  5. package/build/translations/ar.js +1 -0
  6. package/build/translations/az.js +1 -0
  7. package/build/translations/bg.js +1 -0
  8. package/build/translations/bn.js +1 -0
  9. package/build/translations/ca.js +1 -0
  10. package/build/translations/cs.js +1 -0
  11. package/build/translations/da.js +1 -0
  12. package/build/translations/de-ch.js +1 -0
  13. package/build/translations/de.js +1 -0
  14. package/build/translations/el.js +1 -0
  15. package/build/translations/en-au.js +1 -0
  16. package/build/translations/en-gb.js +1 -0
  17. package/build/translations/es-co.js +1 -0
  18. package/build/translations/es.js +1 -0
  19. package/build/translations/et.js +1 -0
  20. package/build/translations/fa.js +1 -0
  21. package/build/translations/fi.js +1 -0
  22. package/build/translations/fr.js +1 -0
  23. package/build/translations/gl.js +1 -0
  24. package/build/translations/he.js +1 -0
  25. package/build/translations/hi.js +1 -0
  26. package/build/translations/hr.js +1 -0
  27. package/build/translations/hu.js +1 -0
  28. package/build/translations/id.js +1 -0
  29. package/build/translations/it.js +1 -0
  30. package/build/translations/ja.js +1 -0
  31. package/build/translations/jv.js +1 -0
  32. package/build/translations/ko.js +1 -0
  33. package/build/translations/ku.js +1 -0
  34. package/build/translations/lt.js +1 -0
  35. package/build/translations/lv.js +1 -0
  36. package/build/translations/ms.js +1 -0
  37. package/build/translations/nb.js +1 -0
  38. package/build/translations/ne.js +1 -0
  39. package/build/translations/nl.js +1 -0
  40. package/build/translations/no.js +1 -0
  41. package/build/translations/pl.js +1 -0
  42. package/build/translations/pt-br.js +1 -0
  43. package/build/translations/pt.js +1 -0
  44. package/build/translations/ro.js +1 -0
  45. package/build/translations/ru.js +1 -0
  46. package/build/translations/sk.js +1 -0
  47. package/build/translations/sl.js +1 -0
  48. package/build/translations/sq.js +1 -0
  49. package/build/translations/sr-latn.js +1 -0
  50. package/build/translations/sr.js +1 -0
  51. package/build/translations/sv.js +1 -0
  52. package/build/translations/th.js +1 -0
  53. package/build/translations/tk.js +1 -0
  54. package/build/translations/tr.js +1 -0
  55. package/build/translations/ug.js +1 -0
  56. package/build/translations/uk.js +1 -0
  57. package/build/translations/ur.js +1 -0
  58. package/build/translations/uz.js +1 -0
  59. package/build/translations/vi.js +1 -0
  60. package/build/translations/zh-cn.js +1 -0
  61. package/build/translations/zh.js +1 -0
  62. package/ckeditor5-metadata.json +38 -0
  63. package/dist/augmentation.d.ts +27 -0
  64. package/dist/highlight.d.ts +36 -0
  65. package/dist/highlightcommand.d.ts +49 -0
  66. package/dist/highlightconfig.d.ts +175 -0
  67. package/dist/highlightediting.d.ts +36 -0
  68. package/dist/highlightui.d.ts +85 -0
  69. package/dist/index-content.css +34 -0
  70. package/dist/index-editor.css +12 -0
  71. package/dist/index.css +45 -0
  72. package/dist/index.css.map +1 -0
  73. package/dist/index.d.ts +17 -0
  74. package/dist/index.js +485 -0
  75. package/dist/index.js.map +1 -0
  76. package/dist/translations/ar.d.ts +8 -0
  77. package/dist/translations/ar.js +5 -0
  78. package/dist/translations/ar.umd.js +11 -0
  79. package/dist/translations/az.d.ts +8 -0
  80. package/dist/translations/az.js +5 -0
  81. package/dist/translations/az.umd.js +11 -0
  82. package/dist/translations/bg.d.ts +8 -0
  83. package/dist/translations/bg.js +5 -0
  84. package/dist/translations/bg.umd.js +11 -0
  85. package/dist/translations/bn.d.ts +8 -0
  86. package/dist/translations/bn.js +5 -0
  87. package/dist/translations/bn.umd.js +11 -0
  88. package/dist/translations/ca.d.ts +8 -0
  89. package/dist/translations/ca.js +5 -0
  90. package/dist/translations/ca.umd.js +11 -0
  91. package/dist/translations/cs.d.ts +8 -0
  92. package/dist/translations/cs.js +5 -0
  93. package/dist/translations/cs.umd.js +11 -0
  94. package/dist/translations/da.d.ts +8 -0
  95. package/dist/translations/da.js +5 -0
  96. package/dist/translations/da.umd.js +11 -0
  97. package/dist/translations/de-ch.d.ts +8 -0
  98. package/dist/translations/de-ch.js +5 -0
  99. package/dist/translations/de-ch.umd.js +11 -0
  100. package/dist/translations/de.d.ts +8 -0
  101. package/dist/translations/de.js +5 -0
  102. package/dist/translations/de.umd.js +11 -0
  103. package/dist/translations/el.d.ts +8 -0
  104. package/dist/translations/el.js +5 -0
  105. package/dist/translations/el.umd.js +11 -0
  106. package/dist/translations/en-au.d.ts +8 -0
  107. package/dist/translations/en-au.js +5 -0
  108. package/dist/translations/en-au.umd.js +11 -0
  109. package/dist/translations/en-gb.d.ts +8 -0
  110. package/dist/translations/en-gb.js +5 -0
  111. package/dist/translations/en-gb.umd.js +11 -0
  112. package/dist/translations/en.d.ts +8 -0
  113. package/dist/translations/en.js +5 -0
  114. package/dist/translations/en.umd.js +11 -0
  115. package/dist/translations/es-co.d.ts +8 -0
  116. package/dist/translations/es-co.js +5 -0
  117. package/dist/translations/es-co.umd.js +11 -0
  118. package/dist/translations/es.d.ts +8 -0
  119. package/dist/translations/es.js +5 -0
  120. package/dist/translations/es.umd.js +11 -0
  121. package/dist/translations/et.d.ts +8 -0
  122. package/dist/translations/et.js +5 -0
  123. package/dist/translations/et.umd.js +11 -0
  124. package/dist/translations/fa.d.ts +8 -0
  125. package/dist/translations/fa.js +5 -0
  126. package/dist/translations/fa.umd.js +11 -0
  127. package/dist/translations/fi.d.ts +8 -0
  128. package/dist/translations/fi.js +5 -0
  129. package/dist/translations/fi.umd.js +11 -0
  130. package/dist/translations/fr.d.ts +8 -0
  131. package/dist/translations/fr.js +5 -0
  132. package/dist/translations/fr.umd.js +11 -0
  133. package/dist/translations/gl.d.ts +8 -0
  134. package/dist/translations/gl.js +5 -0
  135. package/dist/translations/gl.umd.js +11 -0
  136. package/dist/translations/he.d.ts +8 -0
  137. package/dist/translations/he.js +5 -0
  138. package/dist/translations/he.umd.js +11 -0
  139. package/dist/translations/hi.d.ts +8 -0
  140. package/dist/translations/hi.js +5 -0
  141. package/dist/translations/hi.umd.js +11 -0
  142. package/dist/translations/hr.d.ts +8 -0
  143. package/dist/translations/hr.js +5 -0
  144. package/dist/translations/hr.umd.js +11 -0
  145. package/dist/translations/hu.d.ts +8 -0
  146. package/dist/translations/hu.js +5 -0
  147. package/dist/translations/hu.umd.js +11 -0
  148. package/dist/translations/id.d.ts +8 -0
  149. package/dist/translations/id.js +5 -0
  150. package/dist/translations/id.umd.js +11 -0
  151. package/dist/translations/it.d.ts +8 -0
  152. package/dist/translations/it.js +5 -0
  153. package/dist/translations/it.umd.js +11 -0
  154. package/dist/translations/ja.d.ts +8 -0
  155. package/dist/translations/ja.js +5 -0
  156. package/dist/translations/ja.umd.js +11 -0
  157. package/dist/translations/jv.d.ts +8 -0
  158. package/dist/translations/jv.js +5 -0
  159. package/dist/translations/jv.umd.js +11 -0
  160. package/dist/translations/ko.d.ts +8 -0
  161. package/dist/translations/ko.js +5 -0
  162. package/dist/translations/ko.umd.js +11 -0
  163. package/dist/translations/ku.d.ts +8 -0
  164. package/dist/translations/ku.js +5 -0
  165. package/dist/translations/ku.umd.js +11 -0
  166. package/dist/translations/lt.d.ts +8 -0
  167. package/dist/translations/lt.js +5 -0
  168. package/dist/translations/lt.umd.js +11 -0
  169. package/dist/translations/lv.d.ts +8 -0
  170. package/dist/translations/lv.js +5 -0
  171. package/dist/translations/lv.umd.js +11 -0
  172. package/dist/translations/ms.d.ts +8 -0
  173. package/dist/translations/ms.js +5 -0
  174. package/dist/translations/ms.umd.js +11 -0
  175. package/dist/translations/nb.d.ts +8 -0
  176. package/dist/translations/nb.js +5 -0
  177. package/dist/translations/nb.umd.js +11 -0
  178. package/dist/translations/ne.d.ts +8 -0
  179. package/dist/translations/ne.js +5 -0
  180. package/dist/translations/ne.umd.js +11 -0
  181. package/dist/translations/nl.d.ts +8 -0
  182. package/dist/translations/nl.js +5 -0
  183. package/dist/translations/nl.umd.js +11 -0
  184. package/dist/translations/no.d.ts +8 -0
  185. package/dist/translations/no.js +5 -0
  186. package/dist/translations/no.umd.js +11 -0
  187. package/dist/translations/pl.d.ts +8 -0
  188. package/dist/translations/pl.js +5 -0
  189. package/dist/translations/pl.umd.js +11 -0
  190. package/dist/translations/pt-br.d.ts +8 -0
  191. package/dist/translations/pt-br.js +5 -0
  192. package/dist/translations/pt-br.umd.js +11 -0
  193. package/dist/translations/pt.d.ts +8 -0
  194. package/dist/translations/pt.js +5 -0
  195. package/dist/translations/pt.umd.js +11 -0
  196. package/dist/translations/ro.d.ts +8 -0
  197. package/dist/translations/ro.js +5 -0
  198. package/dist/translations/ro.umd.js +11 -0
  199. package/dist/translations/ru.d.ts +8 -0
  200. package/dist/translations/ru.js +5 -0
  201. package/dist/translations/ru.umd.js +11 -0
  202. package/dist/translations/sk.d.ts +8 -0
  203. package/dist/translations/sk.js +5 -0
  204. package/dist/translations/sk.umd.js +11 -0
  205. package/dist/translations/sl.d.ts +8 -0
  206. package/dist/translations/sl.js +5 -0
  207. package/dist/translations/sl.umd.js +11 -0
  208. package/dist/translations/sq.d.ts +8 -0
  209. package/dist/translations/sq.js +5 -0
  210. package/dist/translations/sq.umd.js +11 -0
  211. package/dist/translations/sr-latn.d.ts +8 -0
  212. package/dist/translations/sr-latn.js +5 -0
  213. package/dist/translations/sr-latn.umd.js +11 -0
  214. package/dist/translations/sr.d.ts +8 -0
  215. package/dist/translations/sr.js +5 -0
  216. package/dist/translations/sr.umd.js +11 -0
  217. package/dist/translations/sv.d.ts +8 -0
  218. package/dist/translations/sv.js +5 -0
  219. package/dist/translations/sv.umd.js +11 -0
  220. package/dist/translations/th.d.ts +8 -0
  221. package/dist/translations/th.js +5 -0
  222. package/dist/translations/th.umd.js +11 -0
  223. package/dist/translations/tk.d.ts +8 -0
  224. package/dist/translations/tk.js +5 -0
  225. package/dist/translations/tk.umd.js +11 -0
  226. package/dist/translations/tr.d.ts +8 -0
  227. package/dist/translations/tr.js +5 -0
  228. package/dist/translations/tr.umd.js +11 -0
  229. package/dist/translations/ug.d.ts +8 -0
  230. package/dist/translations/ug.js +5 -0
  231. package/dist/translations/ug.umd.js +11 -0
  232. package/dist/translations/uk.d.ts +8 -0
  233. package/dist/translations/uk.js +5 -0
  234. package/dist/translations/uk.umd.js +11 -0
  235. package/dist/translations/ur.d.ts +8 -0
  236. package/dist/translations/ur.js +5 -0
  237. package/dist/translations/ur.umd.js +11 -0
  238. package/dist/translations/uz.d.ts +8 -0
  239. package/dist/translations/uz.js +5 -0
  240. package/dist/translations/uz.umd.js +11 -0
  241. package/dist/translations/vi.d.ts +8 -0
  242. package/dist/translations/vi.js +5 -0
  243. package/dist/translations/vi.umd.js +11 -0
  244. package/dist/translations/zh-cn.d.ts +8 -0
  245. package/dist/translations/zh-cn.js +5 -0
  246. package/dist/translations/zh-cn.umd.js +11 -0
  247. package/dist/translations/zh.d.ts +8 -0
  248. package/dist/translations/zh.js +5 -0
  249. package/dist/translations/zh.umd.js +11 -0
  250. package/lang/contexts.json +11 -0
  251. package/lang/translations/ar.po +54 -0
  252. package/lang/translations/az.po +54 -0
  253. package/lang/translations/bg.po +54 -0
  254. package/lang/translations/bn.po +54 -0
  255. package/lang/translations/ca.po +54 -0
  256. package/lang/translations/cs.po +54 -0
  257. package/lang/translations/da.po +54 -0
  258. package/lang/translations/de-ch.po +54 -0
  259. package/lang/translations/de.po +54 -0
  260. package/lang/translations/el.po +54 -0
  261. package/lang/translations/en-au.po +54 -0
  262. package/lang/translations/en-gb.po +54 -0
  263. package/lang/translations/en.po +54 -0
  264. package/lang/translations/es-co.po +54 -0
  265. package/lang/translations/es.po +54 -0
  266. package/lang/translations/et.po +54 -0
  267. package/lang/translations/fa.po +54 -0
  268. package/lang/translations/fi.po +54 -0
  269. package/lang/translations/fr.po +54 -0
  270. package/lang/translations/gl.po +54 -0
  271. package/lang/translations/he.po +54 -0
  272. package/lang/translations/hi.po +54 -0
  273. package/lang/translations/hr.po +54 -0
  274. package/lang/translations/hu.po +54 -0
  275. package/lang/translations/id.po +54 -0
  276. package/lang/translations/it.po +54 -0
  277. package/lang/translations/ja.po +54 -0
  278. package/lang/translations/jv.po +54 -0
  279. package/lang/translations/ko.po +54 -0
  280. package/lang/translations/ku.po +54 -0
  281. package/lang/translations/lt.po +54 -0
  282. package/lang/translations/lv.po +54 -0
  283. package/lang/translations/ms.po +54 -0
  284. package/lang/translations/nb.po +54 -0
  285. package/lang/translations/ne.po +54 -0
  286. package/lang/translations/nl.po +54 -0
  287. package/lang/translations/no.po +54 -0
  288. package/lang/translations/pl.po +54 -0
  289. package/lang/translations/pt-br.po +54 -0
  290. package/lang/translations/pt.po +54 -0
  291. package/lang/translations/ro.po +54 -0
  292. package/lang/translations/ru.po +54 -0
  293. package/lang/translations/sk.po +54 -0
  294. package/lang/translations/sl.po +54 -0
  295. package/lang/translations/sq.po +54 -0
  296. package/lang/translations/sr-latn.po +54 -0
  297. package/lang/translations/sr.po +54 -0
  298. package/lang/translations/sv.po +54 -0
  299. package/lang/translations/th.po +54 -0
  300. package/lang/translations/tk.po +54 -0
  301. package/lang/translations/tr.po +54 -0
  302. package/lang/translations/ug.po +54 -0
  303. package/lang/translations/uk.po +54 -0
  304. package/lang/translations/ur.po +54 -0
  305. package/lang/translations/uz.po +54 -0
  306. package/lang/translations/vi.po +54 -0
  307. package/lang/translations/zh-cn.po +54 -0
  308. package/lang/translations/zh.po +54 -0
  309. package/package.json +40 -0
  310. package/src/augmentation.d.ts +23 -0
  311. package/src/augmentation.js +5 -0
  312. package/src/highlight.d.ts +32 -0
  313. package/src/highlight.js +38 -0
  314. package/src/highlightcommand.d.ts +45 -0
  315. package/src/highlightcommand.js +91 -0
  316. package/src/highlightconfig.d.ts +171 -0
  317. package/src/highlightconfig.js +5 -0
  318. package/src/highlightediting.d.ts +32 -0
  319. package/src/highlightediting.js +115 -0
  320. package/src/highlightui.d.ts +81 -0
  321. package/src/highlightui.js +277 -0
  322. package/src/index.d.ts +13 -0
  323. package/src/index.js +11 -0
  324. package/theme/highlight.css +36 -0
  325. package/theme/icons/marker.svg +1 -0
  326. package/theme/icons/pen.svg +1 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,4 @@
1
+ Changelog
2
+ =========
3
+
4
+ All changes in the package are documented in https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
package/LICENSE.md ADDED
@@ -0,0 +1,17 @@
1
+ Software License Agreement
2
+ ==========================
3
+
4
+ **CKEditor&nbsp;5 highlight feature** – https://github.com/ckeditor/ckeditor5-highlight <br>
5
+ Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
+
7
+ Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
8
+
9
+ Sources of Intellectual Property Included in CKEditor
10
+ -----------------------------------------------------
11
+
12
+ Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission.
13
+
14
+ Trademarks
15
+ ----------
16
+
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/README.md ADDED
@@ -0,0 +1,26 @@
1
+ CKEditor&nbsp;5 highlight feature
2
+ ============================
3
+
4
+ [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-highlight.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-highlight)
5
+ [![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
6
+ [![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5)
7
+
8
+ This package implements text highlight support for CKEditor&nbsp;5.
9
+
10
+ ## Demo
11
+
12
+ Check out the [demo in the highlight feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/highlight.html#demo).
13
+
14
+ ## Documentation
15
+
16
+ See the [`@ckeditor/ckeditor5-highlight` package](https://ckeditor.com/docs/ckeditor5/latest/api/highlight.html) page in [CKEditor&nbsp;5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
17
+
18
+ ## Installation
19
+
20
+ ```bash
21
+ npm install ckeditor5
22
+ ```
23
+
24
+ ## License
25
+
26
+ Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license).
@@ -0,0 +1,5 @@
1
+ !function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"Blue marker":"Blue marker","Green marker":"Green marker","Green pen":"Green pen",Highlight:"Highlight","Pink marker":"Pink marker","Red pen":"Red pen","Remove highlight":"Remove highlight","Text highlight toolbar":"Text highlight toolbar","Yellow marker":"Yellow marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
2
+ /*!
3
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
4
+ * For licensing, see LICENSE.md.
5
+ */(()=>{var e={809:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(758),r=i.n(n),o=i(935),l=i.n(o)()(r());l.push([e.id,":root{--ck-highlight-marker-yellow:#fdfd77;--ck-highlight-marker-green:#62f962;--ck-highlight-marker-pink:#fc7899;--ck-highlight-marker-blue:#72ccfd;--ck-highlight-pen-red:#e71313;--ck-highlight-pen-green:#128a00}.ck-content .marker-yellow{background-color:var(--ck-highlight-marker-yellow)}.ck-content .marker-green{background-color:var(--ck-highlight-marker-green)}.ck-content .marker-pink{background-color:var(--ck-highlight-marker-pink)}.ck-content .marker-blue{background-color:var(--ck-highlight-marker-blue)}.ck-content .pen-red{background-color:transparent;color:var(--ck-highlight-pen-red)}.ck-content .pen-green{background-color:transparent;color:var(--ck-highlight-pen-green)}",""]);const a=l},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i})).join("")},t.i=function(e,i,n,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var l={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(l[c]=!0)}for(var s=0;s<e.length;s++){var h=[].concat(e[s]);n&&l[h[0]]||(void 0!==o&&(void 0===h[5]||(h[1]="@layer".concat(h[5].length>0?" ".concat(h[5]):""," {").concat(h[1],"}")),h[5]=o),i&&(h[2]?(h[1]="@media ".concat(h[2]," {").concat(h[1],"}"),h[2]=i):h[2]=i),r&&(h[4]?(h[1]="@supports (".concat(h[4],") {").concat(h[1],"}"),h[4]=r):h[4]="".concat(r)),t.push(h))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function i(e){for(var i=-1,n=0;n<t.length;n++)if(t[n].identifier===e){i=n;break}return i}function n(e,n){for(var o={},l=[],a=0;a<e.length;a++){var c=e[a],s=n.base?c[0]+n.base:c[0],h=o[s]||0,u="".concat(s," ").concat(h);o[s]=h+1;var g=i(u),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==g)t[g].references++,t[g].updater(d);else{var m=r(d,n);n.byIndex=a,t.splice(a,0,{identifier:u,updater:m,references:1})}l.push(u)}return l}function r(e,t){var i=t.domAPI(t);i.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,r){var o=n(e=e||[],r=r||{});return function(e){e=e||[];for(var l=0;l<o.length;l++){var a=i(o[l]);t[a].references--}for(var c=n(e,r),s=0;s<o.length;s++){var h=i(o[s]);0===t[h].references&&(t[h].updater(),t.splice(h,1))}o=c}}},128:e=>{"use strict";var t={};e.exports=function(e,i){var n=function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(i){e.setAttribute(i,t[i])}))}},639:e=>{"use strict";var t,i=(t=[],function(e,i){return t[e]=i,t.filter(Boolean).join("\n")});function n(e,t,n,r){var o;if(n)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var l=void 0!==r.layer;l&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,l&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=i(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,i=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){n(i,t,!1,e)},remove:function(e){n(i,t,!0,e)}}}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={id:n,exports:{}};return e[n](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Highlight:()=>w,HighlightEditing:()=>r,HighlightUI:()=>k});var e=i(782);class t extends e.Command{refresh(){const e=this.editor.model,t=e.document;this.value=t.selection.getAttribute("highlight"),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"highlight")}execute(e={}){const t=this.editor.model,i=t.document.selection,n=e.value;t.change((e=>{if(i.isCollapsed){const t=i.getFirstPosition();if(i.hasAttribute("highlight")){const i=e=>e.item.hasAttribute("highlight")&&e.item.getAttribute("highlight")===this.value,r=t.getLastMatchingPosition(i,{direction:"backward"}),o=t.getLastMatchingPosition(i),l=e.createRange(r,o);n&&this.value!==n?(t.isEqual(o)||e.setAttribute("highlight",n,l),e.setSelectionAttribute("highlight",n)):(t.isEqual(o)||e.removeAttribute("highlight",l),e.removeSelectionAttribute("highlight"))}else n&&e.setSelectionAttribute("highlight",n)}else{const r=t.schema.getValidRanges(i.getRanges(),"highlight");for(const t of r)n?e.setAttribute("highlight",n,t):e.removeAttribute("highlight",t)}}))}}class r extends e.Plugin{static get pluginName(){return"HighlightEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("highlight",{options:[{model:"yellowMarker",class:"marker-yellow",title:"Yellow marker",color:"var(--ck-highlight-marker-yellow)",type:"marker"},{model:"greenMarker",class:"marker-green",title:"Green marker",color:"var(--ck-highlight-marker-green)",type:"marker"},{model:"pinkMarker",class:"marker-pink",title:"Pink marker",color:"var(--ck-highlight-marker-pink)",type:"marker"},{model:"blueMarker",class:"marker-blue",title:"Blue marker",color:"var(--ck-highlight-marker-blue)",type:"marker"},{model:"redPen",class:"pen-red",title:"Red pen",color:"var(--ck-highlight-pen-red)",type:"pen"},{model:"greenPen",class:"pen-green",title:"Green pen",color:"var(--ck-highlight-pen-green)",type:"pen"}]})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:"highlight"});const i=e.config.get("highlight.options");e.conversion.attributeToElement(function(e){const t={model:{key:"highlight",values:[]},view:{}};for(const i of e)t.model.values.push(i.model),t.view[i.model]={name:"mark",classes:i.class};return t}(i)),e.commands.add("highlight",new t(e))}}var o=i(311);var l=i(591),a=i.n(l),c=i(639),s=i.n(c),h=i(128),u=i.n(h),g=i(21),d=i.n(g),m=i(51),p=i.n(m),v=i(809),f={attributes:{"data-cke":!0}};f.setAttributes=d(),f.insert=u().bind(null,"head"),f.domAPI=s(),f.insertStyleElement=p();a()(v.A,f);v.A&&v.A.locals&&v.A.locals;class k extends e.Plugin{get localizedOptionTitles(){const e=this.editor.t;return{"Yellow marker":e("Yellow marker"),"Green marker":e("Green marker"),"Pink marker":e("Pink marker"),"Blue marker":e("Blue marker"),"Red pen":e("Red pen"),"Green pen":e("Green pen")}}static get pluginName(){return"HighlightUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.config.get("highlight.options");for(const t of e)this._addHighlighterButton(t);this._addRemoveHighlightButton(),this._addDropdown(e),this._addMenuBarButton(e)}_addRemoveHighlightButton(){const 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,b(e.type),e.model,(function(i){i.bind("isEnabled").to(t,"isEnabled"),i.bind("isOn").to(t,"value",(t=>t===e.model)),i.iconView.fillColor=e.color,i.isToggleable=!0}))}_addButton(e,t,i,n,r){const l=this.editor;l.ui.componentFactory.add(e,(e=>{const a=new o.ButtonView(e),c=this.localizedOptionTitles[t]?this.localizedOptionTitles[t]:t;return a.set({label:c,icon:i,tooltip:!0}),a.on("execute",(()=>{l.execute("highlight",{value:n}),l.editing.view.focus()})),r(a),a}))}_addDropdown(e){const t=this.editor,i=t.t,n=t.ui.componentFactory,r=e[0],l=e.reduce(((e,t)=>(e[t.model]=t,e)),{});n.add("highlight",(a=>{const c=t.commands.get("highlight"),s=(0,o.createDropdown)(a,o.SplitButtonView),h=s.buttonView;h.set({label:i("Highlight"),tooltip:!0,lastExecuted:r.model,commandValue:r.model,isToggleable:!0}),h.bind("icon").to(c,"value",(e=>b(u(e,"type")))),h.bind("color").to(c,"value",(e=>u(e,"color"))),h.bind("commandValue").to(c,"value",(e=>u(e,"model"))),h.bind("isOn").to(c,"value",(e=>!!e)),h.delegate("execute").to(s);function u(e,t){const i=e&&e!==h.lastExecuted?e:h.lastExecuted;return l[i][t]}return s.bind("isEnabled").to(c,"isEnabled"),(0,o.addToolbarToDropdown)(s,(()=>{const t=e.map((e=>{const t=n.create("highlight:"+e.model);return this.listenTo(t,"execute",(()=>{s.buttonView.set({lastExecuted:e.model})})),t}));return t.push(new o.ToolbarSeparatorView),t.push(n.create("removeHighlight")),t}),{enableActiveItemFocusOnDropdownOpen:!0,ariaLabel:i("Text highlight toolbar")}),function(e){const t=e.buttonView.actionView;t.iconView.bind("fillColor").to(e.buttonView,"color")}(s),h.on("execute",(()=>{t.execute("highlight",{value:h.commandValue})})),this.listenTo(s,"execute",(()=>{t.editing.view.focus()})),s}))}_addMenuBarButton(t){const i=this.editor,n=i.t,r=i.commands.get("highlight");i.ui.componentFactory.add("menuBar:highlight",(l=>{const a=new o.MenuBarMenuView(l);a.buttonView.set({label:n("Highlight"),icon:b("marker")}),a.bind("isEnabled").to(r),a.buttonView.iconView.fillColor="transparent";const c=new o.MenuBarMenuListView(l);for(const e of t){const t=new o.MenuBarMenuListItemView(l,a),n=new o.MenuBarMenuListItemButtonView(l);n.set({label:e.title,icon:b(e.type),role:"menuitemradio",isToggleable:!0}),n.iconView.fillColor=e.color,n.delegate("execute").to(a),n.bind("isOn").to(r,"value",(t=>t===e.model)),n.on("execute",(()=>{i.execute("highlight",{value:e.model}),i.editing.view.focus()})),t.children.add(n),c.items.add(t)}c.items.add(new o.ListSeparatorView(l));const s=new o.MenuBarMenuListItemView(l,a),h=new o.MenuBarMenuListItemButtonView(l);return h.set({label:n("Remove highlight"),icon:e.icons.eraser}),h.delegate("execute").to(a),h.on("execute",(()=>{i.execute("highlight",{value:null}),i.editing.view.focus()})),s.children.add(h),c.items.add(s),a.panelView.children.add(c),a}))}}function b(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 w extends e.Plugin{static get requires(){return[r,k]}static get pluginName(){return"Highlight"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).highlight=n})();
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ar=e.ar||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"تحديد ازرق","Green marker":"تحديد اخضر","Green pen":"قلم اخضر",Highlight:"تحديد","Pink marker":"تحديد وردي","Red pen":"تحديد احمر","Remove highlight":"إزالة التحديد","Text highlight toolbar":"شريط أدوات تمييز النص","Yellow marker":"تحديد اصفر"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(r){const a=r.az=r.az||{};a.dictionary=Object.assign(a.dictionary||{},{"Blue marker":"Mavi marker","Green marker":"Yaşıl marker","Green pen":"Yaşıl qələm",Highlight:"Vurğulamaq","Pink marker":"Çəhrayı marker","Red pen":"Qırmızı qələm","Remove highlight":"Vurgulanı sil","Text highlight toolbar":"Vurğulamaq paneli","Yellow marker":"Sarı marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(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={}));
@@ -0,0 +1 @@
1
+ !function(r){const a=r.ca=r.ca||{};a.dictionary=Object.assign(a.dictionary||{},{"Blue marker":"Marcador blau","Green marker":"Marcador verd","Green pen":"Bolígraf verd",Highlight:"Destacat","Pink marker":"Marcador rosa","Red pen":"Marcador vermell","Remove highlight":"Esborrar destacat","Text highlight toolbar":"Barra d'eines de ressaltat de text","Yellow marker":"Marcador groc"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const n=e.cs=e.cs||{};n.dictionary=Object.assign(n.dictionary||{},{"Blue marker":"Modrý fix","Green marker":"Zelený fix","Green pen":"Zelené pero",Highlight:"Zvýraznění","Pink marker":"Růžový fix","Red pen":"Červený fix","Remove highlight":"Odstranit zvýraznění","Text highlight toolbar":"Panel nástrojů zvýraznění textu","Yellow marker":"Žlutý fix"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(r){const e=r.da=r.da||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Blå markør","Green marker":"Grøn markør","Green pen":"Grøn pen",Highlight:"Fremhæv","Pink marker":"Lyserød markør","Red pen":"Rød pen","Remove highlight":"Fjern fremhævning","Text highlight toolbar":"Tekstfremhævning værktøjslinje","Yellow marker":"Gul markør"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e["de-ch"]=e["de-ch"]||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Blauer Marker","Green marker":"Grüner Marker","Green pen":"Grüne Schriftfarbe",Highlight:"Texthervorhebung","Pink marker":"Pinker Marker","Red pen":"Rote Schriftfarbe","Remove highlight":"Texthervorhebung entfernen","Text highlight toolbar":"Texthervorhebung Werkzeugleiste","Yellow marker":"Gelber Marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e.de=e.de||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Blauer Marker","Green marker":"Grüner Marker","Green pen":"Grüne Schriftfarbe",Highlight:"Texthervorhebung","Pink marker":"Pinker Marker","Red pen":"Rote Schriftfarbe","Remove highlight":"Texthervorhebung entfernen","Text highlight toolbar":"Text hervorheben Werkzeugleiste","Yellow marker":"Gelber Marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.el=e.el||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Επισημαντής μπλε","Green marker":"Επισημαντής πράσινου","Green pen":"Πένα πράσινου",Highlight:"Επισήμανση","Pink marker":"Επισημαντής ροζ","Red pen":"Πένα κόκκινου","Remove highlight":"Απομάκρυνση επισήμανσης","Text highlight toolbar":"Γραμμή εργαλείων επισήμανσης κειμένου","Yellow marker":"Επισημαντής κίτρινου"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e["en-au"]=e["en-au"]||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Blue marker","Green marker":"Green marker","Green pen":"Green pen",Highlight:"Highlight","Pink marker":"Pink marker","Red pen":"Red pen","Remove highlight":"Remove highlight","Text highlight toolbar":"Text highlight toolbar","Yellow marker":"Yellow marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e["en-gb"]=e["en-gb"]||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Blue marker","Green marker":"Green marker","Green pen":"Green pen",Highlight:"Highlight","Pink marker":"Pink marker","Red pen":"Red pen","Remove highlight":"Remove highlight","Text highlight toolbar":"","Yellow marker":"Yellow marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e["es-co"]=e["es-co"]||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Marcador azul","Green marker":"Marcador verde","Green pen":"Pincel verde",Highlight:"Resaltar","Pink marker":"Marcador rosa","Red pen":"Pincel rojo","Remove highlight":"Quitar resaltado","Text highlight toolbar":"Herramientas de resaltado de texto","Yellow marker":"Marcador amarillo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e.es=e.es||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Marcador azul","Green marker":"Marcador verde","Green pen":"Texto verde",Highlight:"Resaltar","Pink marker":"Marcador rosa","Red pen":"Texto rojo","Remove highlight":"Quitar resaltado","Text highlight toolbar":"Barra de herramientas de resaltado de texto","Yellow marker":"Marcador amarillo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.et=e.et||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Sinine marker","Green marker":"Roheline marker","Green pen":"Roheline pliiats",Highlight:"Tõsta esile","Pink marker":"Roosa marker","Red pen":"Punane pliiats","Remove highlight":"Eemalda esiletõstmine","Text highlight toolbar":"Teksti markeerimise tööriistariba","Yellow marker":"Kollane marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.fa=e.fa||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"نشانگر آبی","Green marker":"نشانگر سبز","Green pen":"قلم سبز",Highlight:"برجسته","Pink marker":"نشانگر صورتی","Red pen":"قلم قرمز","Remove highlight":"حذف برجسته","Text highlight toolbar":"نوارابزار برجستگی متن","Yellow marker":"نشانگر زرد"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.fi=i.fi||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"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={}));
@@ -0,0 +1 @@
1
+ !function(r){const e=r.fr=r.fr||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Marqueur bleu","Green marker":"Marqueur vert","Green pen":"Crayon vert",Highlight:"Surlignage","Pink marker":"Marqueur rose","Red pen":"Crayon rouge","Remove highlight":"Enlever le surlignage","Text highlight toolbar":"Barre d'outils du surlignage","Yellow marker":"Marqueur jaune"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(r){const a=r.gl=r.gl||{};a.dictionary=Object.assign(a.dictionary||{},{"Blue marker":"Marcador azul","Green marker":"Marcador verde","Green pen":"Pluma verde",Highlight:"Resaltado","Pink marker":"Marcador rosa","Red pen":"Pluma vermella","Remove highlight":"Retirar o resaltado","Text highlight toolbar":"Barra de ferramentas para resaltar texto","Yellow marker":"Marcador marelo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.he=e.he||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"סימון כחול","Green marker":"סימון ירוק","Green pen":"עט ירוק",Highlight:"הדגשה","Pink marker":"סימון וורוד","Red pen":"עט אדום","Remove highlight":"הסר הדגשה","Text highlight toolbar":"סרגל הדגשת טקסט","Yellow marker":"סימון צהוב"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.hi=e.hi||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Blue marker","Green marker":"Green marker","Green pen":"Green pen",Highlight:"Highlight","Pink marker":"Pink marker","Red pen":"Red pen","Remove highlight":"Remove highlight","Text highlight toolbar":"Text highlight toolbar","Yellow marker":"Yellow marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e.hr=e.hr||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Plavi marker","Green marker":"Zeleni marker","Green pen":"Zeleno pero",Highlight:"Istakni","Pink marker":"Rozi marker","Red pen":"Crveno pero","Remove highlight":"Ukloni isticanje","Text highlight toolbar":"Traka za isticanje teksta","Yellow marker":"Žuti marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.hu=e.hu||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Kék kiemelő","Green marker":"Zöld kiemelő","Green pen":"Zöld toll",Highlight:"Kiemelés","Pink marker":"Rózsaszín kiemelő","Red pen":"Piros toll","Remove highlight":"Kiemelés eltávolítása","Text highlight toolbar":"Szöveg kiemelés eszköztár","Yellow marker":"Sárga kiemelő"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(a){const e=a.id=a.id||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Marka biru","Green marker":"Marka hijau","Green pen":"Pena hijau",Highlight:"Tanda","Pink marker":"Marka merah jambu","Red pen":"Pena merah","Remove highlight":"Hapus tanda","Text highlight toolbar":"Alat penanda teks","Yellow marker":"Marka kuning"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const n=e.it=e.it||{};n.dictionary=Object.assign(n.dictionary||{},{"Blue marker":"Contrassegno blu","Green marker":"Contrassegno verde","Green pen":"Penna verde",Highlight:"Evidenzia","Pink marker":"Contrassegno rosa","Red pen":"Penna rossa","Remove highlight":"Rimuovi evidenziazione","Text highlight toolbar":"Barra degli strumenti dell'evidenziazione del testo","Yellow marker":"Contrassegno giallo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ja=e.ja||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"青のマーカー","Green marker":"緑のマーカー","Green pen":"緑のペン",Highlight:"ハイライト","Pink marker":"ピンクのマーカー","Red pen":"赤のマーカー","Remove highlight":"ハイライトの削除","Text highlight toolbar":"テキストのハイライト","Yellow marker":"黄色のマーカー"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const n=e.jv=e.jv||{};n.dictionary=Object.assign(n.dictionary||{},{"Blue marker":"Penandha biru","Green marker":"Panandha ijem","Green pen":"Pen ijem",Highlight:"Sorot","Pink marker":"Penandha abrit jambon","Red pen":"Penandha abrit","Remove highlight":"Busek sorot","Text highlight toolbar":"","Yellow marker":"Panandha jene"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ko=e.ko||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"파란색 마커","Green marker":"초록색 마커","Green pen":"초록색 펜",Highlight:"강조","Pink marker":"분홍색 마커","Red pen":"빨간색 펜","Remove highlight":"강조 제거","Text highlight toolbar":"글자 강조 툴바","Yellow marker":"노란색 마커"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ku=e.ku||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"نیشانەکەری شین","Green marker":"نیشانەکەری سەوز","Green pen":"پێنووسی سەوز",Highlight:"بەرچاوکردن","Pink marker":"نیشانەکەری پەمەیی","Red pen":"پێنووسی سۆر","Remove highlight":"لابردنی بەرچاوکەر","Text highlight toolbar":"تووڵامرازی نیشانکردنی تێکست","Yellow marker":"نیشانەکەری زەرد"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.lt=i.lt||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Mėlynas žymeklis","Green marker":"Žalias žymeklis","Green pen":"Žalias žymeklis",Highlight:"Pažymėti žymekliu","Pink marker":"Rožinis žymeklis","Red pen":"Raudonas žymeklis","Remove highlight":"Panaikinti pažymėjimą","Text highlight toolbar":"Teksto paryškinimo įrankių juosta","Yellow marker":"Geltonas žymeklis"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.lv=i.lv||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Zils marķieris","Green marker":"Zaļš marķieris","Green pen":"Zaļa pildspalva",Highlight:"Izcelt","Pink marker":"Rozā marķieris","Red pen":"Sarkana pildspalva","Remove highlight":"Noņemt izcēlumu","Text highlight toolbar":"Teksta izcēluma rīkjosla","Yellow marker":"Dzeltens marķieris"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(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 n=e.nb=e.nb||{};n.dictionary=Object.assign(n.dictionary||{},{"Blue marker":"Blå uthevingsfarge","Green marker":"Grønn uthevingsfarge","Green pen":"Grønn penn",Highlight:"Utheving","Pink marker":"Rosa uthevingsfarge","Red pen":"Rød penn","Remove highlight":"Fjern uthevingsfarge","Text highlight toolbar":"","Yellow marker":"Gul uthevingsfarge"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ne=e.ne||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"नीलो मार्कर","Green marker":"हरियो मार्कर","Green pen":"हरियो कलम",Highlight:"हाइलाइट","Pink marker":"गुलाबी मार्कर","Red pen":"रातो कलम","Remove highlight":"हाइलाइट हटाउनुहोस्","Text highlight toolbar":"","Yellow marker":"पहेंलो मार्कर"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e.nl=e.nl||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Blauwe marker","Green marker":"Groene marker","Green pen":"Groene pen",Highlight:"Markeren","Pink marker":"Roze marker","Red pen":"Rode pen","Remove highlight":"Verwijder markering","Text highlight toolbar":"Tekst markering werkbalk","Yellow marker":"Gele marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const e=n.no=n.no||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Blå utheving","Green marker":"Grønn utheving","Green pen":"Grønn penn",Highlight:"Utheving","Pink marker":"Rosa utheving","Red pen":"Rød penn","Remove highlight":"Fjern utheving","Text highlight toolbar":"Verktøylinje for tekstutheving","Yellow marker":"Gul utheving"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.pl=e.pl||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Niebieski marker","Green marker":"Zielony marker","Green pen":"Zielony długopis",Highlight:"Podświetlenie","Pink marker":"Różowy marker","Red pen":"Czerwony długopis","Remove highlight":"Usuń podświetlenie","Text highlight toolbar":"Pasek narzędzi podświetleń","Yellow marker":"Żółty marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(r){const a=r["pt-br"]=r["pt-br"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Blue marker":"Marcador azul","Green marker":"Marcador verde","Green pen":"Caneta verde",Highlight:"Marcador","Pink marker":"Marcador rosa","Red pen":"Caneta vermelha","Remove highlight":"Remover marcação","Text highlight toolbar":"Ferramentas de marcação","Yellow marker":"Marcador amarelo"})}(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:"Realçar","Pink marker":"Marcador rosa","Red pen":"Caneta vermelha","Remove highlight":"Remover realce","Text highlight toolbar":"Barra de ferramentas de realces de texto","Yellow marker":"Marcador amarelo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ro=e.ro||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Evidențiator albastru","Green marker":"Evidențiator verde","Green pen":"Pix verde",Highlight:"Evidențiere text","Pink marker":"Evidențiator roz","Red pen":"Pix roșu","Remove highlight":"Șterge evidențiere text","Text highlight toolbar":"Bară evidențiere text","Yellow marker":"Evidențiator galben"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ru=e.ru||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Выделение синим маркером","Green marker":"Выделение зелёным маркером","Green pen":"Зеленый цвет текста",Highlight:"Выделить","Pink marker":"Выделение розовым маркером","Red pen":"Красный цвет текста","Remove highlight":"Убрать выделение","Text highlight toolbar":"Панель инструментов выделения текста","Yellow marker":"Выделение жёлтым маркером"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const r=e.sk=e.sk||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Modrý zvýrazňovač","Green marker":"Zelený zvýrazňovač","Green pen":"Zelené pero",Highlight:"Zvýraznenie","Pink marker":"Ružový zvýrazňovač","Red pen":"Červené pero","Remove highlight":"Odstrániť zvýraznenie","Text highlight toolbar":"Panel nástrojov zvýraznenia textu","Yellow marker":"Žltý zvýrazňovač"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(a){const n=a.sl=a.sl||{};n.dictionary=Object.assign(n.dictionary||{},{"Blue marker":"Modra oznaka","Green marker":"Zelena oznaka","Green pen":"Zeleno pisalo",Highlight:"Označi","Pink marker":"Rožnata oznaka","Red pen":"Rdeče pisalo","Remove highlight":"Odstrani oznako","Text highlight toolbar":"Orodna vrstica označevanja","Yellow marker":"Rumena oznaka"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.sq=i.sq||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Shënuesi kaltër","Green marker":"Shënuesi gjelbër","Green pen":"Lapsi gjelbër",Highlight:"Ngjyrimi","Pink marker":"Shënuesi rozë","Red pen":"Lapsi kuq","Remove highlight":"Largo ngjyrimet","Text highlight toolbar":"Shiriti i veglave të nënvizimit të tekstit","Yellow marker":"Shënuesi verdh"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const a=e["sr-latn"]=e["sr-latn"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Blue marker":"Plavi marker","Green marker":"Zeleni marker","Green pen":"Zelena olovka",Highlight:"Isticanje","Pink marker":"Roza marker","Red pen":"Crvena olovka","Remove highlight":"Ukloni isticanje","Text highlight toolbar":"Alatke za markiranje teksta","Yellow marker":"Žuti marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.sr=e.sr||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Плави маркер","Green marker":"Зелени маркер","Green pen":"Зелена оловка",Highlight:"Истицање","Pink marker":"Роза маркер","Red pen":"Црвена оловка","Remove highlight":"Уклони истицање","Text highlight toolbar":"Алатке за маркирање текста","Yellow marker":"Жути маркер"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(r){const e=r.sv=r.sv||{};e.dictionary=Object.assign(e.dictionary||{},{"Blue marker":"Blå markering","Green marker":"Grön markering","Green pen":"Grön penna",Highlight:"Markera","Pink marker":"Rosa markering","Red pen":"Röd penna","Remove highlight":"Ta bort markering","Text highlight toolbar":"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 r=e.tk=e.tk||{};r.dictionary=Object.assign(r.dictionary||{},{"Blue marker":"Gök marker","Green marker":"Ýaşyl marker","Green pen":"Ýaşyl galam",Highlight:"Bellik","Pink marker":"Gülgüne marker","Red pen":"Gyzyl galam","Remove highlight":"Belligi aýyryň","Text highlight toolbar":"Tekst bellik gurallar paneli","Yellow marker":"Sary marker"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.tr=e.tr||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Mavi işaretleyici","Green marker":"Yeşil işaretleyici","Green pen":"Yeşik kalem",Highlight:"Vurgu","Pink marker":"Pembe işaretleyici","Red pen":"Kırmızı kalem","Remove highlight":"Vurgulamayı temizle","Text highlight toolbar":"Yazı Vurgulama Araç Çubuğu","Yellow marker":"Sarı işaretleyici"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ug=e.ug||{};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.uk=e.uk||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Синій маркер","Green marker":"Зелений маркер","Green pen":"Зелений маркер",Highlight:"Виділення","Pink marker":"Рожевий маркер","Red pen":"Червоний маркер","Remove highlight":"Видалити виділення","Text highlight toolbar":"Панель виділення тексту","Yellow marker":"Жовтий маркер"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(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={}));
@@ -0,0 +1 @@
1
+ !function(a){const i=a.uz=a.uz||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Moviy rang markeri bilan ajratib ko'rsatish","Green marker":"Yashil marker bilan ta'kidlash","Green pen":"Matn rangi yashil",Highlight:"Ajratish","Pink marker":"Pushti rang markeri bilan belgilang","Red pen":"Matn rangi qizil","Remove highlight":"Ajratishni olib tashlash","Text highlight toolbar":"Matn tanlash asboblar paneli","Yellow marker":"Sariq marker bilan ta'kidlash"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const i=n.vi=n.vi||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"Bút xanh dương","Green marker":"Bút xanh lá","Green pen":"Mực xanh",Highlight:"Làm nổi","Pink marker":"Bút hồng","Red pen":"Mực đỏ","Remove highlight":"Xóa làm nổi","Text highlight toolbar":"Thanh công cụ làm nổi chữ","Yellow marker":"Bút vàng"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e["zh-cn"]=e["zh-cn"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"蓝色标记","Green marker":"绿色标记","Green pen":"绿色笔",Highlight:"高亮","Pink marker":"粉色标记","Red pen":"红色笔","Remove highlight":"清除高亮","Text highlight toolbar":"文本高亮工具栏","Yellow marker":"黄色标记"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.zh=e.zh||{};i.dictionary=Object.assign(i.dictionary||{},{"Blue marker":"藍色標記","Green marker":"綠色標記","Green pen":"綠色筆",Highlight:"高亮","Pink marker":"粉色標記","Red pen":"紅色筆","Remove highlight":"清除高亮","Text highlight toolbar":"高亮","Yellow marker":"黃色標記"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1,38 @@
1
+ {
2
+ "plugins": [
3
+ {
4
+ "name": "Highlight",
5
+ "className": "Highlight",
6
+ "description": "Offers the text marking tools (pens and markers) useful when reviewing content or highlighting it for future reference.",
7
+ "docs": "features/highlight.html",
8
+ "path": "src/highlight.js",
9
+ "uiComponents": [
10
+ {
11
+ "type": "SplitButton",
12
+ "name": "highlight",
13
+ "iconPath": "theme/icons/pen.svg"
14
+ }
15
+ ],
16
+ "htmlOutput": [
17
+ {
18
+ "elements": "mark",
19
+ "classes": [
20
+ "marker-yellow",
21
+ "marker-green",
22
+ "marker-pink",
23
+ "marker-blue",
24
+ "pen-red",
25
+ "pen-green"
26
+ ],
27
+ "_comment": "By default, this plugin has 4 markers and 2 pens preconfigured."
28
+ },
29
+ {
30
+ "elements": "mark",
31
+ "classes": "*",
32
+ "isAlternative": true,
33
+ "_comment": "The plugin can be configured to set any classes on the `<mark>` element."
34
+ }
35
+ ]
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ import type { Highlight, HighlightCommand, HighlightConfig, HighlightEditing, HighlightUI } from './index.js';
10
+ declare module '@ckeditor/ckeditor5-core' {
11
+ interface EditorConfig {
12
+ /**
13
+ * The configuration of the {@link module:highlight/highlight~Highlight} feature.
14
+ *
15
+ * Read more in {@link module:highlight/highlightconfig~HighlightConfig}.
16
+ */
17
+ highlight?: HighlightConfig;
18
+ }
19
+ interface PluginsMap {
20
+ [Highlight.pluginName]: Highlight;
21
+ [HighlightEditing.pluginName]: HighlightEditing;
22
+ [HighlightUI.pluginName]: HighlightUI;
23
+ }
24
+ interface CommandsMap {
25
+ highlight: HighlightCommand;
26
+ }
27
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module highlight/highlight
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import HighlightEditing from './highlightediting.js';
14
+ import HighlightUI from './highlightui.js';
15
+ /**
16
+ * The highlight plugin.
17
+ *
18
+ * For a detailed overview, check the {@glink features/highlight Highlight feature} documentation.
19
+ *
20
+ * This is a "glue" plugin which loads the {@link module:highlight/highlightediting~HighlightEditing} and
21
+ * {@link module:highlight/highlightui~HighlightUI} plugins.
22
+ */
23
+ export default class Highlight extends Plugin {
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static get requires(): readonly [typeof HighlightEditing, typeof HighlightUI];
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static get pluginName(): "Highlight";
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ static get isOfficialPlugin(): true;
36
+ }
@@ -0,0 +1,49 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module highlight/highlightcommand
11
+ */
12
+ import { Command } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * The highlight command. It is used by the {@link module:highlight/highlightediting~HighlightEditing highlight feature}
15
+ * to apply the text highlighting.
16
+ *
17
+ * ```ts
18
+ * editor.execute( 'highlight', { value: 'greenMarker' } );
19
+ * ```
20
+ *
21
+ * **Note**: Executing the command without a value removes the attribute from the model. If the selection is collapsed
22
+ * inside a text with the highlight attribute, the command will remove the attribute from the entire range
23
+ * of that text.
24
+ */
25
+ export default class HighlightCommand extends Command {
26
+ /**
27
+ * A value indicating whether the command is active. If the selection has some highlight attribute,
28
+ * it corresponds to the value of that attribute.
29
+ *
30
+ * @observable
31
+ * @readonly
32
+ */
33
+ value: string | undefined;
34
+ /**
35
+ * @inheritDoc
36
+ */
37
+ refresh(): void;
38
+ /**
39
+ * Executes the command.
40
+ *
41
+ * @param options Options for the executed command.
42
+ * @param options.value The value to apply.
43
+ *
44
+ * @fires execute
45
+ */
46
+ execute(options?: {
47
+ value?: string | null;
48
+ }): void;
49
+ }