@ckeditor/ckeditor5-ckfinder 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 (327) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/LICENSE.md +17 -0
  3. package/README.md +24 -0
  4. package/build/ckfinder.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/fa.js +1 -0
  23. package/build/translations/fi.js +1 -0
  24. package/build/translations/fr.js +1 -0
  25. package/build/translations/gl.js +1 -0
  26. package/build/translations/he.js +1 -0
  27. package/build/translations/hi.js +1 -0
  28. package/build/translations/hr.js +1 -0
  29. package/build/translations/hu.js +1 -0
  30. package/build/translations/id.js +1 -0
  31. package/build/translations/it.js +1 -0
  32. package/build/translations/ja.js +1 -0
  33. package/build/translations/jv.js +1 -0
  34. package/build/translations/ko.js +1 -0
  35. package/build/translations/ku.js +1 -0
  36. package/build/translations/lt.js +1 -0
  37. package/build/translations/lv.js +1 -0
  38. package/build/translations/ms.js +1 -0
  39. package/build/translations/ne.js +1 -0
  40. package/build/translations/nl.js +1 -0
  41. package/build/translations/no.js +1 -0
  42. package/build/translations/pl.js +1 -0
  43. package/build/translations/pt-br.js +1 -0
  44. package/build/translations/pt.js +1 -0
  45. package/build/translations/ro.js +1 -0
  46. package/build/translations/ru.js +1 -0
  47. package/build/translations/sk.js +1 -0
  48. package/build/translations/sl.js +1 -0
  49. package/build/translations/sq.js +1 -0
  50. package/build/translations/sr-latn.js +1 -0
  51. package/build/translations/sr.js +1 -0
  52. package/build/translations/sv.js +1 -0
  53. package/build/translations/th.js +1 -0
  54. package/build/translations/tk.js +1 -0
  55. package/build/translations/tr.js +1 -0
  56. package/build/translations/ug.js +1 -0
  57. package/build/translations/uk.js +1 -0
  58. package/build/translations/ur.js +1 -0
  59. package/build/translations/uz.js +1 -0
  60. package/build/translations/vi.js +1 -0
  61. package/build/translations/zh-cn.js +1 -0
  62. package/build/translations/zh.js +1 -0
  63. package/ckeditor5-metadata.json +26 -0
  64. package/dist/augmentation.d.ts +26 -0
  65. package/dist/ckfinder.d.ts +44 -0
  66. package/dist/ckfindercommand.d.ts +40 -0
  67. package/dist/ckfinderconfig.d.ts +77 -0
  68. package/dist/ckfinderediting.d.ts +34 -0
  69. package/dist/ckfinderui.d.ts +60 -0
  70. package/dist/index-content.css +4 -0
  71. package/dist/index-editor.css +4 -0
  72. package/dist/index.css +4 -0
  73. package/dist/index.d.ts +17 -0
  74. package/dist/index.js +321 -0
  75. package/dist/index.js.map +1 -0
  76. package/dist/translations/af.d.ts +8 -0
  77. package/dist/translations/af.js +5 -0
  78. package/dist/translations/af.umd.js +11 -0
  79. package/dist/translations/ar.d.ts +8 -0
  80. package/dist/translations/ar.js +5 -0
  81. package/dist/translations/ar.umd.js +11 -0
  82. package/dist/translations/az.d.ts +8 -0
  83. package/dist/translations/az.js +5 -0
  84. package/dist/translations/az.umd.js +11 -0
  85. package/dist/translations/bg.d.ts +8 -0
  86. package/dist/translations/bg.js +5 -0
  87. package/dist/translations/bg.umd.js +11 -0
  88. package/dist/translations/bn.d.ts +8 -0
  89. package/dist/translations/bn.js +5 -0
  90. package/dist/translations/bn.umd.js +11 -0
  91. package/dist/translations/bs.d.ts +8 -0
  92. package/dist/translations/bs.js +5 -0
  93. package/dist/translations/bs.umd.js +11 -0
  94. package/dist/translations/ca.d.ts +8 -0
  95. package/dist/translations/ca.js +5 -0
  96. package/dist/translations/ca.umd.js +11 -0
  97. package/dist/translations/cs.d.ts +8 -0
  98. package/dist/translations/cs.js +5 -0
  99. package/dist/translations/cs.umd.js +11 -0
  100. package/dist/translations/da.d.ts +8 -0
  101. package/dist/translations/da.js +5 -0
  102. package/dist/translations/da.umd.js +11 -0
  103. package/dist/translations/de-ch.d.ts +8 -0
  104. package/dist/translations/de-ch.js +5 -0
  105. package/dist/translations/de-ch.umd.js +11 -0
  106. package/dist/translations/de.d.ts +8 -0
  107. package/dist/translations/de.js +5 -0
  108. package/dist/translations/de.umd.js +11 -0
  109. package/dist/translations/el.d.ts +8 -0
  110. package/dist/translations/el.js +5 -0
  111. package/dist/translations/el.umd.js +11 -0
  112. package/dist/translations/en-au.d.ts +8 -0
  113. package/dist/translations/en-au.js +5 -0
  114. package/dist/translations/en-au.umd.js +11 -0
  115. package/dist/translations/en-gb.d.ts +8 -0
  116. package/dist/translations/en-gb.js +5 -0
  117. package/dist/translations/en-gb.umd.js +11 -0
  118. package/dist/translations/en.d.ts +8 -0
  119. package/dist/translations/en.js +5 -0
  120. package/dist/translations/en.umd.js +11 -0
  121. package/dist/translations/es-co.d.ts +8 -0
  122. package/dist/translations/es-co.js +5 -0
  123. package/dist/translations/es-co.umd.js +11 -0
  124. package/dist/translations/es.d.ts +8 -0
  125. package/dist/translations/es.js +5 -0
  126. package/dist/translations/es.umd.js +11 -0
  127. package/dist/translations/et.d.ts +8 -0
  128. package/dist/translations/et.js +5 -0
  129. package/dist/translations/et.umd.js +11 -0
  130. package/dist/translations/fa.d.ts +8 -0
  131. package/dist/translations/fa.js +5 -0
  132. package/dist/translations/fa.umd.js +11 -0
  133. package/dist/translations/fi.d.ts +8 -0
  134. package/dist/translations/fi.js +5 -0
  135. package/dist/translations/fi.umd.js +11 -0
  136. package/dist/translations/fr.d.ts +8 -0
  137. package/dist/translations/fr.js +5 -0
  138. package/dist/translations/fr.umd.js +11 -0
  139. package/dist/translations/gl.d.ts +8 -0
  140. package/dist/translations/gl.js +5 -0
  141. package/dist/translations/gl.umd.js +11 -0
  142. package/dist/translations/he.d.ts +8 -0
  143. package/dist/translations/he.js +5 -0
  144. package/dist/translations/he.umd.js +11 -0
  145. package/dist/translations/hi.d.ts +8 -0
  146. package/dist/translations/hi.js +5 -0
  147. package/dist/translations/hi.umd.js +11 -0
  148. package/dist/translations/hr.d.ts +8 -0
  149. package/dist/translations/hr.js +5 -0
  150. package/dist/translations/hr.umd.js +11 -0
  151. package/dist/translations/hu.d.ts +8 -0
  152. package/dist/translations/hu.js +5 -0
  153. package/dist/translations/hu.umd.js +11 -0
  154. package/dist/translations/id.d.ts +8 -0
  155. package/dist/translations/id.js +5 -0
  156. package/dist/translations/id.umd.js +11 -0
  157. package/dist/translations/it.d.ts +8 -0
  158. package/dist/translations/it.js +5 -0
  159. package/dist/translations/it.umd.js +11 -0
  160. package/dist/translations/ja.d.ts +8 -0
  161. package/dist/translations/ja.js +5 -0
  162. package/dist/translations/ja.umd.js +11 -0
  163. package/dist/translations/jv.d.ts +8 -0
  164. package/dist/translations/jv.js +5 -0
  165. package/dist/translations/jv.umd.js +11 -0
  166. package/dist/translations/ko.d.ts +8 -0
  167. package/dist/translations/ko.js +5 -0
  168. package/dist/translations/ko.umd.js +11 -0
  169. package/dist/translations/ku.d.ts +8 -0
  170. package/dist/translations/ku.js +5 -0
  171. package/dist/translations/ku.umd.js +11 -0
  172. package/dist/translations/lt.d.ts +8 -0
  173. package/dist/translations/lt.js +5 -0
  174. package/dist/translations/lt.umd.js +11 -0
  175. package/dist/translations/lv.d.ts +8 -0
  176. package/dist/translations/lv.js +5 -0
  177. package/dist/translations/lv.umd.js +11 -0
  178. package/dist/translations/ms.d.ts +8 -0
  179. package/dist/translations/ms.js +5 -0
  180. package/dist/translations/ms.umd.js +11 -0
  181. package/dist/translations/ne.d.ts +8 -0
  182. package/dist/translations/ne.js +5 -0
  183. package/dist/translations/ne.umd.js +11 -0
  184. package/dist/translations/nl.d.ts +8 -0
  185. package/dist/translations/nl.js +5 -0
  186. package/dist/translations/nl.umd.js +11 -0
  187. package/dist/translations/no.d.ts +8 -0
  188. package/dist/translations/no.js +5 -0
  189. package/dist/translations/no.umd.js +11 -0
  190. package/dist/translations/pl.d.ts +8 -0
  191. package/dist/translations/pl.js +5 -0
  192. package/dist/translations/pl.umd.js +11 -0
  193. package/dist/translations/pt-br.d.ts +8 -0
  194. package/dist/translations/pt-br.js +5 -0
  195. package/dist/translations/pt-br.umd.js +11 -0
  196. package/dist/translations/pt.d.ts +8 -0
  197. package/dist/translations/pt.js +5 -0
  198. package/dist/translations/pt.umd.js +11 -0
  199. package/dist/translations/ro.d.ts +8 -0
  200. package/dist/translations/ro.js +5 -0
  201. package/dist/translations/ro.umd.js +11 -0
  202. package/dist/translations/ru.d.ts +8 -0
  203. package/dist/translations/ru.js +5 -0
  204. package/dist/translations/ru.umd.js +11 -0
  205. package/dist/translations/sk.d.ts +8 -0
  206. package/dist/translations/sk.js +5 -0
  207. package/dist/translations/sk.umd.js +11 -0
  208. package/dist/translations/sl.d.ts +8 -0
  209. package/dist/translations/sl.js +5 -0
  210. package/dist/translations/sl.umd.js +11 -0
  211. package/dist/translations/sq.d.ts +8 -0
  212. package/dist/translations/sq.js +5 -0
  213. package/dist/translations/sq.umd.js +11 -0
  214. package/dist/translations/sr-latn.d.ts +8 -0
  215. package/dist/translations/sr-latn.js +5 -0
  216. package/dist/translations/sr-latn.umd.js +11 -0
  217. package/dist/translations/sr.d.ts +8 -0
  218. package/dist/translations/sr.js +5 -0
  219. package/dist/translations/sr.umd.js +11 -0
  220. package/dist/translations/sv.d.ts +8 -0
  221. package/dist/translations/sv.js +5 -0
  222. package/dist/translations/sv.umd.js +11 -0
  223. package/dist/translations/th.d.ts +8 -0
  224. package/dist/translations/th.js +5 -0
  225. package/dist/translations/th.umd.js +11 -0
  226. package/dist/translations/tk.d.ts +8 -0
  227. package/dist/translations/tk.js +5 -0
  228. package/dist/translations/tk.umd.js +11 -0
  229. package/dist/translations/tr.d.ts +8 -0
  230. package/dist/translations/tr.js +5 -0
  231. package/dist/translations/tr.umd.js +11 -0
  232. package/dist/translations/ug.d.ts +8 -0
  233. package/dist/translations/ug.js +5 -0
  234. package/dist/translations/ug.umd.js +11 -0
  235. package/dist/translations/uk.d.ts +8 -0
  236. package/dist/translations/uk.js +5 -0
  237. package/dist/translations/uk.umd.js +11 -0
  238. package/dist/translations/ur.d.ts +8 -0
  239. package/dist/translations/ur.js +5 -0
  240. package/dist/translations/ur.umd.js +11 -0
  241. package/dist/translations/uz.d.ts +8 -0
  242. package/dist/translations/uz.js +5 -0
  243. package/dist/translations/uz.umd.js +11 -0
  244. package/dist/translations/vi.d.ts +8 -0
  245. package/dist/translations/vi.js +5 -0
  246. package/dist/translations/vi.umd.js +11 -0
  247. package/dist/translations/zh-cn.d.ts +8 -0
  248. package/dist/translations/zh-cn.js +5 -0
  249. package/dist/translations/zh-cn.umd.js +11 -0
  250. package/dist/translations/zh.d.ts +8 -0
  251. package/dist/translations/zh.js +5 -0
  252. package/dist/translations/zh.umd.js +11 -0
  253. package/lang/contexts.json +7 -0
  254. package/lang/translations/af.po +38 -0
  255. package/lang/translations/ar.po +38 -0
  256. package/lang/translations/az.po +38 -0
  257. package/lang/translations/bg.po +38 -0
  258. package/lang/translations/bn.po +38 -0
  259. package/lang/translations/bs.po +38 -0
  260. package/lang/translations/ca.po +38 -0
  261. package/lang/translations/cs.po +38 -0
  262. package/lang/translations/da.po +38 -0
  263. package/lang/translations/de-ch.po +38 -0
  264. package/lang/translations/de.po +38 -0
  265. package/lang/translations/el.po +38 -0
  266. package/lang/translations/en-au.po +38 -0
  267. package/lang/translations/en-gb.po +38 -0
  268. package/lang/translations/en.po +38 -0
  269. package/lang/translations/es-co.po +38 -0
  270. package/lang/translations/es.po +38 -0
  271. package/lang/translations/et.po +38 -0
  272. package/lang/translations/fa.po +38 -0
  273. package/lang/translations/fi.po +38 -0
  274. package/lang/translations/fr.po +38 -0
  275. package/lang/translations/gl.po +38 -0
  276. package/lang/translations/he.po +38 -0
  277. package/lang/translations/hi.po +38 -0
  278. package/lang/translations/hr.po +38 -0
  279. package/lang/translations/hu.po +38 -0
  280. package/lang/translations/id.po +38 -0
  281. package/lang/translations/it.po +38 -0
  282. package/lang/translations/ja.po +38 -0
  283. package/lang/translations/jv.po +38 -0
  284. package/lang/translations/ko.po +38 -0
  285. package/lang/translations/ku.po +38 -0
  286. package/lang/translations/lt.po +38 -0
  287. package/lang/translations/lv.po +38 -0
  288. package/lang/translations/ms.po +38 -0
  289. package/lang/translations/ne.po +38 -0
  290. package/lang/translations/nl.po +38 -0
  291. package/lang/translations/no.po +38 -0
  292. package/lang/translations/pl.po +38 -0
  293. package/lang/translations/pt-br.po +38 -0
  294. package/lang/translations/pt.po +38 -0
  295. package/lang/translations/ro.po +38 -0
  296. package/lang/translations/ru.po +38 -0
  297. package/lang/translations/sk.po +38 -0
  298. package/lang/translations/sl.po +38 -0
  299. package/lang/translations/sq.po +38 -0
  300. package/lang/translations/sr-latn.po +38 -0
  301. package/lang/translations/sr.po +38 -0
  302. package/lang/translations/sv.po +38 -0
  303. package/lang/translations/th.po +38 -0
  304. package/lang/translations/tk.po +38 -0
  305. package/lang/translations/tr.po +38 -0
  306. package/lang/translations/ug.po +38 -0
  307. package/lang/translations/uk.po +38 -0
  308. package/lang/translations/ur.po +38 -0
  309. package/lang/translations/uz.po +38 -0
  310. package/lang/translations/vi.po +38 -0
  311. package/lang/translations/zh-cn.po +38 -0
  312. package/lang/translations/zh.po +38 -0
  313. package/package.json +41 -0
  314. package/src/augmentation.d.ts +22 -0
  315. package/src/augmentation.js +5 -0
  316. package/src/ckfinder.d.ts +40 -0
  317. package/src/ckfinder.js +46 -0
  318. package/src/ckfindercommand.d.ts +36 -0
  319. package/src/ckfindercommand.js +122 -0
  320. package/src/ckfinderconfig.d.ts +73 -0
  321. package/src/ckfinderconfig.js +5 -0
  322. package/src/ckfinderediting.d.ts +30 -0
  323. package/src/ckfinderediting.js +56 -0
  324. package/src/ckfinderui.d.ts +56 -0
  325. package/src/ckfinderui.js +132 -0
  326. package/src/index.d.ts +13 -0
  327. package/src/index.js +11 -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 CKFinder feature** – https://github.com/ckeditor/ckeditor5-ckfinder <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,24 @@
1
+ CKEditor&nbsp;5's CKFinder integration
2
+ =========================================
3
+
4
+ [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-ckfinder.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder)
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 the [CKFinder feature](https://ckeditor.com/docs/ckeditor5/latest/features/ckfinder.html). This feature allows you to easily insert images as well as links to files into the editor content. It is a bridge between CKEditor&nbsp;5 WYSIWYG editor and [CKFinder file manager and uploader](https://ckeditor.com/ckfinder).
9
+
10
+ ## Documentation
11
+
12
+ See the [CKFinder integration guide](https://ckeditor.com/docs/ckeditor5/latest/features/ckfinder.html) and the [plugin documentation](https://ckeditor.com/docs/ckeditor5/latest/api/ckfinder.html) to learn more about the integration.
13
+
14
+ Check out the [comprehensive Image upload guide](https://ckeditor.com/docs/ckeditor5/latest/features/image-upload.html) to learn about other ways to upload images into CKEditor&nbsp;5.
15
+
16
+ ## Installation
17
+
18
+ ```bash
19
+ npm install ckeditor5
20
+ ```
21
+
22
+ ## License
23
+
24
+ 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||{},{"Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.","Insert image or file":"Insert image or file","Inserting image failed":"Inserting image failed","Selecting resized image failed":"Selecting resized image failed"})}(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={782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.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]={exports:{}};return e[n](o,o.exports,i),o.exports}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,{CKFinder:()=>l,CKFinderEditing:()=>c,CKFinderUI:()=>r});var e=i(782),t=i(311);class r extends e.Plugin{static get pluginName(){return"CKFinderUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("ckfinder",(()=>this._createFileToolbarButton())),e.ui.componentFactory.add("menuBar:ckfinder",(()=>this._createFileMenuBarButton())),e.plugins.has("ImageInsertUI")&&e.plugins.get("ImageInsertUI").registerIntegration({name:"assetManager",observable:()=>e.commands.get("ckfinder"),buttonViewCreator:()=>this._createImageToolbarButton(),formViewCreator:()=>this._createImageDropdownButton(),menuBarButtonViewCreator:e=>this._createImageMenuBarButton(e?"insertOnly":"insertNested")})}_createButton(e){const t=this.editor,i=new e(t.locale),n=t.commands.get("ckfinder");return i.bind("isEnabled").to(n),i.on("execute",(()=>{t.execute("ckfinder"),t.editing.view.focus()})),i}_createFileToolbarButton(){const i=this.editor.locale.t,n=this._createButton(t.ButtonView);return n.icon=e.icons.browseFiles,n.label=i("Insert image or file"),n.tooltip=!0,n}_createImageToolbarButton(){const i=this.editor.locale.t,n=this.editor.plugins.get("ImageInsertUI"),r=this._createButton(t.ButtonView);return r.icon=e.icons.imageAssetManager,r.bind("label").to(n,"isImageSelected",(e=>i(e?"Replace image with file manager":"Insert image with file manager"))),r.tooltip=!0,r}_createImageDropdownButton(){const i=this.editor.locale.t,n=this.editor.plugins.get("ImageInsertUI"),r=this._createButton(t.ButtonView);return r.icon=e.icons.imageAssetManager,r.withText=!0,r.bind("label").to(n,"isImageSelected",(e=>i(e?"Replace with file manager":"Insert with file manager"))),r.on("execute",(()=>{n.dropdownView.isOpen=!1})),r}_createFileMenuBarButton(){const i=this.editor.locale.t,n=this._createButton(t.MenuBarMenuListItemButtonView);return n.icon=e.icons.browseFiles,n.withText=!0,n.label=i("File"),n}_createImageMenuBarButton(i){const n=this.editor.locale.t,r=this._createButton(t.MenuBarMenuListItemButtonView);switch(r.icon=e.icons.imageAssetManager,r.withText=!0,i){case"insertOnly":r.label=n("Image");break;case"insertNested":r.label=n("With file manager")}return r}}var o=i(584);class s extends e.Command{constructor(e){super(e),this.affectsData=!1,this.stopListening(this.editor.model.document,"change"),this.listenTo(this.editor.model.document,"change",(()=>this.refresh()),{priority:"low"})}refresh(){const e=this.editor.commands.get("insertImage"),t=this.editor.commands.get("link");this.isEnabled=e.isEnabled||t.isEnabled}execute(){const e=this.editor,t=this.editor.config.get("ckfinder.openerMethod")||"modal";if("popup"!=t&&"modal"!=t)throw new o.CKEditorError("ckfinder-unknown-openermethod",e);const i=this.editor.config.get("ckfinder.options")||{};i.chooseFiles=!0;const n=i.onInit;i.language||(i.language=e.locale.uiLanguage),i.onInit=t=>{n&&n(t),t.on("files:choose",(i=>{const n=i.data.files.toArray(),r=n.filter((e=>!e.isImage())),o=n.filter((e=>e.isImage()));for(const t of r)e.execute("link",t.getUrl());const s=[];for(const e of o){const i=e.getUrl();s.push(i||t.request("file:getProxyUrl",{file:e}))}s.length&&a(e,s)})),t.on("file:choose:resizedImage",(t=>{const i=t.data.resizedUrl;if(i)a(e,[i]);else{const t=e.plugins.get("Notification"),i=e.locale.t;t.showWarning(i("Could not obtain resized image URL."),{title:i("Selecting resized image failed"),namespace:"ckfinder"})}}))},window.CKFinder[t](i)}}function a(e,t){if(e.commands.get("insertImage").isEnabled)e.execute("insertImage",{source:t});else{const t=e.plugins.get("Notification"),i=e.locale.t;t.showWarning(i("Could not insert image at the current position."),{title:i("Inserting image failed"),namespace:"ckfinder"})}}class c extends e.Plugin{static get pluginName(){return"CKFinderEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[t.Notification,"LinkEditing"]}init(){const e=this.editor;if(!e.plugins.has("ImageBlockEditing")&&!e.plugins.has("ImageInlineEditing"))throw new o.CKEditorError("ckfinder-missing-image-plugin",e);e.commands.add("ckfinder",new s(e))}}class l extends e.Plugin{static get pluginName(){return"CKFinder"}static get isOfficialPlugin(){return!0}static get requires(){return["Link","CKFinderUploadAdapter",c,r]}}})(),(window.CKEditor5=window.CKEditor5||{}).ckfinder=n})();
@@ -0,0 +1 @@
1
+ !function(e){const i=e.af=e.af||{};i.dictionary=Object.assign(i.dictionary||{},{"Could not insert image at the current position.":"Beeld kan nie in die posisie toegevoeg word nie.","Could not obtain resized image URL.":"Kon nie die beeld URL vir die aanpassing kry nie.","Insert image or file":"Voeg beeld of lêer in","Inserting image failed":"Beeld kan nie toegevoeg word nie","Selecting resized image failed":"Kon nie die beeld se grootte verander nie"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.ar=i.ar||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"تعذر إدراج الصورة في الموضع الحالي.","Could not obtain resized image URL.":"تعذر الحصول على عنوان URL الخاص بالصورة التي غُيّرَ حجمُها","Insert image or file":"إدراج صورة أو ملف","Inserting image failed":"فشلت عملية إدراج الصورة","Selecting resized image failed":"فشلت عملية تحديد الصورة التي غُيّرَ حجمها"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.az=i.az||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Şəkili əlavə etmək mümkün deyil","Could not obtain resized image URL.":"Ölçüsü dəyişmiş təsvirin URL-ni əldə etmək mümkün olmadı","Insert image or file":"Şəkil və ya fayl əlavə ed","Inserting image failed":"Şəkili əlavə edilmədi","Selecting resized image failed":"Ölçüsü dəyişmiş təsvirin seçilməsi uğursuz oldu"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.bg=i.bg||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"На текущата позиция не може да се вмъкне изображение.","Could not obtain resized image URL.":"Не може да бъде придобит промененият уеб адрес на изображението.","Insert image or file":"Вмъкни изображение или файл","Inserting image failed":"Вмъкването на изображение не е успешно","Selecting resized image failed":"Избирането на промененото изображение не е успешно"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.bn=i.bn||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"বর্তমান অবস্থানে ছবি ঢোকানো যাচ্ছে না।","Could not obtain resized image URL.":"আকার পরিবর্তন করা ছবির URL পাওয়া যাচ্ছে না।","Insert image or file":"ছবি অথবা ফাইল ঢোকান","Inserting image failed":"ছবি ঢোকানো ব্যর্থ হয়েছে।","Selecting resized image failed":"আকার পরিবর্তন করা ছবি নির্বাচন করা ব্যর্থ হয়েছে"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.bs=i.bs||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Nije moguće umetnuti sliku na poziciju.","Could not obtain resized image URL.":"Nije moguće dobiti URL slike.","Insert image or file":"Umetni sliku ili datoteku","Inserting image failed":"Umetanje slike neuspješno","Selecting resized image failed":"Odabir slike nije uspješan"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.ca=i.ca||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"No s'ha pogut inserir la imatge a la posició actual.","Could not obtain resized image URL.":"No s'ha pogut obtenir l'URL de la imatge redimensionada.","Insert image or file":"Introduir una imatge o un fitxer","Inserting image failed":"No s'ha pogut inserir la imatge","Selecting resized image failed":"S'ha produït un error en seleccionar la imatge redimensionada"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const o=e.cs=e.cs||{};o.dictionary=Object.assign(o.dictionary||{},{"Could not insert image at the current position.":"Na současnou pozici nelze vložit obrázek.","Could not obtain resized image URL.":"Nelze získat URL obrázku se změněnou velikostí.","Insert image or file":"Vložit obrázek nebo soubor","Inserting image failed":"Vložení obrázku selhalo","Selecting resized image failed":"Výběr obrázku se změněnou velikostí selhal"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.da=e.da||{};i.dictionary=Object.assign(i.dictionary||{},{"Could not insert image at the current position.":"Kunne ikke indsætte billede på aktuel position.","Could not obtain resized image URL.":"Kunne ikke hente URL på ændret billede.","Insert image or file":"Indsæt billede eller fil","Inserting image failed":"Indsætning af billede fejlede","Selecting resized image failed":"Valg af ændret billede fejlede"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const n=e["de-ch"]=e["de-ch"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Could not insert image at the current position.":"Das Bild konnte an der aktuellen Position nicht eingefügt werden.","Could not obtain resized image URL.":"Die URL des angepassten Bildes konnte nicht abgerufen werden.","Insert image or file":"Bild oder Datei einfügen","Inserting image failed":"Einfügen des Bildes fehlgeschlagen","Selecting resized image failed":"Das angepasste Bild konnte nicht ausgewählt werden."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const n=e.de=e.de||{};n.dictionary=Object.assign(n.dictionary||{},{"Could not insert image at the current position.":"Das Bild konnte an der aktuellen Position nicht eingefügt werden.","Could not obtain resized image URL.":"Die URL des angepassten Bildes konnte nicht abgerufen werden.","Insert image or file":"Bild oder Datei einfügen","Inserting image failed":"Einfügen des Bildes fehlgeschlagen","Selecting resized image failed":"Das angepasste Bild konnte nicht ausgewählt werden."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.el=i.el||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Αδύνατη η εισαγωγή εικόνας στην τρέχουσα θέση.","Could not obtain resized image URL.":"Αδύνατη η λήψη URL εικόνας με αλλαγμένο μέγεθος.","Insert image or file":"Εισαγωγή εικόνας ή αρχείου","Inserting image failed":"Η εισαγωγή εικόνας απέτυχε.","Selecting resized image failed":"Η επιλογή εικόνας με αλλαγμένο μέγεθος απέτυχε"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e["en-au"]=e["en-au"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.","Insert image or file":"Insert image or file","Inserting image failed":"Inserting image failed","Selecting resized image failed":"Selecting resized image failed"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e["en-gb"]=e["en-gb"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.","Insert image or file":"Insert image or file","Inserting image failed":"Inserting image failed","Selecting resized image failed":"Selecting resized image failed"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e["es-co"]=e["es-co"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Could not insert image at the current position.":"No se pudo insertar la imagen en la posición actual.","Could not obtain resized image URL.":"No se pudo obtener la URL de la imagen redimensionada.","Insert image or file":"Insertar imagen o archivo","Inserting image failed":"Error al insertar la imagen","Selecting resized image failed":"No se pudo seleccionar la imagen redimensionada"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.es=e.es||{};i.dictionary=Object.assign(i.dictionary||{},{"Could not insert image at the current position.":"No se pudo insertar la imagen en la posición actual.","Could not obtain resized image URL.":"No se pudo obtener el URL de la imagen redimensionada.","Insert image or file":"Insertar imagen o archivo","Inserting image failed":"Error al insertar la imagen","Selecting resized image failed":"No se pudo seleccionar la imagen redimensionada"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.et=i.et||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Pildi sisestamine praegusesse kohta ebaõnnestus.","Could not obtain resized image URL.":"Muudetud suurusega pildi URL-i hankimine ebaõnnestus.","Insert image or file":"Sisesta pilt või fail","Inserting image failed":"Pildi sisestamine ebaõnnestus","Selecting resized image failed":"Muudetud suurusega pildi valimine ebaõnnestus"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.fa=i.fa||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"نمیتوان تصویر را در موقعیت فعلی وارد کرد","Could not obtain resized image URL.":"نمیتوان آدرس اینترنتی تصویر تغییر اندازه یافته را بدست آورد","Insert image or file":"وارد کردن تصویر یا فایل","Inserting image failed":"وارد کردن تصویر انجام نشد","Selecting resized image failed":"انتخاب تصویر تغییر اندازه یافته انجام نشد"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.fi=i.fi||{};n.dictionary=Object.assign(n.dictionary||{},{"Could not insert image at the current position.":"Kuvan lisäys nykyiseen sijaintiin epäonnistui","Could not obtain resized image URL.":"Muokatun kuvan URL-osoitteen hakeminen epäonnistui.","Insert image or file":"Lisää kuva tai tiedosto","Inserting image failed":"Kuvan lisäys epäonnistui","Selecting resized image failed":"Muokatun kuvan valinta epäonnistui"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.fr=i.fr||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Impossible d'insérer l'image à la position courante.","Could not obtain resized image URL.":"Impossible d'obtenir l'image redimensionnée","Insert image or file":"Insérer une image ou un fichier","Inserting image failed":"L'insertion d'image a échoué.","Selecting resized image failed":"La sélection de l'image redimensionnée a échoué."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.gl=i.gl||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Non foi posíbel inserir a imaxe na posición actual.","Could not obtain resized image URL.":"Non foi posíbel obter o URL da imaxe redimensionada.","Insert image or file":"Inserir imaxe ou ficheiro","Inserting image failed":"Fallou a inserción da imaxe","Selecting resized image failed":"Non foi posíbel seleccionar a imaxe redimensionada"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.he=i.he||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"לא ניתן להוסיף תמונה במיקום הנוכחי","Could not obtain resized image URL.":"לא ניתן להשיג תמונה מוקטנת","Insert image or file":"הוסף תמונה או קובץ","Inserting image failed":"הוספת תמונה נכשלה","Selecting resized image failed":"בחירת תמונה מוקטנת נכשלה"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.hi=i.hi||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.","Insert image or file":"Insert image or file","Inserting image failed":"Inserting image failed","Selecting resized image failed":"Selecting resized image failed"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.hr=i.hr||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Nije moguće umetnuti sliku na trenutnu poziciju","Could not obtain resized image URL.":"Nije moguće dohvatiti URL slike s promijenjenom veličinom","Insert image or file":"Umetni sliku ili datoteku","Inserting image failed":"Umetanje slike nije uspjelo","Selecting resized image failed":"Odabir slike s promijenjenom veličinom nije uspjelo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const t=e.hu=e.hu||{};t.dictionary=Object.assign(t.dictionary||{},{"Could not insert image at the current position.":"A jelenlegi helyen nem szúrható be a kép.","Could not obtain resized image URL.":"Az átméretezett kép URL-je nem érhető el.","Insert image or file":"Kép, vagy fájl beszúrása","Inserting image failed":"A kép beszúrása sikertelen","Selecting resized image failed":"Az átméretezett kép kiválasztása sikertelen"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(a){const i=a.id=a.id||{};i.dictionary=Object.assign(i.dictionary||{},{"Could not insert image at the current position.":"Tidak dapat menyisipkan gambar pada posisi ini.","Could not obtain resized image URL.":"Gagal mendapatkan URL gambar terukur","Insert image or file":"Sisipkan gambar atau berkas","Inserting image failed":"Gagal menyisipkan gambar","Selecting resized image failed":"Gagal memilih gambar terukur"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.it=i.it||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Non è stato possibile inserire l'immagine nella posizione corrente.","Could not obtain resized image URL.":"Non è stato possibile ottenere l'URL dell'immagine ridimensionata.","Insert image or file":"Inserisci immagine o file","Inserting image failed":"L'inserimento dell'immagine è fallito","Selecting resized image failed":"La selezione dell'immagine ridimensionata è fallita"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.ja=i.ja||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"現在のカーソルの場所への画像の挿入に失敗しました。","Could not obtain resized image URL.":"リサイズした画像のURLの取得に失敗しました。","Insert image or file":"画像やファイルの挿入","Inserting image failed":"画像の挿入に失敗しました。","Selecting resized image failed":"リサイズした画像の選択ができませんでした。"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(a){const n=a.jv=a.jv||{};n.dictionary=Object.assign(n.dictionary||{},{"Could not insert image at the current position.":"Mboten saged mlebetaken gambar wonten papan menika","Could not obtain resized image URL.":"Mboten saged mundhut URL gambar ingkang dipunebah ukuranipun","Insert image or file":"Tambahaken berkas utawi gambar","Inserting image failed":"Gagal mlebetaken gambar","Selecting resized image failed":"Gagal milih gambar ingkang dipunebah ukuranipun"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.ko=i.ko||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"현재 위치에 사진을 삽입할 수 없습니다.","Could not obtain resized image URL.":"크기가 조절된 사진의 URL을 가져오지 못했습니다.","Insert image or file":"사진이나 파일을 삽입","Inserting image failed":"사진 삽입 실패","Selecting resized image failed":"크기가 조절된 이미지 선택 실패"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.ku=i.ku||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"نەتوانرا وێنە دابنرێت لەم شوێنە.","Could not obtain resized image URL.":"نەتوانرا بەستەری وێنەی قەبارە گۆڕاو بەدەست بێت.","Insert image or file":"وێنە یان پەڕگە دابنێ","Inserting image failed":"دانانی وێنە سەرکەوتوو نەبوو","Selecting resized image failed":"دیاریکردنی وێنەی قەبارە گۆڕاو سەرکەوتوو نەبوو"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.lt=i.lt||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Nepavyko įterpti vaizdo į dabartinę vietą.","Could not obtain resized image URL.":"Nepavyko gauti pakeisto dydžio paveiksliuko URL.","Insert image or file":"Įterpti vaizdą ar failą","Inserting image failed":"Nepavyko įterpti vaizdo","Selecting resized image failed":"Nepavyko pasirinkti pakeisto vaizdo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const t=i.lv=i.lv||{};t.dictionary=Object.assign(t.dictionary||{},{"Could not insert image at the current position.":"Pašreizējā pozīcijā attēlu nevarēja ievietot.","Could not obtain resized image URL.":"Nevarēja iegūt mērogotā attēla adresi.","Insert image or file":"Ievietot attēlu vai failu","Inserting image failed":"Nevarēja ievietot attēlu","Selecting resized image failed":"Nevarēja izvēlēties mērogoto attēlu."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(a){const i=a.ms=a.ms||{};i.dictionary=Object.assign(i.dictionary||{},{"Could not insert image at the current position.":"Gagal memasukkan imej pada posisi kini.","Could not obtain resized image URL.":"Gagal mendapatkan URL imej yang disaizkan semula.","Insert image or file":"Masukkan imej atau fail","Inserting image failed":"Gagal memasukkan imej","Selecting resized image failed":"Gagal memilih imej yang disaizkan semula."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.ne=i.ne||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"हालैको स्थितिमा तस्बिर सम्मिलित गर्न सकिएन।","Could not obtain resized image URL.":"पुनःआकार गरिएको तस्बिरको यूआरएल प्राप्त गर्न सकिएन।","Insert image or file":"तस्बिर वा फाइल सम्मिलित गर्न","Inserting image failed":"तस्बिर सम्मिलित गर्न असफल भयो।","Selecting resized image failed":"पुनःआकार गरिएको तस्बिर चयन गर्न असफल भयो।"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.nl=e.nl||{};i.dictionary=Object.assign(i.dictionary||{},{"Could not insert image at the current position.":"Kan afbeelding niet op de huidige positie invoegen.","Could not obtain resized image URL.":"Het is niet gelukt de geschaalde afbeelding URL te verkrijgen.","Insert image or file":"Voeg afbeelding of bestand in","Inserting image failed":"Afbeelding invoegen niet gelukt","Selecting resized image failed":"De geschaalde afbeelding selecteren is niet gelukt"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.no=e.no||{};i.dictionary=Object.assign(i.dictionary||{},{"Could not insert image at the current position.":"Kunne ikke sette inn bilde på gjeldende posisjon.","Could not obtain resized image URL.":"Kunne ikke finne URL for bilde med endret størrelse.","Insert image or file":"Sett inn bilde eller fil","Inserting image failed":"Innsetting av bilde mislyktes","Selecting resized image failed":"Kunne ikke velge bilde med endret størrelse"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const a=i.pl=i.pl||{};a.dictionary=Object.assign(a.dictionary||{},{"Could not insert image at the current position.":"Nie można wstawić obrazka w bieżącej lokalizacji.","Could not obtain resized image URL.":"Nie można pobrać adresu URL obrazka po przeskalowaniu.","Insert image or file":"Wstaw obrazek lub plik","Inserting image failed":"Wstawienie obrazka nie powiodło się.","Selecting resized image failed":"Wybranie obrazka po przeskalowaniu nie powiodło się."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i["pt-br"]=i["pt-br"]||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Não foi possível inserir a imagem na posição atual","Could not obtain resized image URL.":"Não foi possível obter o endereço da imagem redimensionada","Insert image or file":"Inserir imagem ou arquivo","Inserting image failed":"Falha ao inserir imagem","Selecting resized image failed":"Seleção da imagem redimensionada falhou"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.pt=i.pt||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Não é possível inserir a imagem na posição atual.","Could not obtain resized image URL.":"Não é possível obter o URL da imagem redimensionada.","Insert image or file":"Inserir imagem ou ficheiro","Inserting image failed":"A inserção da imagem falhou","Selecting resized image failed":"A seleção da imagem redimensionada falhou"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.ro=i.ro||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Nu se poate insera imaginea la poziția curentă.","Could not obtain resized image URL.":"Nu se poate obtine URL-ul imaginii redimensionate.","Insert image or file":"Inserează imagine sau fișier","Inserting image failed":"Inserție imagine eșuată","Selecting resized image failed":"Selecția imaginii redimensionate eșuată"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.ru=i.ru||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Нельзя вставить изображение на текущую позицию.","Could not obtain resized image URL.":"Не удалось получить URL с измененным размером изображения.","Insert image or file":"Вставьте изображение или файл","Inserting image failed":"Вставка изображения не удалась","Selecting resized image failed":"Выбор изображения с измененным размером не удался"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const e=o.sk=o.sk||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Obrázok nie je možné vložiť na vybranú pozíciu.","Could not obtain resized image URL.":"Nepodarilo sa získať URL adresu zmenšeného obrázka.","Insert image or file":"Vložiť obrázok alebo súbor","Inserting image failed":"Vloženie obrázka zlyhalo","Selecting resized image failed":"Vybranie zmenšeného obrázka zlyhalo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.sl=i.sl||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Slike ni mogoče vstaviti na trenutni položaj.","Could not obtain resized image URL.":"Ne morem pridobiti spremenjenega URL-ja slike.","Insert image or file":"Vstavi sliko ali datoteko","Inserting image failed":"Vstavljanje slike ni uspelo","Selecting resized image failed":"Izbira spremenjene slike ni uspela"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.sq=e.sq||{};i.dictionary=Object.assign(i.dictionary||{},{"Could not insert image at the current position.":"Nuk mund të vendosej fotoja në pozitën aktuale.","Could not obtain resized image URL.":"Nuk mund të gjendej URL-ja e fotos së ndryshuar.","Insert image or file":"Shto foto ose skedar","Inserting image failed":"Shtimi i fotos dështoi","Selecting resized image failed":"Dështoi përzgjedhja e fotos së ndryshuar"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i["sr-latn"]=i["sr-latn"]||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Nemoguće je dodati sliku na ovo mesto.","Could not obtain resized image URL.":"URL slikа promenjeniih dimenzija nije dostupna.","Insert image or file":"Dodaj sliku ili fajl","Inserting image failed":"Dodavanje slike je neuspešno","Selecting resized image failed":"Odabir slike promenjenih dimenzija nije uspešnо"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.sr=i.sr||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Немогуће је додати слику на ово место.","Could not obtain resized image URL.":"УРЛ слика промењених димензија није доступна.","Insert image or file":"Додај слику или фајл","Inserting image failed":"Додавање слике је неуспешно","Selecting resized image failed":"Одабир слике промењених дименшија није успешно"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.sv=i.sv||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Kunde inte infoga bild på aktuell plats.","Could not obtain resized image URL.":"Kunde inte nå URL:en för storleksförändrad bild.","Insert image or file":"Infoga bild eller fil","Inserting image failed":"Misslyckades med att infoga bild","Selecting resized image failed":"Misslyckades välja storleksförändrad bild"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.th=i.th||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"ไม่สามารถแทรกภาพที่ตำแหน่งปัจจุบัน","Could not obtain resized image URL.":"ไม่สามารถรับ URL ของภาพที่ปรับขนาด","Insert image or file":"แทรกรูปภาพหรือไฟล์","Inserting image failed":"การแทรกภาพล้มเหลว","Selecting resized image failed":"การเลือกภาพที่ปรับขนาดล้มเหลว"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const a=i.tk=i.tk||{};a.dictionary=Object.assign(a.dictionary||{},{"Could not insert image at the current position.":"Häzirki pozisiýa şekil goýup bolmady.","Could not obtain resized image URL.":"Ölçegi üýtgedilen surat URL-ni alyp bolmady.","Insert image or file":"Surat ýa-da faýl goýuň","Inserting image failed":"Surat goýup bolmady","Selecting resized image failed":"Ölçegi üýtgedilen suraty saýlap bolmady"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.tr=e.tr||{};i.dictionary=Object.assign(i.dictionary||{},{"Could not insert image at the current position.":"Resim mevcut konumda eklenemedi.","Could not obtain resized image URL.":"Yeniden boyutlandırılmış resim URL’si alınamadı","Insert image or file":"Resim veya dosya ekleyin","Inserting image failed":"Resim eklenemedi","Selecting resized image failed":"Yeniden boyutlandırılan resim seçilemedi"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.ug=i.ug||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"نۆۋەتتە ئورۇنغا سۈرەتنى قىستۇرالمايدۇ.","Could not obtain resized image URL.":"چوڭلۇقى تەڭشەلگەن سۈرەتنىڭ تور ئادرېسىغا ئېرىشەلمىدى","Insert image or file":"رەسىم ياكى ھۆججەت قىستۇر","Inserting image failed":"سۈرەت قىستۇرالمىدى","Selecting resized image failed":"چوڭلۇقى تەڭشەلگن سۈرەتنى تاللىيالمىدى"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.uk=i.uk||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"Не можливо вставити зображення в поточну позицію.","Could not obtain resized image URL.":"Не вдалось отримати URL зміненого зображення.","Insert image or file":"Вставте зображення або файл","Inserting image failed":"Не вдалось вставити зображення","Selecting resized image failed":"Не вдалося вибрати зображення зі зміненим розміром"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.ur=i.ur||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"موجودہ مقام پہ عکس نصب نہیں ہو سکا۔","Could not obtain resized image URL.":"عکس کی پیمائش تبدیل کرنے کا ربط نہیں مل سکا۔","Insert image or file":"عکس یا مسل نصب کریں","Inserting image failed":"عکس نصب نہیں ہو سکا۔","Selecting resized image failed":"پیمائش شدہ عکس چننے میں ناکامی ہوئی"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const a=i.uz=i.uz||{};a.dictionary=Object.assign(a.dictionary||{},{"Could not insert image at the current position.":"Siz joriy joyga rasm qo'sha olmaysiz.","Could not obtain resized image URL.":"Rasm hajmi o‘zgartirilgan URL manzilini olib bo‘lmadi.","Insert image or file":"Rasm yoki faylni kiriting","Inserting image failed":"Rasm qo'shish muvaffaqiyatsiz tugadi","Selecting resized image failed":"Tasdiqlangan o'lchamdagi rasmni tanlash muvaffaqiyatsiz tugadi"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.vi=i.vi||{};n.dictionary=Object.assign(n.dictionary||{},{"Could not insert image at the current position.":"Không thể chèn ảnh ở vị trí hiện tại","Could not obtain resized image URL.":"Không thể lấy được đường dẫn ảnh đã đổi kích thước","Insert image or file":"Chèn ảnh hoặc file","Inserting image failed":"Chèn ảnh thất bại","Selecting resized image failed":"Chọn ảnh đã đổi kích thước thất bại"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i["zh-cn"]=i["zh-cn"]||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"无法在当前位置插入图片","Could not obtain resized image URL.":"无法获取重设大小的图片URL","Insert image or file":"插入图片或文件","Inserting image failed":"插入图片失败","Selecting resized image failed":"选择重设大小的图片失败"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const e=i.zh=i.zh||{};e.dictionary=Object.assign(e.dictionary||{},{"Could not insert image at the current position.":"無法在這位置插入圖片","Could not obtain resized image URL.":"無法取得重設大小的圖片URL","Insert image or file":"插入圖片或檔案","Inserting image failed":"插入圖片失敗","Selecting resized image failed":"選擇重設大小的圖片失敗"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1,26 @@
1
+ {
2
+ "plugins": [
3
+ {
4
+ "name": "CKFinder",
5
+ "className": "CKFinder",
6
+ "description": "An image upload tool. It provides a full, server-side and client-side integration with CKFinder and all its features, including multiple file uploads, image editor and file management.",
7
+ "docs": "features/file-management/ckfinder.html",
8
+ "path": "src/ckfinder.js",
9
+ "requires": [
10
+ "CKFinderUploadAdapter",
11
+ "Link",
12
+ [
13
+ "ImageBlock",
14
+ "ImageInline"
15
+ ]
16
+ ],
17
+ "uiComponents": [
18
+ {
19
+ "name": "CKFinder",
20
+ "type": "Button",
21
+ "iconPath": "@ckeditor/ckeditor5-core/theme/icons/browse-files.svg"
22
+ }
23
+ ]
24
+ }
25
+ ]
26
+ }
@@ -0,0 +1,26 @@
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 { CKFinder, CKFinderCommand, CKFinderConfig, CKFinderEditing } from './index.js';
10
+ declare module '@ckeditor/ckeditor5-core' {
11
+ interface EditorConfig {
12
+ /**
13
+ * The configuration of the {@link module:ckfinder/ckfinder~CKFinder CKFinder feature}.
14
+ *
15
+ * Read more in {@link module:ckfinder/ckfinderconfig~CKFinderConfig}.
16
+ */
17
+ ckfinder?: CKFinderConfig;
18
+ }
19
+ interface PluginsMap {
20
+ [CKFinder.pluginName]: CKFinder;
21
+ [CKFinderEditing.pluginName]: CKFinderEditing;
22
+ }
23
+ interface CommandsMap {
24
+ ckfinder: CKFinderCommand;
25
+ }
26
+ }
@@ -0,0 +1,44 @@
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 ckfinder/ckfinder
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import CKFinderUI from './ckfinderui.js';
14
+ import CKFinderEditing from './ckfinderediting.js';
15
+ /**
16
+ * The CKFinder feature, a bridge between the CKEditor 5 WYSIWYG editor and the
17
+ * [CKFinder](https://ckeditor.com/ckfinder) file manager and uploader.
18
+ *
19
+ * This is a "glue" plugin which enables:
20
+ *
21
+ * * {@link module:ckfinder/ckfinderediting~CKFinderEditing},
22
+ * * {@link module:ckfinder/ckfinderui~CKFinderUI},
23
+ * * {@link module:adapter-ckfinder/uploadadapter~CKFinderUploadAdapter}.
24
+ *
25
+ * See the {@glink features/file-management/ckfinder "CKFinder integration" guide} to learn how to configure
26
+ * and use this feature.
27
+ *
28
+ * Check out the {@glink features/images/image-upload/image-upload comprehensive "Image upload" guide} to learn about
29
+ * other ways to upload images into CKEditor 5.
30
+ */
31
+ export default class CKFinder extends Plugin {
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ static get pluginName(): "CKFinder";
36
+ /**
37
+ * @inheritDoc
38
+ */
39
+ static get isOfficialPlugin(): true;
40
+ /**
41
+ * @inheritDoc
42
+ */
43
+ static get requires(): readonly ["Link", "CKFinderUploadAdapter", typeof CKFinderEditing, typeof CKFinderUI];
44
+ }
@@ -0,0 +1,40 @@
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 ckfinder/ckfindercommand
11
+ */
12
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * The CKFinder command. It is used by the {@link module:ckfinder/ckfinderediting~CKFinderEditing CKFinder editing feature}
15
+ * to open the CKFinder file manager to insert an image or a link to a file into the editor content.
16
+ *
17
+ * ```ts
18
+ * editor.execute( 'ckfinder' );
19
+ * ```
20
+ *
21
+ * **Note:** This command uses other features to perform tasks:
22
+ * - To insert images the {@link module:image/image/insertimagecommand~InsertImageCommand 'insertImage'} command
23
+ * from the {@link module:image/image~Image Image feature}.
24
+ * - To insert links to files the {@link module:link/linkcommand~LinkCommand 'link'} command
25
+ * from the {@link module:link/link~Link Link feature}.
26
+ */
27
+ export default class CKFinderCommand extends Command {
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ constructor(editor: Editor);
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ refresh(): void;
36
+ /**
37
+ * @inheritDoc
38
+ */
39
+ execute(): void;
40
+ }
@@ -0,0 +1,77 @@
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 ckfinder/ckfinderconfig
11
+ */
12
+ /**
13
+ * The configuration of the {@link module:ckfinder/ckfinder~CKFinder CKFinder feature}
14
+ * and its {@link module:adapter-ckfinder/uploadadapter~CKFinderUploadAdapter upload adapter}.
15
+ *
16
+ * ```
17
+ * ClassicEditor
18
+ * .create( editorElement, {
19
+ * ckfinder: {
20
+ * options: {
21
+ * resourceType: 'Images'
22
+ * }
23
+ * }
24
+ * } )
25
+ * .then( ... )
26
+ * .catch( ... );
27
+ * ```
28
+ *
29
+ * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
30
+ */
31
+ export interface CKFinderConfig {
32
+ /**
33
+ * The configuration options passed to the CKFinder file manager instance.
34
+ *
35
+ * Check the file manager [documentation](https://ckeditor.com/docs/ckfinder/ckfinder3/#!/api/CKFinder.Config-cfg-language)
36
+ * for the complete list of options.
37
+ */
38
+ options?: CKFinderOptions;
39
+ /**
40
+ * The type of the CKFinder opener method.
41
+ *
42
+ * Supported types are:
43
+ *
44
+ * * `'modal'` &ndash; Opens CKFinder in a modal,
45
+ * * `'popup'` &ndash; Opens CKFinder in a new "pop-up" window.
46
+ *
47
+ * Defaults to `'modal'`.
48
+ */
49
+ openerMethod?: 'modal' | 'popup';
50
+ /**
51
+ * The path (URL) to the connector which handles the file upload in CKFinder file manager.
52
+ * When specified, it enables the automatic upload of resources such as images inserted into the content.
53
+ *
54
+ * For instance, to use CKFinder's
55
+ * [quick upload](https://ckeditor.com/docs/ckfinder/ckfinder3-php/commands.html#command_quick_upload)
56
+ * command, your can use the following (or similar) path:
57
+ *
58
+ * ```ts
59
+ * ClassicEditor
60
+ * .create( editorElement, {
61
+ * ckfinder: {
62
+ * uploadUrl: '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files&responseType=json'
63
+ * }
64
+ * } )
65
+ * .then( ... )
66
+ * .catch( ... );
67
+ * ```
68
+ *
69
+ * Used by the {@link module:adapter-ckfinder/uploadadapter~CKFinderUploadAdapter upload adapter}.
70
+ */
71
+ uploadUrl?: string;
72
+ }
73
+ export interface CKFinderOptions extends Record<string, unknown> {
74
+ chooseFiles?: boolean;
75
+ onInit?: (finder: any) => void;
76
+ language?: string;
77
+ }
@@ -0,0 +1,34 @@
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 ckfinder/ckfinderediting
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import { Notification } from 'ckeditor5/src/ui.js';
14
+ /**
15
+ * The CKFinder editing feature. It introduces the {@link module:ckfinder/ckfindercommand~CKFinderCommand CKFinder command}.
16
+ */
17
+ export default class CKFinderEditing extends Plugin {
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get pluginName(): "CKFinderEditing";
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get isOfficialPlugin(): true;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get requires(): readonly [typeof Notification, "LinkEditing"];
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ init(): void;
34
+ }