@ckeditor/ckeditor5-upload 34.2.0 → 35.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +251 -0
- package/lang/translations/bn.po +21 -0
- package/lang/translations/ca.po +21 -0
- package/lang/translations/ms.po +21 -0
- package/lang/translations/pt.po +21 -0
- package/lang/translations/sv.po +21 -0
- package/package.json +6 -5
- package/src/filerepository.js +2 -2
package/CHANGELOG.md
ADDED
@@ -0,0 +1,251 @@
|
|
1
|
+
Changelog
|
2
|
+
=========
|
3
|
+
|
4
|
+
All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
|
5
|
+
|
6
|
+
Changes for the past releases are available below.
|
7
|
+
|
8
|
+
## [19.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v18.0.0...v19.0.0) (2020-04-29)
|
9
|
+
|
10
|
+
### Bug fixes
|
11
|
+
|
12
|
+
* Restored a condition handling an edge case in upload when promise chains are aborted. Closes [ckeditor/ckeditor5#5892](https://github.com/ckeditor/ckeditor5/issues/5892). ([ed7187b](https://github.com/ckeditor/ckeditor5-upload/commit/ed7187b))
|
13
|
+
|
14
|
+
|
15
|
+
## [18.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v17.0.0...v18.0.0) (2020-03-19)
|
16
|
+
|
17
|
+
Internal changes only (updated dependencies, documentation, etc.).
|
18
|
+
|
19
|
+
|
20
|
+
## [17.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v16.0.0...v17.0.0) (2020-02-19)
|
21
|
+
|
22
|
+
### Other changes
|
23
|
+
|
24
|
+
* Updated translations. ([5be630b](https://github.com/ckeditor/ckeditor5-upload/commit/5be630b))
|
25
|
+
|
26
|
+
|
27
|
+
## [16.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v15.0.0...v16.0.0) (2019-12-04)
|
28
|
+
|
29
|
+
### Other changes
|
30
|
+
|
31
|
+
* Updated translations. ([188255c](https://github.com/ckeditor/ckeditor5-upload/commit/188255c))
|
32
|
+
|
33
|
+
|
34
|
+
## [15.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v12.0.0...v15.0.0) (2019-10-23)
|
35
|
+
|
36
|
+
### Bug fixes
|
37
|
+
|
38
|
+
* Add missing `catch()` clauses to file loader promises. ([40906d4](https://github.com/ckeditor/ckeditor5-upload/commit/40906d4))
|
39
|
+
|
40
|
+
### Other changes
|
41
|
+
|
42
|
+
* Updated translations. ([290db0f](https://github.com/ckeditor/ckeditor5-upload/commit/290db0f)) ([1d7e907](https://github.com/ckeditor/ckeditor5-upload/commit/1d7e907))
|
43
|
+
|
44
|
+
|
45
|
+
## [12.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v11.1.1...v12.0.0) (2019-08-26)
|
46
|
+
|
47
|
+
### Features
|
48
|
+
|
49
|
+
* Implemented the `SimpleUploadAdapter` plugin which enables file uploads in CKEditor 5 using configurable `XMLHttpRequests` to a server. Closes [ckeditor/ckeditor5#1791](https://github.com/ckeditor/ckeditor5/issues/1791). ([441c597](https://github.com/ckeditor/ckeditor5-upload/commit/441c597))
|
50
|
+
|
51
|
+
```js
|
52
|
+
import Base64UploadAdapter from '@ckeditor/ckeditor5-upload/src/adapters/base64uploadadapter'
|
53
|
+
```
|
54
|
+
* Implemented the responsive image support in the `SimpleUploadAdapter`. Closes [#97](https://github.com/ckeditor/ckeditor5-upload/issues/97). ([b5092a4](https://github.com/ckeditor/ckeditor5-upload/commit/b5092a4))
|
55
|
+
|
56
|
+
### Other changes
|
57
|
+
|
58
|
+
* Add `ImageLoader.data` property for already read file to allow synchronous access to file data. ([ec56ab8](https://github.com/ckeditor/ckeditor5-upload/commit/ec56ab8))
|
59
|
+
* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([1893794](https://github.com/ckeditor/ckeditor5-upload/commit/1893794))
|
60
|
+
* Updated translations. ([594b6c1](https://github.com/ckeditor/ckeditor5-upload/commit/594b6c1))
|
61
|
+
|
62
|
+
### BREAKING CHANGES
|
63
|
+
|
64
|
+
* Moved the `Base64UploadAdapter` plugin file to `ckeditor5-upload/src/adapters/base64uploadadapter.js`. Make sure import paths your project are up–to–date:
|
65
|
+
|
66
|
+
```js
|
67
|
+
import Base64UploadAdapter from '@ckeditor/ckeditor5-upload/src/adapters/base64uploadadapter'
|
68
|
+
```
|
69
|
+
|
70
|
+
|
71
|
+
## [11.1.1](https://github.com/ckeditor/ckeditor5-upload/compare/v11.1.0...v11.1.1) (2019-07-10)
|
72
|
+
|
73
|
+
Internal changes only (updated dependencies, documentation, etc.).
|
74
|
+
|
75
|
+
|
76
|
+
## [11.1.0](https://github.com/ckeditor/ckeditor5-upload/compare/v11.0.2...v11.1.0) (2019-07-04)
|
77
|
+
|
78
|
+
### Features
|
79
|
+
|
80
|
+
* Introduced the Base64 image upload adapter. Closes [ckeditor/ckeditor5#1378](https://github.com/ckeditor/ckeditor5/issues/1378). ([938f0f7](https://github.com/ckeditor/ckeditor5-upload/commit/938f0f7))
|
81
|
+
|
82
|
+
|
83
|
+
## [11.0.2](https://github.com/ckeditor/ckeditor5-upload/compare/v11.0.1...v11.0.2) (2019-06-05)
|
84
|
+
|
85
|
+
### Other changes
|
86
|
+
|
87
|
+
* Updated translations. ([73c6761](https://github.com/ckeditor/ckeditor5-upload/commit/73c6761))
|
88
|
+
|
89
|
+
|
90
|
+
## [11.0.1](https://github.com/ckeditor/ckeditor5-upload/compare/v11.0.0...v11.0.1) (2019-04-10)
|
91
|
+
|
92
|
+
### Other changes
|
93
|
+
|
94
|
+
* Updated translations. ([eac33b1](https://github.com/ckeditor/ckeditor5-upload/commit/eac33b1))
|
95
|
+
|
96
|
+
|
97
|
+
## [11.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v10.0.4...v11.0.0) (2019-02-28)
|
98
|
+
|
99
|
+
### Bug fixes
|
100
|
+
|
101
|
+
* `FileLoader` now accepts `Promise` instead of a `File` instance. Closes [#87](https://github.com/ckeditor/ckeditor5-upload/issues/87). ([62a8c69](https://github.com/ckeditor/ckeditor5-upload/commit/62a8c69))
|
102
|
+
|
103
|
+
### Other changes
|
104
|
+
|
105
|
+
* Add catch block for failed file promise in `FileRepository`. ([a2de5d5](https://github.com/ckeditor/ckeditor5-upload/commit/a2de5d5))
|
106
|
+
* Updated translations. ([6aaad73](https://github.com/ckeditor/ckeditor5-upload/commit/6aaad73)) ([b0469a8](https://github.com/ckeditor/ckeditor5-upload/commit/b0469a8)) ([f6e27cb](https://github.com/ckeditor/ckeditor5-upload/commit/f6e27cb))
|
107
|
+
|
108
|
+
### BREAKING CHANGES
|
109
|
+
|
110
|
+
* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c))
|
111
|
+
* The `FileLoader.file` property was changed to a getter which returns a native `Promise` instance instead of a `File` instance. The returned promise resolves to a `File` instance.
|
112
|
+
|
113
|
+
|
114
|
+
## [10.0.4](https://github.com/ckeditor/ckeditor5-upload/compare/v10.0.3...v10.0.4) (2018-12-05)
|
115
|
+
|
116
|
+
### Other changes
|
117
|
+
|
118
|
+
* Updated translations. ([489b6fa](https://github.com/ckeditor/ckeditor5-upload/commit/489b6fa)) ([f435630](https://github.com/ckeditor/ckeditor5-upload/commit/f435630))
|
119
|
+
|
120
|
+
|
121
|
+
## [10.0.3](https://github.com/ckeditor/ckeditor5-upload/compare/v10.0.2...v10.0.3) (2018-10-08)
|
122
|
+
|
123
|
+
### Other changes
|
124
|
+
|
125
|
+
* Updated translations. ([871eb44](https://github.com/ckeditor/ckeditor5-upload/commit/871eb44))
|
126
|
+
|
127
|
+
|
128
|
+
## [10.0.2](https://github.com/ckeditor/ckeditor5-upload/compare/v10.0.1...v10.0.2) (2018-07-18)
|
129
|
+
|
130
|
+
### Other changes
|
131
|
+
|
132
|
+
* Updated translations. ([ce32eb2](https://github.com/ckeditor/ckeditor5-upload/commit/ce32eb2), [9adb325](https://github.com/ckeditor/ckeditor5-upload/commit/9adb325))
|
133
|
+
|
134
|
+
|
135
|
+
## [10.0.1](https://github.com/ckeditor/ckeditor5-upload/compare/v10.0.0...v10.0.1) (2018-06-21)
|
136
|
+
|
137
|
+
### Other changes
|
138
|
+
|
139
|
+
* Updated translations.
|
140
|
+
|
141
|
+
|
142
|
+
## [10.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v1.0.0-beta.4...v10.0.0) (2018-04-25)
|
143
|
+
|
144
|
+
### Other changes
|
145
|
+
|
146
|
+
* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([8293240](https://github.com/ckeditor/ckeditor5-upload/commit/8293240))
|
147
|
+
|
148
|
+
### BREAKING CHANGES
|
149
|
+
|
150
|
+
* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
|
151
|
+
|
152
|
+
|
153
|
+
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-upload/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018-04-19)
|
154
|
+
|
155
|
+
Internal changes only (updated dependencies, documentation, etc.).
|
156
|
+
|
157
|
+
|
158
|
+
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-upload/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018-04-10)
|
159
|
+
|
160
|
+
Internal changes only (updated dependencies, documentation, etc.).
|
161
|
+
|
162
|
+
|
163
|
+
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-upload/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018-03-15)
|
164
|
+
|
165
|
+
### Bug fixes
|
166
|
+
|
167
|
+
* Fixed incorrect `ImageUploadButton` and `ImageUploadCommand` binding. Closes [#77](https://github.com/ckeditor/ckeditor5-upload/issues/77). Closes https://github.com/ckeditor/ckeditor5-ui/issues/357. ([d231ea6](https://github.com/ckeditor/ckeditor5-upload/commit/d231ea6))
|
168
|
+
|
169
|
+
### Other changes
|
170
|
+
|
171
|
+
* Migrated package styles to PostCSS. Moved visual styles to `@ckeditor/ckeditor5-theme-lark` (see [ckeditor/ckeditor5-ui#144](https://github.com/ckeditor/ckeditor5-ui/issues/144)). ([faf6100](https://github.com/ckeditor/ckeditor5-upload/commit/faf6100))
|
172
|
+
* Moved the image upload plugins to the `@ckeditor/ckeditor5-image` package. Minor cleanup in the API. Closes [#22](https://github.com/ckeditor/ckeditor5-upload/issues/22). ([55697a9](https://github.com/ckeditor/ckeditor5-upload/commit/55697a9))
|
173
|
+
* Use post-fixer API. ([08e9d09](https://github.com/ckeditor/ckeditor5-upload/commit/08e9d09))
|
174
|
+
|
175
|
+
### BREAKING CHANGES
|
176
|
+
|
177
|
+
* Renamed `Adapter` to `UploadAdapter`.
|
178
|
+
* Removed `ImageUpload` plugin. It can be no found in ckeditor5-image repository.
|
179
|
+
* Removed `ImageUploadEngine` plugin. It can be no found in ckeditor5-image repository.
|
180
|
+
* Removed `ImageUploadProgress` plugin. It can be no found in ckeditor5-image repository.
|
181
|
+
* Removed `ImageUploadButton` plugin. It can be no found in ckeditor5-image repository.
|
182
|
+
* Renamed `FileRepository#createAdapter()` to `FileRepository#createUploadAdapter()`.
|
183
|
+
* Renamed `filerepository-no-adapter` error to `filerepository-no-upload-adapter`.
|
184
|
+
|
185
|
+
|
186
|
+
## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-upload/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2017-11-14)
|
187
|
+
|
188
|
+
### Bug fixes
|
189
|
+
|
190
|
+
* Destroying `FileDialogButtonView` should not throw an error. Closes [#66](https://github.com/ckeditor/ckeditor5-upload/issues/66). ([2d4ba62](https://github.com/ckeditor/ckeditor5-upload/commit/2d4ba62))
|
191
|
+
* Images pasted with additional HTML content will not be handled by the upload plugin which prevents data pasted from MS Word to be treated as an image. Closes [#68](https://github.com/ckeditor/ckeditor5-upload/issues/68). ([8d0644a](https://github.com/ckeditor/ckeditor5-upload/commit/8d0644a))
|
192
|
+
|
193
|
+
### Other changes
|
194
|
+
|
195
|
+
* Updated translations. ([93e9643](https://github.com/ckeditor/ckeditor5-upload/commit/93e9643))
|
196
|
+
* Aligned UI library usage to the [changes in the UI framework](https://github.com/ckeditor/ckeditor5-ui/pull/332).
|
197
|
+
|
198
|
+
### BREAKING CHANGES
|
199
|
+
|
200
|
+
* The `FileDialogButtonView` is not a `ButtonView` instance anymore but a wrapper instead. The button of the component is available under the `#buttonView` property.
|
201
|
+
|
202
|
+
|
203
|
+
## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-upload/compare/v0.2.0...v1.0.0-alpha.1) (2017-10-03)
|
204
|
+
|
205
|
+
### Bug fixes
|
206
|
+
|
207
|
+
* Image placeholder is now correctly displayed on Firefox and Edge. Closes [#56](https://github.com/ckeditor/ckeditor5-upload/issues/56). ([785e88b](https://github.com/ckeditor/ckeditor5-upload/commit/785e88b))
|
208
|
+
* Upload command should not crash when upload adapter is not specified (instead, FileRepository logs an error). Closes [#59](https://github.com/ckeditor/ckeditor5-upload/issues/59). ([14b738b](https://github.com/ckeditor/ckeditor5-upload/commit/14b738b))
|
209
|
+
|
210
|
+
### Other changes
|
211
|
+
|
212
|
+
* `FileRepository` will automatically warn when it's initialized but no upload adapter was enabled. Closes [#58](https://github.com/ckeditor/ckeditor5-upload/issues/58). ([29aa315](https://github.com/ckeditor/ckeditor5-upload/commit/29aa315))
|
213
|
+
* Placeholder image will now look better on wider editors. Closes [#63](https://github.com/ckeditor/ckeditor5-upload/issues/63). ([edb5e81](https://github.com/ckeditor/ckeditor5-upload/commit/edb5e81))
|
214
|
+
|
215
|
+
|
216
|
+
## [0.2.0](https://github.com/ckeditor/ckeditor5-upload/compare/v0.1.0...v0.2.0) (2017-09-03)
|
217
|
+
|
218
|
+
### Bug fixes
|
219
|
+
|
220
|
+
* [Safari, Edge] The image upload (button) feature will not throw an error anymore when trying to access picked files. The feature should not use `for...of` loop on native `FileList` because Safari and Edge do not support `Symbol.iterator` for it yet. Closes [#35](https://github.com/ckeditor/ckeditor5-upload/issues/35). ([f4efd9b](https://github.com/ckeditor/ckeditor5-upload/commit/f4efd9b))
|
221
|
+
* An image dropped on another image will not redirect the browser to the file's path. Closes [#32](https://github.com/ckeditor/ckeditor5-upload/issues/32). ([4f533be](https://github.com/ckeditor/ckeditor5-upload/commit/4f533be))
|
222
|
+
* Bound `ImageUploadButton#isEnabled` to `ImageUploadCommand#isEnabled`. Closes [#43](https://github.com/ckeditor/ckeditor5-upload/issues/43). ([ba6de66](https://github.com/ckeditor/ckeditor5-upload/commit/ba6de66))
|
223
|
+
* Fixed two issues related to dropping images. First, when dropping a file into an empty paragraph, that paragraph should be replaced with that image. Second, drop position should be read correctly when the editor is focused upon drop. Closes [#42](https://github.com/ckeditor/ckeditor5-upload/issues/42). Closes [#29](https://github.com/ckeditor/ckeditor5-upload/issues/29). ([fec452d](https://github.com/ckeditor/ckeditor5-upload/commit/fec452d))
|
224
|
+
* Image will be inserted after the block if the selection is placed at the block's end. Closes [#7](https://github.com/ckeditor/ckeditor5-upload/issues/7). ([70742f9](https://github.com/ckeditor/ckeditor5-upload/commit/70742f9))
|
225
|
+
* When image upload is aborted, now the "image placeholder" element is permanently removed so it is not reinserted on undo. Closes [#38](https://github.com/ckeditor/ckeditor5-upload/issues/38). ([aff6382](https://github.com/ckeditor/ckeditor5-upload/commit/aff6382))
|
226
|
+
|
227
|
+
### Features
|
228
|
+
|
229
|
+
* Responsive images support in image upload. Closes [#34](https://github.com/ckeditor/ckeditor5-upload/issues/34). ([9a022a2](https://github.com/ckeditor/ckeditor5-upload/commit/9a022a2))
|
230
|
+
* The `ImageUploadCommand` now accepts `insertAt` position which allows customizing where the image will be inserted. Closes [#45](https://github.com/ckeditor/ckeditor5-upload/issues/45). ([b90c8d7](https://github.com/ckeditor/ckeditor5-upload/commit/b90c8d7))
|
231
|
+
|
232
|
+
### Other changes
|
233
|
+
|
234
|
+
* Aborting upload when image is removed and removing image on upload error. Closes [#2](https://github.com/ckeditor/ckeditor5-upload/issues/2). ([c3bbb57](https://github.com/ckeditor/ckeditor5-upload/commit/c3bbb57))
|
235
|
+
* Aligned the implementation to the new Command API (see https://github.com/ckeditor/ckeditor5-core/issues/88). ([3d97b81](https://github.com/ckeditor/ckeditor5-upload/commit/3d97b81))
|
236
|
+
* Changed from original to default image. Closes [#49](https://github.com/ckeditor/ckeditor5-upload/issues/49). ([d8d61f3](https://github.com/ckeditor/ckeditor5-upload/commit/d8d61f3))
|
237
|
+
* Cleaned up SVG icons. ([ab81012](https://github.com/ckeditor/ckeditor5-upload/commit/ab81012))
|
238
|
+
* Optional notification title when upload fails. Closes [#30](https://github.com/ckeditor/ckeditor5-upload/issues/30). ([1a6306c](https://github.com/ckeditor/ckeditor5-upload/commit/1a6306c))
|
239
|
+
|
240
|
+
### BREAKING CHANGES
|
241
|
+
|
242
|
+
* `UploadImageCommand` doesn't optimize the drop position itself anymore. Instead, a separate `findOptimalInsertionPosition()` function was introduced.
|
243
|
+
* `UploadImageCommand` doesn't verify the type of file anymore. This needs to be done by the caller.
|
244
|
+
* The command API has been changed.
|
245
|
+
|
246
|
+
|
247
|
+
## 0.1.0 (2017-05-07)
|
248
|
+
|
249
|
+
### Features
|
250
|
+
|
251
|
+
* Initial implementation. Closes [#1](https://github.com/ckeditor/ckeditor5-upload/issues/1).
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Bengali (https://www.transifex.com/ckeditor/teams/11143/bn/)\n"
|
16
|
+
"Language: bn\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
|
+
|
19
|
+
msgctxt "A message that a file upload is in progress."
|
20
|
+
msgid "Upload in progress"
|
21
|
+
msgstr "আপলোড চলছে"
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Catalan (https://www.transifex.com/ckeditor/teams/11143/ca/)\n"
|
16
|
+
"Language: ca\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
|
+
|
19
|
+
msgctxt "A message that a file upload is in progress."
|
20
|
+
msgid "Upload in progress"
|
21
|
+
msgstr "Carrega en curs"
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Malay (https://www.transifex.com/ckeditor/teams/11143/ms/)\n"
|
16
|
+
"Language: ms\n"
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
18
|
+
|
19
|
+
msgctxt "A message that a file upload is in progress."
|
20
|
+
msgid "Upload in progress"
|
21
|
+
msgstr "Muat naik sedang berlangsung"
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Portuguese (https://www.transifex.com/ckeditor/teams/11143/pt/)\n"
|
16
|
+
"Language: pt\n"
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
|
+
|
19
|
+
msgctxt "A message that a file upload is in progress."
|
20
|
+
msgid "Upload in progress"
|
21
|
+
msgstr "Carregamento em progresso"
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Swedish (https://www.transifex.com/ckeditor/teams/11143/sv/)\n"
|
16
|
+
"Language: sv\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
|
+
|
19
|
+
msgctxt "A message that a file upload is in progress."
|
20
|
+
msgid "Upload in progress"
|
21
|
+
msgstr "Uppladdning pågår"
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-upload",
|
3
|
-
"version": "
|
3
|
+
"version": "35.1.0",
|
4
4
|
"description": "Upload feature for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -11,9 +11,9 @@
|
|
11
11
|
],
|
12
12
|
"main": "src/index.js",
|
13
13
|
"dependencies": {
|
14
|
-
"@ckeditor/ckeditor5-core": "^
|
15
|
-
"@ckeditor/ckeditor5-utils": "^
|
16
|
-
"@ckeditor/ckeditor5-ui": "^
|
14
|
+
"@ckeditor/ckeditor5-core": "^35.1.0",
|
15
|
+
"@ckeditor/ckeditor5-utils": "^35.1.0",
|
16
|
+
"@ckeditor/ckeditor5-ui": "^35.1.0"
|
17
17
|
},
|
18
18
|
"engines": {
|
19
19
|
"node": ">=14.0.0",
|
@@ -32,6 +32,7 @@
|
|
32
32
|
"lang",
|
33
33
|
"src",
|
34
34
|
"theme",
|
35
|
-
"ckeditor5-metadata.json"
|
35
|
+
"ckeditor5-metadata.json",
|
36
|
+
"CHANGELOG.md"
|
36
37
|
]
|
37
38
|
}
|
package/src/filerepository.js
CHANGED
@@ -17,7 +17,7 @@ import mix from '@ckeditor/ckeditor5-utils/src/mix';
|
|
17
17
|
|
18
18
|
import FileReader from './filereader.js';
|
19
19
|
|
20
|
-
import uid from '@ckeditor/ckeditor5-utils/src/uid
|
20
|
+
import uid from '@ckeditor/ckeditor5-utils/src/uid';
|
21
21
|
|
22
22
|
/**
|
23
23
|
* File repository plugin. A central point for managing file upload.
|
@@ -154,7 +154,7 @@ export default class FileRepository extends Plugin {
|
|
154
154
|
* This warning shows up when {@link module:upload/filerepository~FileRepository} is being used
|
155
155
|
* without {@link #createUploadAdapter defining an upload adapter}.
|
156
156
|
*
|
157
|
-
* **If you see this warning when using one of the {@glink installation/
|
157
|
+
* **If you see this warning when using one of the {@glink installation/getting-started/predefined-builds
|
158
158
|
* CKEditor 5 Builds}**
|
159
159
|
* it means that you did not configure any of the upload adapters available by default in those builds.
|
160
160
|
*
|