@ckeditor/ckeditor5-block-quote 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 (346) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/LICENSE.md +17 -0
  3. package/README.md +26 -0
  4. package/build/block-quote.js +5 -0
  5. package/build/translations/af.js +1 -0
  6. package/build/translations/ar.js +1 -0
  7. package/build/translations/az.js +1 -0
  8. package/build/translations/bg.js +1 -0
  9. package/build/translations/bn.js +1 -0
  10. package/build/translations/bs.js +1 -0
  11. package/build/translations/ca.js +1 -0
  12. package/build/translations/cs.js +1 -0
  13. package/build/translations/da.js +1 -0
  14. package/build/translations/de-ch.js +1 -0
  15. package/build/translations/de.js +1 -0
  16. package/build/translations/el.js +1 -0
  17. package/build/translations/en-au.js +1 -0
  18. package/build/translations/en-gb.js +1 -0
  19. package/build/translations/es-co.js +1 -0
  20. package/build/translations/es.js +1 -0
  21. package/build/translations/et.js +1 -0
  22. package/build/translations/eu.js +1 -0
  23. package/build/translations/fa.js +1 -0
  24. package/build/translations/fi.js +1 -0
  25. package/build/translations/fr.js +1 -0
  26. package/build/translations/gl.js +1 -0
  27. package/build/translations/gu.js +1 -0
  28. package/build/translations/he.js +1 -0
  29. package/build/translations/hi.js +1 -0
  30. package/build/translations/hr.js +1 -0
  31. package/build/translations/hu.js +1 -0
  32. package/build/translations/id.js +1 -0
  33. package/build/translations/it.js +1 -0
  34. package/build/translations/ja.js +1 -0
  35. package/build/translations/km.js +1 -0
  36. package/build/translations/kn.js +1 -0
  37. package/build/translations/ko.js +1 -0
  38. package/build/translations/ku.js +1 -0
  39. package/build/translations/lt.js +1 -0
  40. package/build/translations/lv.js +1 -0
  41. package/build/translations/ms.js +1 -0
  42. package/build/translations/nb.js +1 -0
  43. package/build/translations/ne.js +1 -0
  44. package/build/translations/nl.js +1 -0
  45. package/build/translations/no.js +1 -0
  46. package/build/translations/pl.js +1 -0
  47. package/build/translations/pt-br.js +1 -0
  48. package/build/translations/pt.js +1 -0
  49. package/build/translations/ro.js +1 -0
  50. package/build/translations/ru.js +1 -0
  51. package/build/translations/sk.js +1 -0
  52. package/build/translations/sl.js +1 -0
  53. package/build/translations/sq.js +1 -0
  54. package/build/translations/sr-latn.js +1 -0
  55. package/build/translations/sr.js +1 -0
  56. package/build/translations/sv.js +1 -0
  57. package/build/translations/th.js +1 -0
  58. package/build/translations/tk.js +1 -0
  59. package/build/translations/tr.js +1 -0
  60. package/build/translations/ug.js +1 -0
  61. package/build/translations/uk.js +1 -0
  62. package/build/translations/ur.js +1 -0
  63. package/build/translations/uz.js +1 -0
  64. package/build/translations/vi.js +1 -0
  65. package/build/translations/zh-cn.js +1 -0
  66. package/build/translations/zh.js +1 -0
  67. package/ckeditor5-metadata.json +23 -0
  68. package/dist/augmentation.d.ts +19 -0
  69. package/dist/blockquote.d.ts +38 -0
  70. package/dist/blockquotecommand.d.ts +65 -0
  71. package/dist/blockquoteediting.d.ts +39 -0
  72. package/dist/blockquoteui.d.ts +38 -0
  73. package/dist/index-content.css +19 -0
  74. package/dist/index-editor.css +4 -0
  75. package/dist/index.css +29 -0
  76. package/dist/index.css.map +1 -0
  77. package/dist/index.d.ts +16 -0
  78. package/dist/index.js +373 -0
  79. package/dist/index.js.map +1 -0
  80. package/dist/translations/af.d.ts +8 -0
  81. package/dist/translations/af.js +5 -0
  82. package/dist/translations/af.umd.js +11 -0
  83. package/dist/translations/ar.d.ts +8 -0
  84. package/dist/translations/ar.js +5 -0
  85. package/dist/translations/ar.umd.js +11 -0
  86. package/dist/translations/az.d.ts +8 -0
  87. package/dist/translations/az.js +5 -0
  88. package/dist/translations/az.umd.js +11 -0
  89. package/dist/translations/bg.d.ts +8 -0
  90. package/dist/translations/bg.js +5 -0
  91. package/dist/translations/bg.umd.js +11 -0
  92. package/dist/translations/bn.d.ts +8 -0
  93. package/dist/translations/bn.js +5 -0
  94. package/dist/translations/bn.umd.js +11 -0
  95. package/dist/translations/bs.d.ts +8 -0
  96. package/dist/translations/bs.js +5 -0
  97. package/dist/translations/bs.umd.js +11 -0
  98. package/dist/translations/ca.d.ts +8 -0
  99. package/dist/translations/ca.js +5 -0
  100. package/dist/translations/ca.umd.js +11 -0
  101. package/dist/translations/cs.d.ts +8 -0
  102. package/dist/translations/cs.js +5 -0
  103. package/dist/translations/cs.umd.js +11 -0
  104. package/dist/translations/da.d.ts +8 -0
  105. package/dist/translations/da.js +5 -0
  106. package/dist/translations/da.umd.js +11 -0
  107. package/dist/translations/de-ch.d.ts +8 -0
  108. package/dist/translations/de-ch.js +5 -0
  109. package/dist/translations/de-ch.umd.js +11 -0
  110. package/dist/translations/de.d.ts +8 -0
  111. package/dist/translations/de.js +5 -0
  112. package/dist/translations/de.umd.js +11 -0
  113. package/dist/translations/el.d.ts +8 -0
  114. package/dist/translations/el.js +5 -0
  115. package/dist/translations/el.umd.js +11 -0
  116. package/dist/translations/en-au.d.ts +8 -0
  117. package/dist/translations/en-au.js +5 -0
  118. package/dist/translations/en-au.umd.js +11 -0
  119. package/dist/translations/en-gb.d.ts +8 -0
  120. package/dist/translations/en-gb.js +5 -0
  121. package/dist/translations/en-gb.umd.js +11 -0
  122. package/dist/translations/en.d.ts +8 -0
  123. package/dist/translations/en.js +5 -0
  124. package/dist/translations/en.umd.js +11 -0
  125. package/dist/translations/es-co.d.ts +8 -0
  126. package/dist/translations/es-co.js +5 -0
  127. package/dist/translations/es-co.umd.js +11 -0
  128. package/dist/translations/es.d.ts +8 -0
  129. package/dist/translations/es.js +5 -0
  130. package/dist/translations/es.umd.js +11 -0
  131. package/dist/translations/et.d.ts +8 -0
  132. package/dist/translations/et.js +5 -0
  133. package/dist/translations/et.umd.js +11 -0
  134. package/dist/translations/eu.d.ts +8 -0
  135. package/dist/translations/eu.js +5 -0
  136. package/dist/translations/eu.umd.js +11 -0
  137. package/dist/translations/fa.d.ts +8 -0
  138. package/dist/translations/fa.js +5 -0
  139. package/dist/translations/fa.umd.js +11 -0
  140. package/dist/translations/fi.d.ts +8 -0
  141. package/dist/translations/fi.js +5 -0
  142. package/dist/translations/fi.umd.js +11 -0
  143. package/dist/translations/fr.d.ts +8 -0
  144. package/dist/translations/fr.js +5 -0
  145. package/dist/translations/fr.umd.js +11 -0
  146. package/dist/translations/gl.d.ts +8 -0
  147. package/dist/translations/gl.js +5 -0
  148. package/dist/translations/gl.umd.js +11 -0
  149. package/dist/translations/gu.d.ts +8 -0
  150. package/dist/translations/gu.js +5 -0
  151. package/dist/translations/gu.umd.js +11 -0
  152. package/dist/translations/he.d.ts +8 -0
  153. package/dist/translations/he.js +5 -0
  154. package/dist/translations/he.umd.js +11 -0
  155. package/dist/translations/hi.d.ts +8 -0
  156. package/dist/translations/hi.js +5 -0
  157. package/dist/translations/hi.umd.js +11 -0
  158. package/dist/translations/hr.d.ts +8 -0
  159. package/dist/translations/hr.js +5 -0
  160. package/dist/translations/hr.umd.js +11 -0
  161. package/dist/translations/hu.d.ts +8 -0
  162. package/dist/translations/hu.js +5 -0
  163. package/dist/translations/hu.umd.js +11 -0
  164. package/dist/translations/id.d.ts +8 -0
  165. package/dist/translations/id.js +5 -0
  166. package/dist/translations/id.umd.js +11 -0
  167. package/dist/translations/it.d.ts +8 -0
  168. package/dist/translations/it.js +5 -0
  169. package/dist/translations/it.umd.js +11 -0
  170. package/dist/translations/ja.d.ts +8 -0
  171. package/dist/translations/ja.js +5 -0
  172. package/dist/translations/ja.umd.js +11 -0
  173. package/dist/translations/km.d.ts +8 -0
  174. package/dist/translations/km.js +5 -0
  175. package/dist/translations/km.umd.js +11 -0
  176. package/dist/translations/kn.d.ts +8 -0
  177. package/dist/translations/kn.js +5 -0
  178. package/dist/translations/kn.umd.js +11 -0
  179. package/dist/translations/ko.d.ts +8 -0
  180. package/dist/translations/ko.js +5 -0
  181. package/dist/translations/ko.umd.js +11 -0
  182. package/dist/translations/ku.d.ts +8 -0
  183. package/dist/translations/ku.js +5 -0
  184. package/dist/translations/ku.umd.js +11 -0
  185. package/dist/translations/lt.d.ts +8 -0
  186. package/dist/translations/lt.js +5 -0
  187. package/dist/translations/lt.umd.js +11 -0
  188. package/dist/translations/lv.d.ts +8 -0
  189. package/dist/translations/lv.js +5 -0
  190. package/dist/translations/lv.umd.js +11 -0
  191. package/dist/translations/ms.d.ts +8 -0
  192. package/dist/translations/ms.js +5 -0
  193. package/dist/translations/ms.umd.js +11 -0
  194. package/dist/translations/nb.d.ts +8 -0
  195. package/dist/translations/nb.js +5 -0
  196. package/dist/translations/nb.umd.js +11 -0
  197. package/dist/translations/ne.d.ts +8 -0
  198. package/dist/translations/ne.js +5 -0
  199. package/dist/translations/ne.umd.js +11 -0
  200. package/dist/translations/nl.d.ts +8 -0
  201. package/dist/translations/nl.js +5 -0
  202. package/dist/translations/nl.umd.js +11 -0
  203. package/dist/translations/no.d.ts +8 -0
  204. package/dist/translations/no.js +5 -0
  205. package/dist/translations/no.umd.js +11 -0
  206. package/dist/translations/pl.d.ts +8 -0
  207. package/dist/translations/pl.js +5 -0
  208. package/dist/translations/pl.umd.js +11 -0
  209. package/dist/translations/pt-br.d.ts +8 -0
  210. package/dist/translations/pt-br.js +5 -0
  211. package/dist/translations/pt-br.umd.js +11 -0
  212. package/dist/translations/pt.d.ts +8 -0
  213. package/dist/translations/pt.js +5 -0
  214. package/dist/translations/pt.umd.js +11 -0
  215. package/dist/translations/ro.d.ts +8 -0
  216. package/dist/translations/ro.js +5 -0
  217. package/dist/translations/ro.umd.js +11 -0
  218. package/dist/translations/ru.d.ts +8 -0
  219. package/dist/translations/ru.js +5 -0
  220. package/dist/translations/ru.umd.js +11 -0
  221. package/dist/translations/sk.d.ts +8 -0
  222. package/dist/translations/sk.js +5 -0
  223. package/dist/translations/sk.umd.js +11 -0
  224. package/dist/translations/sl.d.ts +8 -0
  225. package/dist/translations/sl.js +5 -0
  226. package/dist/translations/sl.umd.js +11 -0
  227. package/dist/translations/sq.d.ts +8 -0
  228. package/dist/translations/sq.js +5 -0
  229. package/dist/translations/sq.umd.js +11 -0
  230. package/dist/translations/sr-latn.d.ts +8 -0
  231. package/dist/translations/sr-latn.js +5 -0
  232. package/dist/translations/sr-latn.umd.js +11 -0
  233. package/dist/translations/sr.d.ts +8 -0
  234. package/dist/translations/sr.js +5 -0
  235. package/dist/translations/sr.umd.js +11 -0
  236. package/dist/translations/sv.d.ts +8 -0
  237. package/dist/translations/sv.js +5 -0
  238. package/dist/translations/sv.umd.js +11 -0
  239. package/dist/translations/th.d.ts +8 -0
  240. package/dist/translations/th.js +5 -0
  241. package/dist/translations/th.umd.js +11 -0
  242. package/dist/translations/tk.d.ts +8 -0
  243. package/dist/translations/tk.js +5 -0
  244. package/dist/translations/tk.umd.js +11 -0
  245. package/dist/translations/tr.d.ts +8 -0
  246. package/dist/translations/tr.js +5 -0
  247. package/dist/translations/tr.umd.js +11 -0
  248. package/dist/translations/ug.d.ts +8 -0
  249. package/dist/translations/ug.js +5 -0
  250. package/dist/translations/ug.umd.js +11 -0
  251. package/dist/translations/uk.d.ts +8 -0
  252. package/dist/translations/uk.js +5 -0
  253. package/dist/translations/uk.umd.js +11 -0
  254. package/dist/translations/ur.d.ts +8 -0
  255. package/dist/translations/ur.js +5 -0
  256. package/dist/translations/ur.umd.js +11 -0
  257. package/dist/translations/uz.d.ts +8 -0
  258. package/dist/translations/uz.js +5 -0
  259. package/dist/translations/uz.umd.js +11 -0
  260. package/dist/translations/vi.d.ts +8 -0
  261. package/dist/translations/vi.js +5 -0
  262. package/dist/translations/vi.umd.js +11 -0
  263. package/dist/translations/zh-cn.d.ts +8 -0
  264. package/dist/translations/zh-cn.js +5 -0
  265. package/dist/translations/zh-cn.umd.js +11 -0
  266. package/dist/translations/zh.d.ts +8 -0
  267. package/dist/translations/zh.js +5 -0
  268. package/dist/translations/zh.umd.js +11 -0
  269. package/lang/contexts.json +3 -0
  270. package/lang/translations/af.po +22 -0
  271. package/lang/translations/ar.po +22 -0
  272. package/lang/translations/az.po +22 -0
  273. package/lang/translations/bg.po +22 -0
  274. package/lang/translations/bn.po +22 -0
  275. package/lang/translations/bs.po +22 -0
  276. package/lang/translations/ca.po +22 -0
  277. package/lang/translations/cs.po +22 -0
  278. package/lang/translations/da.po +22 -0
  279. package/lang/translations/de-ch.po +22 -0
  280. package/lang/translations/de.po +22 -0
  281. package/lang/translations/el.po +22 -0
  282. package/lang/translations/en-au.po +22 -0
  283. package/lang/translations/en-gb.po +22 -0
  284. package/lang/translations/en.po +22 -0
  285. package/lang/translations/es-co.po +22 -0
  286. package/lang/translations/es.po +22 -0
  287. package/lang/translations/et.po +22 -0
  288. package/lang/translations/eu.po +22 -0
  289. package/lang/translations/fa.po +22 -0
  290. package/lang/translations/fi.po +22 -0
  291. package/lang/translations/fr.po +22 -0
  292. package/lang/translations/gl.po +22 -0
  293. package/lang/translations/gu.po +22 -0
  294. package/lang/translations/he.po +22 -0
  295. package/lang/translations/hi.po +22 -0
  296. package/lang/translations/hr.po +22 -0
  297. package/lang/translations/hu.po +22 -0
  298. package/lang/translations/id.po +22 -0
  299. package/lang/translations/it.po +22 -0
  300. package/lang/translations/ja.po +22 -0
  301. package/lang/translations/km.po +22 -0
  302. package/lang/translations/kn.po +22 -0
  303. package/lang/translations/ko.po +22 -0
  304. package/lang/translations/ku.po +22 -0
  305. package/lang/translations/lt.po +22 -0
  306. package/lang/translations/lv.po +22 -0
  307. package/lang/translations/ms.po +22 -0
  308. package/lang/translations/nb.po +22 -0
  309. package/lang/translations/ne.po +22 -0
  310. package/lang/translations/nl.po +22 -0
  311. package/lang/translations/no.po +22 -0
  312. package/lang/translations/pl.po +22 -0
  313. package/lang/translations/pt-br.po +22 -0
  314. package/lang/translations/pt.po +22 -0
  315. package/lang/translations/ro.po +22 -0
  316. package/lang/translations/ru.po +22 -0
  317. package/lang/translations/sk.po +22 -0
  318. package/lang/translations/sl.po +22 -0
  319. package/lang/translations/sq.po +22 -0
  320. package/lang/translations/sr-latn.po +22 -0
  321. package/lang/translations/sr.po +22 -0
  322. package/lang/translations/sv.po +22 -0
  323. package/lang/translations/th.po +22 -0
  324. package/lang/translations/tk.po +22 -0
  325. package/lang/translations/tr.po +22 -0
  326. package/lang/translations/ug.po +22 -0
  327. package/lang/translations/uk.po +22 -0
  328. package/lang/translations/ur.po +22 -0
  329. package/lang/translations/uz.po +22 -0
  330. package/lang/translations/vi.po +22 -0
  331. package/lang/translations/zh-cn.po +22 -0
  332. package/lang/translations/zh.po +22 -0
  333. package/package.json +43 -0
  334. package/src/augmentation.d.ts +15 -0
  335. package/src/augmentation.js +5 -0
  336. package/src/blockquote.d.ts +34 -0
  337. package/src/blockquote.js +40 -0
  338. package/src/blockquotecommand.d.ts +61 -0
  339. package/src/blockquotecommand.js +172 -0
  340. package/src/blockquoteediting.d.ts +35 -0
  341. package/src/blockquoteediting.js +124 -0
  342. package/src/blockquoteui.d.ts +34 -0
  343. package/src/blockquoteui.js +74 -0
  344. package/src/index.d.ts +12 -0
  345. package/src/index.js +11 -0
  346. package/theme/blockquote.css +23 -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 block quote feature** – https://github.com/ckeditor/ckeditor5-block-quote <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 block quote feature
2
+ ========================================
3
+
4
+ [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-block-quote.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote)
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 block quote support for CKEditor&nbsp;5.
9
+
10
+ ## Demo
11
+
12
+ Check out the [demo in the block quote feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/block-quote.html#demo).
13
+
14
+ ## Documentation
15
+
16
+ See the [`@ckeditor/ckeditor5-block-quote` package](https://ckeditor.com/docs/ckeditor5/latest/api/block-quote.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||{},{"Block quote":"Block quote"})}(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={28:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var n=o(758),r=o.n(n),i=o(935),s=o.n(i)()(r());s.push([e.id,".ck-content blockquote{border-left:5px solid #ccc;font-style:italic;margin-left:0;margin-right:0;overflow:hidden;padding-left:1.5em;padding-right:1.5em}.ck-content[dir=rtl] blockquote{border-left:0;border-right:5px solid #ccc}",""]);const c=s},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(n)for(var c=0;c<this.length;c++){var a=this[c][0];null!=a&&(s[a]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);n&&s[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),o&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=o):u[2]=o),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function o(e){for(var o=-1,n=0;n<t.length;n++)if(t[n].identifier===e){o=n;break}return o}function n(e,n){for(var i={},s=[],c=0;c<e.length;c++){var a=e[c],l=n.base?a[0]+n.base:a[0],u=i[l]||0,d="".concat(l," ").concat(u);i[l]=u+1;var f=o(d),p={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var m=r(p,n);n.byIndex=c,t.splice(c,0,{identifier:d,updater:m,references:1})}s.push(d)}return s}function r(e,t){var o=t.domAPI(t);o.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;o.update(e=t)}else o.remove()}}e.exports=function(e,r){var i=n(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<i.length;s++){var c=o(i[s]);t[c].references--}for(var a=n(e,r),l=0;l<i.length;l++){var u=o(i[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=a}}},128:e=>{"use strict";var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}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(o)}},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(o){e.setAttribute(o,t[o])}))}},639:e=>{"use strict";var t,o=(t=[],function(e,o){return t[e]=o,t.filter(Boolean).join("\n")});function n(e,t,n,r){var i;if(n)i="";else{i="",r.supports&&(i+="@supports (".concat(r.supports,") {")),r.media&&(i+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(i+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),i+=r.css,s&&(i+="}"),r.media&&(i+="}"),r.supports&&(i+="}")}if(e.styleSheet)e.styleSheet.cssText=o(t,i);else{var c=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(c,a[t]):e.appendChild(c)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,o=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){n(o,t,!1,e)},remove:function(e){n(o,t,!0,e)}}}},782:(e,t,o)=>{e.exports=o(237)("./src/core.js")},507:(e,t,o)=>{e.exports=o(237)("./src/enter.js")},834:(e,t,o)=>{e.exports=o(237)("./src/typing.js")},311:(e,t,o)=>{e.exports=o(237)("./src/ui.js")},584:(e,t,o)=>{e.exports=o(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,exports:{}};return e[n](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";o.r(n),o.d(n,{BlockQuote:()=>S,BlockQuoteEditing:()=>u,BlockQuoteUI:()=>Q});var e=o(782),t=o(507),r=o(834),i=o(584);class s extends e.Command{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,o=t.schema,n=t.document.selection,r=Array.from(n.getSelectedBlocks()),i=void 0===e.forceValue?!this.value:e.forceValue;t.change((e=>{if(i){const t=r.filter((e=>c(e)||l(o,e)));this._applyQuote(e,t)}else this._removeQuote(e,r.filter(c))}))}_getValue(){const e=this.editor.model.document.selection,t=(0,i.first)(e.getSelectedBlocks());return!(!t||!c(t))}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,o=(0,i.first)(e.getSelectedBlocks());return!!o&&l(t,o)}_removeQuote(e,t){a(e,t).reverse().forEach((t=>{if(t.start.isAtStart&&t.end.isAtEnd)return void e.unwrap(t.start.parent);if(t.start.isAtStart){const o=e.createPositionBefore(t.start.parent);return void e.move(t,o)}t.end.isAtEnd||e.split(t.end);const o=e.createPositionAfter(t.end.parent);e.move(t,o)}))}_applyQuote(e,t){const o=[];a(e,t).reverse().forEach((t=>{let n=c(t.start);n||(n=e.createElement("blockQuote"),e.wrap(t,n)),o.push(n)})),o.reverse().reduce(((t,o)=>t.nextSibling==o?(e.merge(e.createPositionAfter(t)),t):o))}}function c(e){return"blockQuote"==e.parent.name?e.parent:null}function a(e,t){let o,n=0;const r=[];for(;n<t.length;){const i=t[n],s=t[n+1];o||(o=e.createPositionBefore(i)),s&&i.nextSibling==s||(r.push(e.createRange(o,e.createPositionAfter(i))),o=null),n++}return r}function l(e,t){const o=e.checkChild(t.parent,"blockQuote"),n=e.checkChild(["$root","blockQuote"],t);return o&&n}class u extends e.Plugin{static get pluginName(){return"BlockQuoteEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[t.Enter,r.Delete]}init(){const e=this.editor,t=e.model.schema;e.commands.add("blockQuote",new s(e)),t.register("blockQuote",{inheritAllFrom:"$container"}),e.conversion.elementToElement({model:"blockQuote",view:"blockquote"}),e.model.document.registerPostFixer((o=>{const n=e.model.document.differ.getChanges();for(const e of n)if("insert"==e.type){const n=e.position.nodeAfter;if(!n)continue;if(n.is("element","blockQuote")&&n.isEmpty)return o.remove(n),!0;if(n.is("element","blockQuote")&&!t.checkChild(e.position,n))return o.unwrap(n),!0;if(n.is("element")){const e=o.createRangeIn(n);for(const n of e.getItems())if(n.is("element","blockQuote")&&!t.checkChild(o.createPositionBefore(n),n))return o.unwrap(n),!0}}else if("remove"==e.type){const t=e.position.parent;if(t.is("element","blockQuote")&&t.isEmpty)return o.remove(t),!0}return!1}));const o=this.editor.editing.view.document,n=e.model.document.selection,r=e.commands.get("blockQuote");this.listenTo(o,"enter",((t,o)=>{if(!n.isCollapsed||!r.value)return;n.getLastPosition().parent.isEmpty&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),o.preventDefault(),t.stop())}),{context:"blockquote"}),this.listenTo(o,"delete",((t,o)=>{if("backward"!=o.direction||!n.isCollapsed||!r.value)return;const i=n.getLastPosition().parent;i.isEmpty&&!i.previousSibling&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),o.preventDefault(),t.stop())}),{context:"blockquote"})}}var d=o(311),f=o(591),p=o.n(f),m=o(639),h=o.n(m),v=o(128),g=o.n(v),b=o(21),k=o.n(b),y=o(51),x=o.n(y),w=o(28),E={attributes:{"data-cke":!0}};E.setAttributes=k(),E.insert=g().bind(null,"head"),E.domAPI=h(),E.insertStyleElement=x();p()(w.A,E);w.A&&w.A.locals&&w.A.locals;class Q extends e.Plugin{static get pluginName(){return"BlockQuoteUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("blockQuote",(()=>{const e=this._createButton(d.ButtonView);return e.set({tooltip:!0}),e})),e.ui.componentFactory.add("menuBar:blockQuote",(()=>{const e=this._createButton(d.MenuBarMenuListItemButtonView);return e.set({role:"menuitemcheckbox"}),e}))}_createButton(t){const o=this.editor,n=o.locale,r=o.commands.get("blockQuote"),i=new t(o.locale),s=n.t;return i.set({label:s("Block quote"),icon:e.icons.quote,isToggleable:!0}),i.bind("isEnabled").to(r,"isEnabled"),i.bind("isOn").to(r,"value"),this.listenTo(i,"execute",(()=>{o.execute("blockQuote"),o.editing.view.focus()})),i}}class S extends e.Plugin{static get requires(){return[u,Q]}static get pluginName(){return"BlockQuote"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).blockQuote=n})();
@@ -0,0 +1 @@
1
+ !function(n){const i=n.af=n.af||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Verwysingsaanhaling"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.ar=i.ar||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"اقتباس"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const o=i.az=i.az||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Sitat bloku"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.bg=i.bg||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Цитат"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const i=n.bn=n.bn||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"ব্লক কোট"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.bs=i.bs||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(c){const i=c.ca=c.ca||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Cita de bloc"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(c){const i=c.cs=c.cs||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Citace"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const o=i.da=i.da||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blot citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(c){const i=c["de-ch"]=c["de-ch"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Blockzitat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const o=i.de=i.de||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blockzitat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.el=i.el||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Περιοχή παράθεσης"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const o=n["en-au"]=n["en-au"]||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Block quote"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const o=n["en-gb"]=n["en-gb"]||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Block quote"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const i=o["es-co"]=o["es-co"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Cita de bloque"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const o=i.es=i.es||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Bloque de cita"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(t){const i=t.et=t.et||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Tsitaat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.eu=i.eu||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Aipua"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.fa=i.fa||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":" بلوک نقل قول"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.fi=i.fi||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Lainaus"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.fr=i.fr||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Citation"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const o=i.gl=i.gl||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Cita de bloque"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.gu=i.gu||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":" વિચાર ટાંકો"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.he=i.he||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"בלוק ציטוט"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const o=i.hi=i.hi||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Block quote"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const o=i.hr=i.hr||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blok citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.hu=i.hu||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Idézet"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.id=i.id||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Kutipan"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const o=i.it=i.it||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blocco citazione"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.ja=i.ja||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"ブロッククオート(引用)"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.km=i.km||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"ប្លុក​ពាក្យ​សម្រង់"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const i=n.kn=n.kn||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"‍‍‍‍ಗುರುತಿಸಲಾದ ‍‍ಉಲ್ಲೇಖ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const i=o.ko=o.ko||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"인용 단락"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.ku=i.ku||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"وتەی وەرگیراو"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(t){const i=t.lt=t.lt||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Citata"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.lv=i.lv||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Citāts"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.ms=i.ms||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Blok petikan"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const i=n.nb=n.nb||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Blokksitat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const i=n.ne=n.ne||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"ब्लक उद्धरण"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const i=n.nl=n.nl||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Blok citaat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const n=o.no=o.no||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Blokksitat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const i=o.pl=o.pl||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Cytat blokowy"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const i=o["pt-br"]=o["pt-br"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Bloco de citação"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const i=o.pt=o.pt||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Bloco de citação"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const i=o.ro=o.ro||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Bloc citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.ru=i.ru||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Цитата"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.sk=i.sk||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Citát"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const o=i.sl=i.sl||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blokiraj citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const o=n.sq=n.sq||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Thonjëzat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const t=n["sr-latn"]=n["sr-latn"]||{};t.dictionary=Object.assign(t.dictionary||{},{"Block quote":"Citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.sr=i.sr||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Цитат"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const o=i.sv=i.sv||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blockcitat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.th=i.th||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"คำพูดบล็อก"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const t=i.tk=i.tk||{};t.dictionary=Object.assign(t.dictionary||{},{"Block quote":"Sitata blokirläň"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const t=n.tr=n.tr||{};t.dictionary=Object.assign(t.dictionary||{},{"Block quote":"Alıntı"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.ug=i.ug||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"نەقىل"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.uk=i.uk||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Цитата"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.ur=i.ur||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"خانہ اقتباس"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const o=i.uz=i.uz||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Iqtibos"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.vi=i.vi||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Trích dẫn"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const c=n["zh-cn"]=n["zh-cn"]||{};c.dictionary=Object.assign(c.dictionary||{},{"Block quote":"块引用"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.zh=i.zh||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"段落引用"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1,23 @@
1
+ {
2
+ "plugins": [
3
+ {
4
+ "name": "Block quote",
5
+ "className": "BlockQuote",
6
+ "description": "Implements the block quote support to easily include quotations and passages in the rich-text content.",
7
+ "docs": "features/block-quote.html",
8
+ "path": "src/blockquote.js",
9
+ "uiComponents": [
10
+ {
11
+ "type": "Button",
12
+ "name": "blockQuote",
13
+ "iconPath": "@ckeditor/ckeditor5-core/theme/icons/quote.svg"
14
+ }
15
+ ],
16
+ "htmlOutput": [
17
+ {
18
+ "elements": "blockquote"
19
+ }
20
+ ]
21
+ }
22
+ ]
23
+ }
@@ -0,0 +1,19 @@
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 { BlockQuote, BlockQuoteCommand, BlockQuoteEditing, BlockQuoteUI } from './index.js';
10
+ declare module '@ckeditor/ckeditor5-core' {
11
+ interface PluginsMap {
12
+ [BlockQuote.pluginName]: BlockQuote;
13
+ [BlockQuoteEditing.pluginName]: BlockQuoteEditing;
14
+ [BlockQuoteUI.pluginName]: BlockQuoteUI;
15
+ }
16
+ interface CommandsMap {
17
+ blockQuote: BlockQuoteCommand;
18
+ }
19
+ }
@@ -0,0 +1,38 @@
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 block-quote/blockquote
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import BlockQuoteEditing from './blockquoteediting.js';
14
+ import BlockQuoteUI from './blockquoteui.js';
15
+ /**
16
+ * The block quote plugin.
17
+ *
18
+ * For more information about this feature check the {@glink api/block-quote package page}.
19
+ *
20
+ * This is a "glue" plugin which loads the {@link module:block-quote/blockquoteediting~BlockQuoteEditing block quote editing feature}
21
+ * and {@link module:block-quote/blockquoteui~BlockQuoteUI block quote UI feature}.
22
+ *
23
+ * @extends module:core/plugin~Plugin
24
+ */
25
+ export default class BlockQuote extends Plugin {
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get requires(): readonly [typeof BlockQuoteEditing, typeof BlockQuoteUI];
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ static get pluginName(): "BlockQuote";
34
+ /**
35
+ * @inheritDoc
36
+ */
37
+ static get isOfficialPlugin(): true;
38
+ }
@@ -0,0 +1,65 @@
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 block-quote/blockquotecommand
11
+ */
12
+ import { Command } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * The block quote command plugin.
15
+ *
16
+ * @extends module:core/command~Command
17
+ */
18
+ export default class BlockQuoteCommand extends Command {
19
+ /**
20
+ * Whether the selection starts in a block quote.
21
+ *
22
+ * @observable
23
+ * @readonly
24
+ */
25
+ value: boolean;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ refresh(): void;
30
+ /**
31
+ * Executes the command. When the command {@link #value is on}, all top-most block quotes within
32
+ * the selection will be removed. If it is off, all selected blocks will be wrapped with
33
+ * a block quote.
34
+ *
35
+ * @fires execute
36
+ * @param options Command options.
37
+ * @param options.forceValue If set, it will force the command behavior. If `true`, the command will apply a block quote,
38
+ * otherwise the command will remove the block quote. If not set, the command will act basing on its current value.
39
+ */
40
+ execute(options?: {
41
+ forceValue?: boolean;
42
+ }): void;
43
+ /**
44
+ * Checks the command's {@link #value}.
45
+ */
46
+ private _getValue;
47
+ /**
48
+ * Checks whether the command can be enabled in the current context.
49
+ *
50
+ * @returns Whether the command should be enabled.
51
+ */
52
+ private _checkEnabled;
53
+ /**
54
+ * Removes the quote from given blocks.
55
+ *
56
+ * If blocks which are supposed to be "unquoted" are in the middle of a quote,
57
+ * start it or end it, then the quote will be split (if needed) and the blocks
58
+ * will be moved out of it, so other quoted blocks remained quoted.
59
+ */
60
+ private _removeQuote;
61
+ /**
62
+ * Applies the quote to given blocks.
63
+ */
64
+ private _applyQuote;
65
+ }
@@ -0,0 +1,39 @@
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 block-quote/blockquoteediting
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import { Enter } from 'ckeditor5/src/enter.js';
14
+ import { Delete } from 'ckeditor5/src/typing.js';
15
+ /**
16
+ * The block quote editing.
17
+ *
18
+ * Introduces the `'blockQuote'` command and the `'blockQuote'` model element.
19
+ *
20
+ * @extends module:core/plugin~Plugin
21
+ */
22
+ export default class BlockQuoteEditing extends Plugin {
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get pluginName(): "BlockQuoteEditing";
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get isOfficialPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ static get requires(): readonly [typeof Enter, typeof Delete];
35
+ /**
36
+ * @inheritDoc
37
+ */
38
+ init(): void;
39
+ }
@@ -0,0 +1,38 @@
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 block-quote/blockquoteui
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import '../theme/blockquote.css';
14
+ /**
15
+ * The block quote UI plugin.
16
+ *
17
+ * It introduces the `'blockQuote'` button.
18
+ *
19
+ * @extends module:core/plugin~Plugin
20
+ */
21
+ export default class BlockQuoteUI extends Plugin {
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get pluginName(): "BlockQuoteUI";
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get isOfficialPlugin(): true;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ init(): void;
34
+ /**
35
+ * Creates a button for block quote command to use either in toolbar or in menu bar.
36
+ */
37
+ private _createButton;
38
+ }
@@ -0,0 +1,19 @@
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
+ .ck-content blockquote{
6
+ overflow:hidden;
7
+ padding-right:1.5em;
8
+ padding-left:1.5em;
9
+
10
+ margin-left:0;
11
+ margin-right:0;
12
+ font-style:italic;
13
+ border-left:solid 5px hsl(0, 0%, 80%);
14
+ }
15
+
16
+ .ck-content[dir="rtl"] blockquote{
17
+ border-left:0;
18
+ border-right:solid 5px hsl(0, 0%, 80%);
19
+ }
@@ -0,0 +1,4 @@
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
+ */
package/dist/index.css ADDED
@@ -0,0 +1,29 @@
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
+ * 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
+ .ck-content blockquote {
11
+ /* See #12 */
12
+ overflow: hidden;
13
+
14
+ /* https://github.com/ckeditor/ckeditor5-block-quote/issues/15 */
15
+ padding-right: 1.5em;
16
+ padding-left: 1.5em;
17
+
18
+ margin-left: 0;
19
+ margin-right: 0;
20
+ font-style: italic;
21
+ border-left: solid 5px hsl(0, 0%, 80%);
22
+ }
23
+
24
+ .ck-content[dir="rtl"] blockquote {
25
+ border-left: 0;
26
+ border-right: solid 5px hsl(0, 0%, 80%);
27
+ }
28
+
29
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../theme/blockquote.css","index.css"],"names":[],"mappings":";;;;AAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AAC3E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC;AAC5E,CAAC,CDAC;;AAEF,CAAA,EAAA,CAAA,OAAA,CAAA,UAAA,CAAA;ACCA,CDAC,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,EAAA,CAAA,CAAY;ACCb,CDAC,QAAA,CAAA,CAAA,MAAgB;;ACEjB,CDAC,CAAA,CAAA,CAAA,KAAA,CAAA,CAAA,CAAA,MAAA,CAAA,GAAA,CAAA,QAAA,CAAA,SAAA,CAAA,KAAA,CAAA,KAAA,CAAA,MAAA,CAAA,EAAA,CAAA,CAAgE;ACCjE,CDAC,OAAA,CAAA,KAAA,CAAA,CAAA,CAAA,CAAA,GAAoB;ACCrB,CDAC,OAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA,GAAmB;;ACEpB,CDAC,MAAA,CAAA,IAAA,CAAA,CAAA,CAAc;ACCf,CDAC,MAAA,CAAA,KAAA,CAAA,CAAA,CAAe;ACChB,CDAC,IAAA,CAAA,KAAA,CAAA,CAAA,MAAkB;ACCnB,CDAC,MAAA,CAAA,IAAA,CAAA,CAAA,KAAA,CAAA,GAAA,CAAA,GAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAsC;AACvC;;AAEA,CAAA,EAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,UAAA,CAAA;ACCA,CDAC,MAAA,CAAA,IAAA,CAAA,CAAA,CAAc;ACCf,CDAC,MAAA,CAAA,KAAA,CAAA,CAAA,KAAA,CAAA,GAAA,CAAA,GAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAuC;AACxC;;ACEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2024, 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.ck-content blockquote {\n\t/* See #12 */\n\toverflow: hidden;\n\n\t/* https://github.com/ckeditor/ckeditor5-block-quote/issues/15 */\n\tpadding-right: 1.5em;\n\tpadding-left: 1.5em;\n\n\tmargin-left: 0;\n\tmargin-right: 0;\n\tfont-style: italic;\n\tborder-left: solid 5px hsl(0, 0%, 80%);\n}\n\n.ck-content[dir=\"rtl\"] blockquote {\n\tborder-left: 0;\n\tborder-right: solid 5px hsl(0, 0%, 80%);\n}\n","/*\n * Copyright (c) 2003-2024, 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.ck-content blockquote {\n\t/* See #12 */\n\toverflow: hidden;\n\n\t/* https://github.com/ckeditor/ckeditor5-block-quote/issues/15 */\n\tpadding-right: 1.5em;\n\tpadding-left: 1.5em;\n\n\tmargin-left: 0;\n\tmargin-right: 0;\n\tfont-style: italic;\n\tborder-left: solid 5px hsl(0, 0%, 80%);\n}\n\n.ck-content[dir=\"rtl\"] blockquote {\n\tborder-left: 0;\n\tborder-right: solid 5px hsl(0, 0%, 80%);\n}\n\n/*# sourceMappingURL=index.css.map */"]}
@@ -0,0 +1,16 @@
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 block-quote
11
+ */
12
+ export { default as BlockQuote } from './blockquote.js';
13
+ export { default as BlockQuoteEditing } from './blockquoteediting.js';
14
+ export { default as BlockQuoteUI } from './blockquoteui.js';
15
+ export type { default as BlockQuoteCommand } from './blockquotecommand.js';
16
+ import './augmentation.js';