@ckeditor/ckeditor5-widget 34.1.0 → 35.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +260 -0
- package/LICENSE.md +4 -0
- package/lang/translations/ar.po +29 -0
- package/lang/translations/bg.po +29 -0
- package/lang/translations/bn.po +29 -0
- package/lang/translations/ca.po +29 -0
- package/lang/translations/da.po +2 -2
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +2 -2
- package/lang/translations/fi.po +29 -0
- package/lang/translations/fr.po +1 -1
- package/lang/translations/he.po +2 -2
- package/lang/translations/it.po +1 -1
- package/lang/translations/ko.po +2 -2
- package/lang/translations/lt.po +29 -0
- package/lang/translations/ms.po +29 -0
- package/lang/translations/no.po +2 -2
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +29 -0
- package/lang/translations/sv.po +29 -0
- package/lang/translations/th.po +2 -2
- package/lang/translations/tr.po +2 -2
- package/lang/translations/vi.po +2 -2
- package/package.json +23 -22
- package/src/utils.js +10 -2
package/CHANGELOG.md
ADDED
@@ -0,0 +1,260 @@
|
|
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-widget/compare/v18.0.0...v19.0.0) (2020-04-29)
|
9
|
+
|
10
|
+
### MINOR BREAKING CHANGES
|
11
|
+
|
12
|
+
* Make sure the latest version of the [`Essentials`](https://ckeditor.com/docs/ckeditor5/latest/api/essentials.html) plugin or the [`SelectAll`](https://ckeditor.com/docs/ckeditor5/latest/api/module_select-all_selectall-SelectAll.html) plugin is installed in your integration. Either is required for proper keystroke handling in editor widgets.
|
13
|
+
|
14
|
+
### Bug fixes
|
15
|
+
|
16
|
+
* Image resize now cleans up temporary view `width` style changes. Closes [ckeditor/ckeditor5#6060](https://github.com/ckeditor/ckeditor5/issues/6060). ([92226f9](https://github.com/ckeditor/ckeditor5-widget/commit/92226f9))
|
17
|
+
|
18
|
+
### Other changes
|
19
|
+
|
20
|
+
* Moved the <kbd>Ctrl</kbd>+<kbd>A</kbd> keystroke handling in widgets to the [`SelectAll`](https://ckeditor.com/docs/ckeditor5/latest/api/module_select-all_selectall-SelectAll.html) plugin (see [ckeditor/ckeditor5#6536](https://github.com/ckeditor/ckeditor5/issues/6536)). ([57eb263](https://github.com/ckeditor/ckeditor5-widget/commit/57eb263))
|
21
|
+
* Updated translations. ([79d1a21](https://github.com/ckeditor/ckeditor5-widget/commit/79d1a21))
|
22
|
+
|
23
|
+
|
24
|
+
## [18.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v17.0.0...v18.0.0) (2020-03-19)
|
25
|
+
|
26
|
+
Internal changes only (updated dependencies, documentation, etc.).
|
27
|
+
|
28
|
+
|
29
|
+
## [17.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v16.0.0...v17.0.0) (2020-02-19)
|
30
|
+
|
31
|
+
### MINOR BREAKING CHANGES
|
32
|
+
|
33
|
+
* Resizer options object now also takes an editor instance.
|
34
|
+
|
35
|
+
### Features
|
36
|
+
|
37
|
+
* Introduced API to temporarily disable the `WidgetToolbarRepository` plugin (prevent the toolbar from showing up). Closes [ckeditor/ckeditor5#5964](https://github.com/ckeditor/ckeditor5/issues/5964). ([b9cf062](https://github.com/ckeditor/ckeditor5-widget/commit/b9cf062))
|
38
|
+
|
39
|
+
### Bug fixes
|
40
|
+
|
41
|
+
* Fixed image resize behavior upon short clicking a handle without dragging. Image will no longer became full width, nor will it briefly flash an unexpected size. Closes [ckeditor/ckeditor5#5189](https://github.com/ckeditor/ckeditor5/issues/5189). Closes [ckeditor/ckeditor5#5195](https://github.com/ckeditor/ckeditor5/issues/5195). ([d6a5c93](https://github.com/ckeditor/ckeditor5-widget/commit/d6a5c93))
|
42
|
+
|
43
|
+
### Other changes
|
44
|
+
|
45
|
+
* Align code to changes in `Plugin` API. ([81bb636](https://github.com/ckeditor/ckeditor5-widget/commit/81bb636))
|
46
|
+
* Updated translations. ([75b8c83](https://github.com/ckeditor/ckeditor5-widget/commit/75b8c83))
|
47
|
+
|
48
|
+
|
49
|
+
## [16.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v15.0.0...v16.0.0) (2019-12-04)
|
50
|
+
|
51
|
+
### Other changes
|
52
|
+
|
53
|
+
* Updated translations. ([b3bf5f0](https://github.com/ckeditor/ckeditor5-widget/commit/b3bf5f0))
|
54
|
+
|
55
|
+
|
56
|
+
## [15.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v11.1.0...v15.0.0) (2019-10-23)
|
57
|
+
|
58
|
+
### MAJOR BREAKING CHANGES
|
59
|
+
|
60
|
+
* The `drag-handler.svg` icon is now `drag-handle.svg`. If you use it in your integration, please update the path.
|
61
|
+
* The `hasSelectionHandler` option of the [`toWidget()`](https://ckeditor.com/docs/ckeditor5/latest/api/module_widget_utils.html#static-function-toWidget) utility has been renamed to `hasSelectionHandle`. Consider this change if you create your own widgets using this helper.
|
62
|
+
* `.ck-widget__selection-handler` and `.ck-widget_with-selection-handler` CSS classes set on widgets have been renamed to `.ck-widget__selection-handle` and `.ck-widget_with-selection-handle`. This change may affect styling in your integration.
|
63
|
+
|
64
|
+
### Bug fixes
|
65
|
+
|
66
|
+
* Initial resize of a side image with no width predefined now gives correct percentage values. ([6c2c52e](https://github.com/ckeditor/ckeditor5-widget/commit/6c2c52e))
|
67
|
+
* Keyboard navigation should work around widgets in RTL content. Closes [#97](https://github.com/ckeditor/ckeditor5-widget/issues/97). ([dfbf88d](https://github.com/ckeditor/ckeditor5-widget/commit/dfbf88d))
|
68
|
+
|
69
|
+
### Other changes
|
70
|
+
|
71
|
+
* Improved the resizer performance. Closes [ckeditor/ckeditor5#5191](https://github.com/ckeditor/ckeditor5/issues/5191). ([1d1de77](https://github.com/ckeditor/ckeditor5-widget/commit/1d1de77))
|
72
|
+
* Renamed "handler" to "handle" in the entire package. Closes [#99](https://github.com/ckeditor/ckeditor5-widget/issues/99). ([1d35884](https://github.com/ckeditor/ckeditor5-widget/commit/1d35884))
|
73
|
+
* Updated translations. ([b9cb673](https://github.com/ckeditor/ckeditor5-widget/commit/b9cb673)) ([daea4f5](https://github.com/ckeditor/ckeditor5-widget/commit/daea4f5))
|
74
|
+
|
75
|
+
|
76
|
+
## [11.1.0](https://github.com/ckeditor/ckeditor5-widget/compare/v11.0.4...v11.1.0) (2019-08-26)
|
77
|
+
|
78
|
+
### Features
|
79
|
+
|
80
|
+
* Introduced image widget resizer. See [ckeditor/ckeditor5-image#241](https://github.com/ckeditor/ckeditor5-image/issues/241). ([c84cd73](https://github.com/ckeditor/ckeditor5-widget/commit/c84cd73))
|
81
|
+
|
82
|
+
### Bug fixes
|
83
|
+
|
84
|
+
* Improved balloon positioning when there is more than one stack in the rotator. ([763c9ba](https://github.com/ckeditor/ckeditor5-widget/commit/763c9ba))
|
85
|
+
* Reposition visible toolbar when it is in a not visible stack of rotator. Closes [ckeditor/ckeditor5#1957](https://github.com/ckeditor/ckeditor5/issues/1957). ([a438c8b](https://github.com/ckeditor/ckeditor5-widget/commit/a438c8b))
|
86
|
+
|
87
|
+
### Other changes
|
88
|
+
|
89
|
+
* 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). ([cfd41c1](https://github.com/ckeditor/ckeditor5-widget/commit/cfd41c1))
|
90
|
+
* The widget toolbar should have a proper `aria-label` attribute (see [ckeditor/ckeditor5#1404](https://github.com/ckeditor/ckeditor5/issues/1404)). ([aec5888](https://github.com/ckeditor/ckeditor5-widget/commit/aec5888))
|
91
|
+
|
92
|
+
|
93
|
+
## [11.0.4](https://github.com/ckeditor/ckeditor5-widget/compare/v11.0.3...v11.0.4) (2019-07-10)
|
94
|
+
|
95
|
+
Internal changes only (updated dependencies, documentation, etc.).
|
96
|
+
|
97
|
+
|
98
|
+
## [11.0.3](https://github.com/ckeditor/ckeditor5-widget/compare/v11.0.2...v11.0.3) (2019-07-04)
|
99
|
+
|
100
|
+
### Bug fixes
|
101
|
+
|
102
|
+
* A proper `DomConverter` method should be used to map a view to DOM when getting balloon position data. Closes [#87](https://github.com/ckeditor/ckeditor5-widget/issues/87). ([160333a](https://github.com/ckeditor/ckeditor5-widget/commit/160333a))
|
103
|
+
|
104
|
+
|
105
|
+
## [11.0.2](https://github.com/ckeditor/ckeditor5-widget/compare/v11.0.1...v11.0.2) (2019-06-05)
|
106
|
+
|
107
|
+
Internal changes only (updated dependencies, documentation, etc.).
|
108
|
+
|
109
|
+
|
110
|
+
## [11.0.1](https://github.com/ckeditor/ckeditor5-widget/compare/v11.0.0...v11.0.1) (2019-04-10)
|
111
|
+
|
112
|
+
### Bug fixes
|
113
|
+
|
114
|
+
* Triple clicking inside a nested editable should not select the entire widget in Safari. Closes [ckeditor/ckeditor5#1463](https://github.com/ckeditor/ckeditor5/issues/1463). ([b7c4765](https://github.com/ckeditor/ckeditor5-widget/commit/b7c4765))
|
115
|
+
|
116
|
+
|
117
|
+
## [11.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v10.3.1...v11.0.0) (2019-02-28)
|
118
|
+
|
119
|
+
### Bug fixes
|
120
|
+
|
121
|
+
* Editor crashes after <kbd>Enter</kbd> key on an image that is inside a blockquote. Closes [ckeditor/ckeditor5#1555](https://github.com/ckeditor/ckeditor5/issues/1555). ([8a8842b](https://github.com/ckeditor/ckeditor5-widget/commit/8a8842b))
|
122
|
+
* Ensured only the widget toolbar attached to the view element which is deepest in the view tree will show up. Code and documentation refactoring in the `WidgetToolbarRepository`. Closes [#60](https://github.com/ckeditor/ckeditor5-widget/issues/60). ([7e11a24](https://github.com/ckeditor/ckeditor5-widget/commit/7e11a24))
|
123
|
+
* Make widget in editable clickable. Closes [ckeditor/ckeditor5-table#98](https://github.com/ckeditor/ckeditor5-table/issues/98). ([8226829](https://github.com/ckeditor/ckeditor5-widget/commit/8226829))
|
124
|
+
* Pressing <kbd>Enter</kbd> should split parent element when the inline widget is inside a `$block`. Closes [ckeditor/ckeditor5#1529](https://github.com/ckeditor/ckeditor5/issues/1529). ([847d2ab](https://github.com/ckeditor/ckeditor5-widget/commit/847d2ab))
|
125
|
+
* Fixed memory leaks during editor initialization and destruction (see [ckeditor/ckeditor5#1341](https://github.com/ckeditor/ckeditor5/issues/1341)). ([2e8f20d](https://github.com/ckeditor/ckeditor5-widget/commit/2e8f20d))
|
126
|
+
|
127
|
+
### Other changes
|
128
|
+
|
129
|
+
* Introduce support and utils for creating inline widgets. Closes [[ckeditor/ckeditor5#1096](https://github.com/ckeditor/ckeditor5/issues/1096)](https://github.com/ckeditor/ckeditor5/issues/1096). ([38fa159](https://github.com/ckeditor/ckeditor5-widget/commit/38fa159))
|
130
|
+
* Renamed the `.ck-widget_selectable` class to `.ck-widget_with-selection-handler` for better semantics. Closes [#66](https://github.com/ckeditor/ckeditor5-widget/issues/66). ([178ad5f](https://github.com/ckeditor/ckeditor5-widget/commit/178ad5f))
|
131
|
+
|
132
|
+
### BREAKING CHANGES
|
133
|
+
|
134
|
+
* 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))
|
135
|
+
* The `.ck-widget_selectable` class has been renamed to `.ck-widget_with-selection-handler` for better semantics.
|
136
|
+
* The `visibleWhen()` function, a property of an object passed into `WidgetToolbarRepository.register()`, has been renamed to `getRelatedElement()` and must return an editing `View` element the toolbar should be attached to (instead of `Boolean`).
|
137
|
+
|
138
|
+
|
139
|
+
## [10.3.1](https://github.com/ckeditor/ckeditor5-widget/compare/v10.3.0...v10.3.1) (2018-12-05)
|
140
|
+
|
141
|
+
### Bug fixes
|
142
|
+
|
143
|
+
* Selection converter will mark only the topmost widget in case of selecting a widget with another widget nested inside it. Closes [#57](https://github.com/ckeditor/ckeditor5-widget/issues/57). ([a78efec](https://github.com/ckeditor/ckeditor5-widget/commit/a78efec))
|
144
|
+
|
145
|
+
### Other changes
|
146
|
+
|
147
|
+
* Improved SVG icons size. See [ckeditor/ckeditor5-theme-lark#206](https://github.com/ckeditor/ckeditor5-theme-lark/issues/206). ([5b7a457](https://github.com/ckeditor/ckeditor5-widget/commit/5b7a457))
|
148
|
+
|
149
|
+
|
150
|
+
## [10.3.0](https://github.com/ckeditor/ckeditor5-widget/compare/v10.2.0...v10.3.0) (2018-10-08)
|
151
|
+
|
152
|
+
### Features
|
153
|
+
|
154
|
+
* Introduced the `findOptimalInsertionPostion()` utility function. ([9c0d4ce](https://github.com/ckeditor/ckeditor5-widget/commit/9c0d4ce))
|
155
|
+
* Introduced the widget toolbar repository. Closes [ckeditor/ckeditor5-ui#442](https://github.com/ckeditor/ckeditor5-ui/issues/442). ([bc45176](https://github.com/ckeditor/ckeditor5-widget/commit/bc45176))
|
156
|
+
|
157
|
+
|
158
|
+
## [10.2.0](https://github.com/ckeditor/ckeditor5-widget/compare/v10.1.0...v10.2.0) (2018-07-18)
|
159
|
+
|
160
|
+
### Features
|
161
|
+
|
162
|
+
* Implemented the widget selection handle. Closes [#40](https://github.com/ckeditor/ckeditor5-widget/issues/40). ([bbf9298](https://github.com/ckeditor/ckeditor5-widget/commit/bbf9298))
|
163
|
+
|
164
|
+
### Other changes
|
165
|
+
|
166
|
+
* Do not set the `contenteditable` property for widgets and their nested editables on Edge due to an awful instability which it causes in this browser. Closes [ckeditor/ckeditor5#1079](https://github.com/ckeditor/ckeditor5/issues/1079). Closes [ckeditor/ckeditor5#1067](https://github.com/ckeditor/ckeditor5/issues/1067). ([ee530b1](https://github.com/ckeditor/ckeditor5-widget/commit/ee530b1))
|
167
|
+
|
168
|
+
|
169
|
+
## [10.1.0](https://github.com/ckeditor/ckeditor5-widget/compare/v10.0.0...v10.1.0) (2018-06-21)
|
170
|
+
|
171
|
+
### Features
|
172
|
+
|
173
|
+
* Creating a paragraph next to the selected widget is possible using the (<kbd>Shift</kbd>+)<kbd>Enter</kbd> key (see [ckeditor/ckeditor5#407](https://github.com/ckeditor/ckeditor5/issues/407)). ([d68b7d0](https://github.com/ckeditor/ckeditor5-widget/commit/d68b7d0))
|
174
|
+
|
175
|
+
|
176
|
+
## [10.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v1.0.0-beta.4...v10.0.0) (2018-04-25)
|
177
|
+
|
178
|
+
### Other changes
|
179
|
+
|
180
|
+
* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([88ef879](https://github.com/ckeditor/ckeditor5-widget/commit/88ef879))
|
181
|
+
|
182
|
+
### BREAKING CHANGES
|
183
|
+
|
184
|
+
* 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.
|
185
|
+
|
186
|
+
|
187
|
+
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-widget/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018-04-19)
|
188
|
+
|
189
|
+
Internal changes only (updated dependencies, documentation, etc.).
|
190
|
+
|
191
|
+
|
192
|
+
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-widget/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018-04-10)
|
193
|
+
|
194
|
+
### Bug fixes
|
195
|
+
|
196
|
+
* Replaced nested editable's `.ck-editable` class with `.ck-editor__editable` + `.ck-editor__nested-editable` to stop Grammarly throwing errors. Closes [ckeditor/ckeditor5#578](https://github.com/ckeditor/ckeditor5/issues/578). ([051b326](https://github.com/ckeditor/ckeditor5-widget/commit/051b326))
|
197
|
+
|
198
|
+
### Other changes
|
199
|
+
|
200
|
+
* Increased the specificity of CSS rules. Introduced the .ck class for editor UI components (see: [ckeditor/ckeditor5#494](https://github.com/ckeditor/ckeditor5/issues/494)). ([abc7def](https://github.com/ckeditor/ckeditor5-widget/commit/abc7def))
|
201
|
+
|
202
|
+
### BREAKING CHANGES
|
203
|
+
|
204
|
+
* The `.ck-editable` class is no longer available. Use the `.ck-editor__nested-editable` class instead.
|
205
|
+
|
206
|
+
|
207
|
+
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-widget/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018-03-15)
|
208
|
+
|
209
|
+
### Other changes
|
210
|
+
|
211
|
+
* Aligned feature class naming to the new scheme. ([23991a4](https://github.com/ckeditor/ckeditor5-widget/commit/23991a4))
|
212
|
+
* 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)). ([857d6d4](https://github.com/ckeditor/ckeditor5-widget/commit/857d6d4))
|
213
|
+
* Switched to handling deletion around widgets by using the `delete` event instead of listening directly on key events. Closes [#29](https://github.com/ckeditor/ckeditor5-widget/issues/29). ([ee6cc95](https://github.com/ckeditor/ckeditor5-widget/commit/ee6cc95))
|
214
|
+
|
215
|
+
|
216
|
+
## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-widget/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2017-11-14)
|
217
|
+
|
218
|
+
### Bug fixes
|
219
|
+
|
220
|
+
* The <kbd>Ctrl</kbd>+<kbd>A</kbd> keystroke will be now correctly handled when a widget is selected. Closes [#23](https://github.com/ckeditor/ckeditor5-widget/issues/23). ([3e8f91f](https://github.com/ckeditor/ckeditor5-widget/commit/3e8f91f))
|
221
|
+
* View element's `setAttribute()` method should be used with string values of the `contenteditable` attribute. Closes [#26](https://github.com/ckeditor/ckeditor5-widget/issues/26). ([d2a6cf5](https://github.com/ckeditor/ckeditor5-widget/commit/d2a6cf5))
|
222
|
+
|
223
|
+
### Other changes
|
224
|
+
|
225
|
+
* Widgets highlight remove handler will now use only descriptor id, instead of the full descriptor. ([1dfdc83](https://github.com/ckeditor/ckeditor5-widget/commit/1dfdc83))
|
226
|
+
|
227
|
+
|
228
|
+
## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-widget/compare/v0.2.0...v1.0.0-alpha.1) (2017-10-03)
|
229
|
+
|
230
|
+
### Bug fixes
|
231
|
+
|
232
|
+
* <kbd>Backspace</kbd> and <kbd>Delete</kbd> should not delete a widget when the editor is in the read-only mode. Closes [#6](https://github.com/ckeditor/ckeditor5-widget/issues/6). ([5f64125](https://github.com/ckeditor/ckeditor5-widget/commit/5f64125))
|
233
|
+
* Nested element structures next to widgets will be correctly removed when pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>. Closes [#19](https://github.com/ckeditor/ckeditor5-widget/issues/19). ([27ee848](https://github.com/ckeditor/ckeditor5-widget/commit/27ee848))
|
234
|
+
|
235
|
+
|
236
|
+
## [0.2.0](https://github.com/ckeditor/ckeditor5-widget/compare/v0.1.1...v0.2.0) (2017-09-03)
|
237
|
+
|
238
|
+
### Bug fixes
|
239
|
+
|
240
|
+
* Added initial contenteditable state for editable widget. Closes [#9](https://github.com/ckeditor/ckeditor5-widget/issues/9). ([c6321ff](https://github.com/ckeditor/ckeditor5-widget/commit/c6321ff))
|
241
|
+
|
242
|
+
### Features
|
243
|
+
|
244
|
+
* <kbd>Ctrl</kbd>+<kbd>A</kbd> in a nested editable should select nested editable's content. Closes [#13](https://github.com/ckeditor/ckeditor5-widget/issues/13). ([35a8aff](https://github.com/ckeditor/ckeditor5-widget/commit/35a8aff))
|
245
|
+
|
246
|
+
### Other changes
|
247
|
+
|
248
|
+
* Adjusted widget to the editor read-only mode. Closes [#7](https://github.com/ckeditor/ckeditor5-widget/issues/7). ([2726873](https://github.com/ckeditor/ckeditor5-widget/commit/2726873))
|
249
|
+
* Introduced highlights support for widgets. Closes [#11](https://github.com/ckeditor/ckeditor5-widget/issues/11). ([0bd3d66](https://github.com/ckeditor/ckeditor5-widget/commit/0bd3d66))
|
250
|
+
|
251
|
+
|
252
|
+
## [0.1.1](https://github.com/ckeditor/ckeditor5-widget/compare/v0.1.0...v0.1.1) (2017-05-07)
|
253
|
+
|
254
|
+
Internal changes only (updated dependencies, documentation, etc.).
|
255
|
+
|
256
|
+
## 0.1.0 (2017-04-05)
|
257
|
+
|
258
|
+
### Features
|
259
|
+
|
260
|
+
* Initial implementation (the code was moved from the `ckeditor5-image` package). Closes [#1](https://github.com/ckeditor/ckeditor5-widget/issues/1). ([564dd97](https://github.com/ckeditor/ckeditor5-widget/commit/564dd97))
|
package/LICENSE.md
CHANGED
@@ -11,6 +11,10 @@ Sources of Intellectual Property Included in CKEditor
|
|
11
11
|
|
12
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
13
|
|
14
|
+
The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT):
|
15
|
+
|
16
|
+
* lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/.
|
17
|
+
|
14
18
|
Trademarks
|
15
19
|
----------
|
16
20
|
|
@@ -0,0 +1,29 @@
|
|
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: Arabic (https://www.transifex.com/ckeditor/teams/11143/ar/)\n"
|
16
|
+
"Language: ar\n"
|
17
|
+
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
|
18
|
+
|
19
|
+
msgctxt "The label used by assistive technologies describing a toolbar attached to a widget."
|
20
|
+
msgid "Widget toolbar"
|
21
|
+
msgstr "شريط أدوات الواجهة"
|
22
|
+
|
23
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
|
+
msgid "Insert paragraph before block"
|
25
|
+
msgstr "إدراج فقرة قبل الكتلة"
|
26
|
+
|
27
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
|
+
msgid "Insert paragraph after block"
|
29
|
+
msgstr "إدراج فقرة بعد الكتلة"
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Bulgarian (https://www.transifex.com/ckeditor/teams/11143/bg/)\n"
|
16
|
+
"Language: bg\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
|
+
|
19
|
+
msgctxt "The label used by assistive technologies describing a toolbar attached to a widget."
|
20
|
+
msgid "Widget toolbar"
|
21
|
+
msgstr "Лента с помощни средства"
|
22
|
+
|
23
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
|
+
msgid "Insert paragraph before block"
|
25
|
+
msgstr "Въведи параграф преди блока"
|
26
|
+
|
27
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
|
+
msgid "Insert paragraph after block"
|
29
|
+
msgstr "Въведи параграф след блока"
|
@@ -0,0 +1,29 @@
|
|
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 "The label used by assistive technologies describing a toolbar attached to a widget."
|
20
|
+
msgid "Widget toolbar"
|
21
|
+
msgstr "উইজেট টুলবার"
|
22
|
+
|
23
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
|
+
msgid "Insert paragraph before block"
|
25
|
+
msgstr "ব্লক করার আগে অনুচ্ছেদ ঢোকান"
|
26
|
+
|
27
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
|
+
msgid "Insert paragraph after block"
|
29
|
+
msgstr "ব্লকের পর অনুচ্ছেদ ঢোকান"
|
@@ -0,0 +1,29 @@
|
|
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 "The label used by assistive technologies describing a toolbar attached to a widget."
|
20
|
+
msgid "Widget toolbar"
|
21
|
+
msgstr "Barra d'eines de ginys"
|
22
|
+
|
23
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
|
+
msgid "Insert paragraph before block"
|
25
|
+
msgstr "Inserir un paràgraf abans del bloc"
|
26
|
+
|
27
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
|
+
msgid "Insert paragraph after block"
|
29
|
+
msgstr "Inserir un paràgraf després del bloc"
|
package/lang/translations/da.po
CHANGED
@@ -22,8 +22,8 @@ msgstr "Widget værktøjslinje"
|
|
22
22
|
|
23
23
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
24
|
msgid "Insert paragraph before block"
|
25
|
-
msgstr ""
|
25
|
+
msgstr "Indsæt paragraf før blok"
|
26
26
|
|
27
27
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
28
|
msgid "Insert paragraph after block"
|
29
|
-
msgstr ""
|
29
|
+
msgstr "Indsæt paragraf efter blok"
|
package/lang/translations/es.po
CHANGED
@@ -14,7 +14,7 @@ msgid ""
|
|
14
14
|
msgstr ""
|
15
15
|
"Language-Team: Spanish (https://www.transifex.com/ckeditor/teams/11143/es/)\n"
|
16
16
|
"Language: es\n"
|
17
|
-
"Plural-Forms: nplurals=
|
17
|
+
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
18
|
|
19
19
|
msgctxt "The label used by assistive technologies describing a toolbar attached to a widget."
|
20
20
|
msgid "Widget toolbar"
|
package/lang/translations/et.po
CHANGED
@@ -22,8 +22,8 @@ msgstr "Vidinate tööriistariba"
|
|
22
22
|
|
23
23
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
24
|
msgid "Insert paragraph before block"
|
25
|
-
msgstr ""
|
25
|
+
msgstr "Sisesta lõik enne plokki"
|
26
26
|
|
27
27
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
28
|
msgid "Insert paragraph after block"
|
29
|
-
msgstr ""
|
29
|
+
msgstr "Sisesta lõik pärast plokki"
|
@@ -0,0 +1,29 @@
|
|
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: Finnish (https://www.transifex.com/ckeditor/teams/11143/fi/)\n"
|
16
|
+
"Language: fi\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
|
+
|
19
|
+
msgctxt "The label used by assistive technologies describing a toolbar attached to a widget."
|
20
|
+
msgid "Widget toolbar"
|
21
|
+
msgstr "Widget-työkalupalkki"
|
22
|
+
|
23
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
|
+
msgid "Insert paragraph before block"
|
25
|
+
msgstr "Liitä kappale ennen lohkoa"
|
26
|
+
|
27
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
|
+
msgid "Insert paragraph after block"
|
29
|
+
msgstr "Liitä kappale lohkon jälkeen"
|
package/lang/translations/fr.po
CHANGED
@@ -14,7 +14,7 @@ msgid ""
|
|
14
14
|
msgstr ""
|
15
15
|
"Language-Team: French (https://www.transifex.com/ckeditor/teams/11143/fr/)\n"
|
16
16
|
"Language: fr\n"
|
17
|
-
"Plural-Forms: nplurals=
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
18
|
|
19
19
|
msgctxt "The label used by assistive technologies describing a toolbar attached to a widget."
|
20
20
|
msgid "Widget toolbar"
|
package/lang/translations/he.po
CHANGED
@@ -22,8 +22,8 @@ msgstr "סרגל יישומון"
|
|
22
22
|
|
23
23
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
24
|
msgid "Insert paragraph before block"
|
25
|
-
msgstr ""
|
25
|
+
msgstr "הוספת פסקה מעל"
|
26
26
|
|
27
27
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
28
|
msgid "Insert paragraph after block"
|
29
|
-
msgstr ""
|
29
|
+
msgstr "הוספת פסקה מתחת"
|
package/lang/translations/it.po
CHANGED
@@ -14,7 +14,7 @@ msgid ""
|
|
14
14
|
msgstr ""
|
15
15
|
"Language-Team: Italian (https://www.transifex.com/ckeditor/teams/11143/it/)\n"
|
16
16
|
"Language: it\n"
|
17
|
-
"Plural-Forms: nplurals=
|
17
|
+
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
18
|
|
19
19
|
msgctxt "The label used by assistive technologies describing a toolbar attached to a widget."
|
20
20
|
msgid "Widget toolbar"
|
package/lang/translations/ko.po
CHANGED
@@ -22,8 +22,8 @@ msgstr "위젯 툴바"
|
|
22
22
|
|
23
23
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
24
|
msgid "Insert paragraph before block"
|
25
|
-
msgstr ""
|
25
|
+
msgstr "블록 앞에 단락 삽입"
|
26
26
|
|
27
27
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
28
|
msgid "Insert paragraph after block"
|
29
|
-
msgstr ""
|
29
|
+
msgstr "블록 뒤에 단락 삽입"
|
@@ -0,0 +1,29 @@
|
|
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: Lithuanian (https://www.transifex.com/ckeditor/teams/11143/lt/)\n"
|
16
|
+
"Language: lt\n"
|
17
|
+
"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n"
|
18
|
+
|
19
|
+
msgctxt "The label used by assistive technologies describing a toolbar attached to a widget."
|
20
|
+
msgid "Widget toolbar"
|
21
|
+
msgstr "Valdiklių įrankių juosta"
|
22
|
+
|
23
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
|
+
msgid "Insert paragraph before block"
|
25
|
+
msgstr "Įkelti pastraipą prieš bloką"
|
26
|
+
|
27
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
|
+
msgid "Insert paragraph after block"
|
29
|
+
msgstr "Įkelti pastraipą po bloko"
|
@@ -0,0 +1,29 @@
|
|
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 "The label used by assistive technologies describing a toolbar attached to a widget."
|
20
|
+
msgid "Widget toolbar"
|
21
|
+
msgstr "Bar alat capaian widget"
|
22
|
+
|
23
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
|
+
msgid "Insert paragraph before block"
|
25
|
+
msgstr "Masukkan perenggan sebelum blok"
|
26
|
+
|
27
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
|
+
msgid "Insert paragraph after block"
|
29
|
+
msgstr "Masukkan perenggan sebelum blok"
|
package/lang/translations/no.po
CHANGED
@@ -22,8 +22,8 @@ msgstr "Widget verktøylinje "
|
|
22
22
|
|
23
23
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
24
|
msgid "Insert paragraph before block"
|
25
|
-
msgstr ""
|
25
|
+
msgstr "Sett inn paragraf foran blokk"
|
26
26
|
|
27
27
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
28
|
msgid "Insert paragraph after block"
|
29
|
-
msgstr ""
|
29
|
+
msgstr "Sett inn paragraf etter blokk"
|
@@ -14,7 +14,7 @@ msgid ""
|
|
14
14
|
msgstr ""
|
15
15
|
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
|
16
16
|
"Language: pt_BR\n"
|
17
|
-
"Plural-Forms: nplurals=
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
18
|
|
19
19
|
msgctxt "The label used by assistive technologies describing a toolbar attached to a widget."
|
20
20
|
msgid "Widget toolbar"
|
@@ -0,0 +1,29 @@
|
|
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 "The label used by assistive technologies describing a toolbar attached to a widget."
|
20
|
+
msgid "Widget toolbar"
|
21
|
+
msgstr "Barra de ferramentas do widget"
|
22
|
+
|
23
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
|
+
msgid "Insert paragraph before block"
|
25
|
+
msgstr "Inserir parágrafo antes do bloco"
|
26
|
+
|
27
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
|
+
msgid "Insert paragraph after block"
|
29
|
+
msgstr "Inserir parágrafo após o bloco"
|
@@ -0,0 +1,29 @@
|
|
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 "The label used by assistive technologies describing a toolbar attached to a widget."
|
20
|
+
msgid "Widget toolbar"
|
21
|
+
msgstr "Widgetverktygsfält"
|
22
|
+
|
23
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
|
+
msgid "Insert paragraph before block"
|
25
|
+
msgstr "Infoga stycke före block"
|
26
|
+
|
27
|
+
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
|
+
msgid "Insert paragraph after block"
|
29
|
+
msgstr "Infoga stycke efter block"
|
package/lang/translations/th.po
CHANGED
@@ -22,8 +22,8 @@ msgstr "แถมเครื่องมือวิดเจ็ต"
|
|
22
22
|
|
23
23
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
24
|
msgid "Insert paragraph before block"
|
25
|
-
msgstr ""
|
25
|
+
msgstr "แทรกย่อหน้าก่อนบล็อก"
|
26
26
|
|
27
27
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
28
|
msgid "Insert paragraph after block"
|
29
|
-
msgstr ""
|
29
|
+
msgstr "แทรกย่อหน้าหลังบล็อก"
|
package/lang/translations/tr.po
CHANGED
@@ -22,8 +22,8 @@ msgstr "Bileşen araç çubuğu"
|
|
22
22
|
|
23
23
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
24
|
msgid "Insert paragraph before block"
|
25
|
-
msgstr ""
|
25
|
+
msgstr "Bloktan önce paragraf ekle"
|
26
26
|
|
27
27
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
28
|
msgid "Insert paragraph after block"
|
29
|
-
msgstr ""
|
29
|
+
msgstr "Bloktan sonra paragraf ekle"
|
package/lang/translations/vi.po
CHANGED
@@ -22,8 +22,8 @@ msgstr "Thanh công cụ tiện ích"
|
|
22
22
|
|
23
23
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
24
24
|
msgid "Insert paragraph before block"
|
25
|
-
msgstr ""
|
25
|
+
msgstr "Chèn đoạn trước khối"
|
26
26
|
|
27
27
|
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
28
28
|
msgid "Insert paragraph after block"
|
29
|
-
msgstr ""
|
29
|
+
msgstr "Chèn đoạn sau khối"
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-widget",
|
3
|
-
"version": "
|
3
|
+
"version": "35.0.1",
|
4
4
|
"description": "Widget API for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -11,29 +11,29 @@
|
|
11
11
|
],
|
12
12
|
"main": "src/index.js",
|
13
13
|
"dependencies": {
|
14
|
-
"@ckeditor/ckeditor5-core": "^
|
15
|
-
"@ckeditor/ckeditor5-engine": "^
|
16
|
-
"@ckeditor/ckeditor5-enter": "^
|
17
|
-
"@ckeditor/ckeditor5-ui": "^
|
18
|
-
"@ckeditor/ckeditor5-utils": "^
|
19
|
-
"@ckeditor/ckeditor5-typing": "^
|
14
|
+
"@ckeditor/ckeditor5-core": "^35.0.1",
|
15
|
+
"@ckeditor/ckeditor5-engine": "^35.0.1",
|
16
|
+
"@ckeditor/ckeditor5-enter": "^35.0.1",
|
17
|
+
"@ckeditor/ckeditor5-ui": "^35.0.1",
|
18
|
+
"@ckeditor/ckeditor5-utils": "^35.0.1",
|
19
|
+
"@ckeditor/ckeditor5-typing": "^35.0.1",
|
20
20
|
"lodash-es": "^4.17.15"
|
21
21
|
},
|
22
22
|
"devDependencies": {
|
23
|
-
"@ckeditor/ckeditor5-basic-styles": "^
|
24
|
-
"@ckeditor/ckeditor5-block-quote": "^
|
25
|
-
"@ckeditor/ckeditor5-clipboard": "^
|
26
|
-
"@ckeditor/ckeditor5-editor-balloon": "^
|
27
|
-
"@ckeditor/ckeditor5-editor-classic": "^
|
28
|
-
"@ckeditor/ckeditor5-essentials": "^
|
29
|
-
"@ckeditor/ckeditor5-heading": "^
|
30
|
-
"@ckeditor/ckeditor5-horizontal-line": "^
|
31
|
-
"@ckeditor/ckeditor5-image": "^
|
32
|
-
"@ckeditor/ckeditor5-link": "^
|
33
|
-
"@ckeditor/ckeditor5-media-embed": "^
|
34
|
-
"@ckeditor/ckeditor5-paragraph": "^
|
35
|
-
"@ckeditor/ckeditor5-table": "^
|
36
|
-
"@ckeditor/ckeditor5-undo": "^
|
23
|
+
"@ckeditor/ckeditor5-basic-styles": "^35.0.1",
|
24
|
+
"@ckeditor/ckeditor5-block-quote": "^35.0.1",
|
25
|
+
"@ckeditor/ckeditor5-clipboard": "^35.0.1",
|
26
|
+
"@ckeditor/ckeditor5-editor-balloon": "^35.0.1",
|
27
|
+
"@ckeditor/ckeditor5-editor-classic": "^35.0.1",
|
28
|
+
"@ckeditor/ckeditor5-essentials": "^35.0.1",
|
29
|
+
"@ckeditor/ckeditor5-heading": "^35.0.1",
|
30
|
+
"@ckeditor/ckeditor5-horizontal-line": "^35.0.1",
|
31
|
+
"@ckeditor/ckeditor5-image": "^35.0.1",
|
32
|
+
"@ckeditor/ckeditor5-link": "^35.0.1",
|
33
|
+
"@ckeditor/ckeditor5-media-embed": "^35.0.1",
|
34
|
+
"@ckeditor/ckeditor5-paragraph": "^35.0.1",
|
35
|
+
"@ckeditor/ckeditor5-table": "^35.0.1",
|
36
|
+
"@ckeditor/ckeditor5-undo": "^35.0.1"
|
37
37
|
},
|
38
38
|
"engines": {
|
39
39
|
"node": ">=14.0.0",
|
@@ -52,6 +52,7 @@
|
|
52
52
|
"lang",
|
53
53
|
"src",
|
54
54
|
"theme",
|
55
|
-
"ckeditor5-metadata.json"
|
55
|
+
"ckeditor5-metadata.json",
|
56
|
+
"CHANGELOG.md"
|
56
57
|
]
|
57
58
|
}
|
package/src/utils.js
CHANGED
@@ -240,7 +240,7 @@ export function getLabel( element ) {
|
|
240
240
|
* view: ( modelItem, { writer } ) => {
|
241
241
|
* const div = writer.createEditableElement( 'div', { class: 'nested' } );
|
242
242
|
*
|
243
|
-
* return toWidgetEditable( nested, writer );
|
243
|
+
* return toWidgetEditable( nested, writer, { label: 'label for editable' } );
|
244
244
|
* }
|
245
245
|
* } );
|
246
246
|
*
|
@@ -257,11 +257,19 @@ export function getLabel( element ) {
|
|
257
257
|
*
|
258
258
|
* @param {module:engine/view/editableelement~EditableElement} editable
|
259
259
|
* @param {module:engine/view/downcastwriter~DowncastWriter} writer
|
260
|
+
* @param {Object} [options] Additional options.
|
261
|
+
* @param {String} [options.label] Editable's label used by assistive technologies (e.g. screen readers).
|
260
262
|
* @returns {module:engine/view/editableelement~EditableElement} Returns the same element that was provided in the `editable` parameter
|
261
263
|
*/
|
262
|
-
export function toWidgetEditable( editable, writer ) {
|
264
|
+
export function toWidgetEditable( editable, writer, options = {} ) {
|
263
265
|
writer.addClass( [ 'ck-editor__editable', 'ck-editor__nested-editable' ], editable );
|
264
266
|
|
267
|
+
writer.setAttribute( 'role', 'textbox', editable );
|
268
|
+
|
269
|
+
if ( options.label ) {
|
270
|
+
writer.setAttribute( 'aria-label', options.label, editable );
|
271
|
+
}
|
272
|
+
|
265
273
|
// Set initial contenteditable value.
|
266
274
|
writer.setAttribute( 'contenteditable', editable.isReadOnly ? 'false' : 'true', editable );
|
267
275
|
|