@ckeditor/ckeditor5-widget 40.1.0 → 41.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +29 -29
- package/LICENSE.md +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +8 -7
- package/src/augmentation.d.ts +2 -2
- package/src/augmentation.js +1 -1
- package/src/highlightstack.d.ts +1 -1
- package/src/highlightstack.js +1 -1
- package/src/index.d.ts +7 -7
- package/src/index.js +7 -7
- package/src/utils.d.ts +1 -1
- package/src/utils.js +4 -5
- package/src/verticalnavigation.d.ts +1 -1
- package/src/verticalnavigation.js +1 -1
- package/src/widget.d.ts +2 -2
- package/src/widget.js +4 -4
- package/src/widgetresize/resizer.d.ts +3 -3
- package/src/widgetresize/resizer.js +3 -3
- package/src/widgetresize/resizerstate.d.ts +2 -2
- package/src/widgetresize/resizerstate.js +1 -1
- package/src/widgetresize/sizeview.d.ts +3 -3
- package/src/widgetresize/sizeview.js +1 -1
- package/src/widgetresize.d.ts +2 -2
- package/src/widgetresize.js +2 -2
- package/src/widgettoolbarrepository.d.ts +1 -1
- package/src/widgettoolbarrepository.js +2 -2
- package/src/widgettypearound/utils.d.ts +1 -1
- package/src/widgettypearound/utils.js +2 -2
- package/src/widgettypearound/widgettypearound.d.ts +1 -1
- package/src/widgettypearound/widgettypearound.js +3 -3
- package/theme/widget.css +1 -1
- package/theme/widgetresize.css +1 -1
- package/theme/widgettypearound.css +1 -1
package/CHANGELOG.md
CHANGED
@@ -5,7 +5,7 @@ All changes in the package are documented in the main repository. See: https://g
|
|
5
5
|
|
6
6
|
Changes for the past releases are available below.
|
7
7
|
|
8
|
-
## [19.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v18.0.0...v19.0.0) (2020
|
8
|
+
## [19.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v18.0.0...v19.0.0) (April 29, 2020)
|
9
9
|
|
10
10
|
### MINOR BREAKING CHANGES
|
11
11
|
|
@@ -21,12 +21,12 @@ Changes for the past releases are available below.
|
|
21
21
|
* Updated translations. ([79d1a21](https://github.com/ckeditor/ckeditor5-widget/commit/79d1a21))
|
22
22
|
|
23
23
|
|
24
|
-
## [18.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v17.0.0...v18.0.0) (2020
|
24
|
+
## [18.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v17.0.0...v18.0.0) (March 19, 2020)
|
25
25
|
|
26
26
|
Internal changes only (updated dependencies, documentation, etc.).
|
27
27
|
|
28
28
|
|
29
|
-
## [17.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v16.0.0...v17.0.0) (2020
|
29
|
+
## [17.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v16.0.0...v17.0.0) (February 19, 2020)
|
30
30
|
|
31
31
|
### MINOR BREAKING CHANGES
|
32
32
|
|
@@ -46,14 +46,14 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
46
46
|
* Updated translations. ([75b8c83](https://github.com/ckeditor/ckeditor5-widget/commit/75b8c83))
|
47
47
|
|
48
48
|
|
49
|
-
## [16.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v15.0.0...v16.0.0) (2019
|
49
|
+
## [16.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v15.0.0...v16.0.0) (December 4, 2019)
|
50
50
|
|
51
51
|
### Other changes
|
52
52
|
|
53
53
|
* Updated translations. ([b3bf5f0](https://github.com/ckeditor/ckeditor5-widget/commit/b3bf5f0))
|
54
54
|
|
55
55
|
|
56
|
-
## [15.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v11.1.0...v15.0.0) (2019
|
56
|
+
## [15.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v11.1.0...v15.0.0) (October 23, 2019)
|
57
57
|
|
58
58
|
### MAJOR BREAKING CHANGES
|
59
59
|
|
@@ -73,7 +73,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
73
73
|
* Updated translations. ([b9cb673](https://github.com/ckeditor/ckeditor5-widget/commit/b9cb673)) ([daea4f5](https://github.com/ckeditor/ckeditor5-widget/commit/daea4f5))
|
74
74
|
|
75
75
|
|
76
|
-
## [11.1.0](https://github.com/ckeditor/ckeditor5-widget/compare/v11.0.4...v11.1.0) (2019
|
76
|
+
## [11.1.0](https://github.com/ckeditor/ckeditor5-widget/compare/v11.0.4...v11.1.0) (August 26, 2019)
|
77
77
|
|
78
78
|
### Features
|
79
79
|
|
@@ -90,31 +90,31 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
90
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
91
|
|
92
92
|
|
93
|
-
## [11.0.4](https://github.com/ckeditor/ckeditor5-widget/compare/v11.0.3...v11.0.4) (2019
|
93
|
+
## [11.0.4](https://github.com/ckeditor/ckeditor5-widget/compare/v11.0.3...v11.0.4) (July 10, 2019)
|
94
94
|
|
95
95
|
Internal changes only (updated dependencies, documentation, etc.).
|
96
96
|
|
97
97
|
|
98
|
-
## [11.0.3](https://github.com/ckeditor/ckeditor5-widget/compare/v11.0.2...v11.0.3) (2019
|
98
|
+
## [11.0.3](https://github.com/ckeditor/ckeditor5-widget/compare/v11.0.2...v11.0.3) (July 4, 2019)
|
99
99
|
|
100
100
|
### Bug fixes
|
101
101
|
|
102
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
103
|
|
104
104
|
|
105
|
-
## [11.0.2](https://github.com/ckeditor/ckeditor5-widget/compare/v11.0.1...v11.0.2) (2019
|
105
|
+
## [11.0.2](https://github.com/ckeditor/ckeditor5-widget/compare/v11.0.1...v11.0.2) (June 6, 2019)
|
106
106
|
|
107
107
|
Internal changes only (updated dependencies, documentation, etc.).
|
108
108
|
|
109
109
|
|
110
|
-
## [11.0.1](https://github.com/ckeditor/ckeditor5-widget/compare/v11.0.0...v11.0.1) (2019
|
110
|
+
## [11.0.1](https://github.com/ckeditor/ckeditor5-widget/compare/v11.0.0...v11.0.1) (April 4, 2019)
|
111
111
|
|
112
112
|
### Bug fixes
|
113
113
|
|
114
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
115
|
|
116
116
|
|
117
|
-
## [11.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v10.3.1...v11.0.0) (2019
|
117
|
+
## [11.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v10.3.1...v11.0.0) (February 28, 2019)
|
118
118
|
|
119
119
|
### Bug fixes
|
120
120
|
|
@@ -126,7 +126,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
126
126
|
|
127
127
|
### Other changes
|
128
128
|
|
129
|
-
* Introduce support and
|
129
|
+
* Introduce support and utilities 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
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
131
|
|
132
132
|
### BREAKING CHANGES
|
@@ -136,7 +136,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
136
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
137
|
|
138
138
|
|
139
|
-
## [10.3.1](https://github.com/ckeditor/ckeditor5-widget/compare/v10.3.0...v10.3.1) (2018
|
139
|
+
## [10.3.1](https://github.com/ckeditor/ckeditor5-widget/compare/v10.3.0...v10.3.1) (December 5, 2018)
|
140
140
|
|
141
141
|
### Bug fixes
|
142
142
|
|
@@ -147,7 +147,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
147
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
148
|
|
149
149
|
|
150
|
-
## [10.3.0](https://github.com/ckeditor/ckeditor5-widget/compare/v10.2.0...v10.3.0) (2018
|
150
|
+
## [10.3.0](https://github.com/ckeditor/ckeditor5-widget/compare/v10.2.0...v10.3.0) (October 8, 2018)
|
151
151
|
|
152
152
|
### Features
|
153
153
|
|
@@ -155,7 +155,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
155
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
156
|
|
157
157
|
|
158
|
-
## [10.2.0](https://github.com/ckeditor/ckeditor5-widget/compare/v10.1.0...v10.2.0) (2018
|
158
|
+
## [10.2.0](https://github.com/ckeditor/ckeditor5-widget/compare/v10.1.0...v10.2.0) (July 18, 2018)
|
159
159
|
|
160
160
|
### Features
|
161
161
|
|
@@ -163,17 +163,17 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
163
163
|
|
164
164
|
### Other changes
|
165
165
|
|
166
|
-
* Do not set the `contenteditable` property for widgets and their nested
|
166
|
+
* Do not set the `contenteditable` property for widgets and their nested editable elements in 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
167
|
|
168
168
|
|
169
|
-
## [10.1.0](https://github.com/ckeditor/ckeditor5-widget/compare/v10.0.0...v10.1.0) (2018
|
169
|
+
## [10.1.0](https://github.com/ckeditor/ckeditor5-widget/compare/v10.0.0...v10.1.0) (June 21, 2018)
|
170
170
|
|
171
171
|
### Features
|
172
172
|
|
173
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
174
|
|
175
175
|
|
176
|
-
## [10.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v1.0.0-beta.4...v10.0.0) (2018
|
176
|
+
## [10.0.0](https://github.com/ckeditor/ckeditor5-widget/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018)
|
177
177
|
|
178
178
|
### Other changes
|
179
179
|
|
@@ -184,16 +184,16 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
184
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
185
|
|
186
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
|
187
|
+
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-widget/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018)
|
188
188
|
|
189
189
|
Internal changes only (updated dependencies, documentation, etc.).
|
190
190
|
|
191
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
|
192
|
+
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-widget/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018)
|
193
193
|
|
194
194
|
### Bug fixes
|
195
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))
|
196
|
+
* Replaced nested editable element'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
197
|
|
198
198
|
### Other changes
|
199
199
|
|
@@ -204,7 +204,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
204
204
|
* The `.ck-editable` class is no longer available. Use the `.ck-editor__nested-editable` class instead.
|
205
205
|
|
206
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
|
207
|
+
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-widget/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018)
|
208
208
|
|
209
209
|
### Other changes
|
210
210
|
|
@@ -213,7 +213,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
213
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
214
|
|
215
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
|
216
|
+
## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-widget/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017)
|
217
217
|
|
218
218
|
### Bug fixes
|
219
219
|
|
@@ -225,7 +225,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
225
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
226
|
|
227
227
|
|
228
|
-
## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-widget/compare/v0.2.0...v1.0.0-alpha.1) (2017
|
228
|
+
## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-widget/compare/v0.2.0...v1.0.0-alpha.1) (October 3, 2017)
|
229
229
|
|
230
230
|
### Bug fixes
|
231
231
|
|
@@ -233,15 +233,15 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
233
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
234
|
|
235
235
|
|
236
|
-
## [0.2.0](https://github.com/ckeditor/ckeditor5-widget/compare/v0.1.1...v0.2.0) (2017
|
236
|
+
## [0.2.0](https://github.com/ckeditor/ckeditor5-widget/compare/v0.1.1...v0.2.0) (September 3, 2017)
|
237
237
|
|
238
238
|
### Bug fixes
|
239
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))
|
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
241
|
|
242
242
|
### Features
|
243
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))
|
244
|
+
* <kbd>Ctrl</kbd>+<kbd>A</kbd> in a nested editable should select the nested editable element's content. Closes [#13](https://github.com/ckeditor/ckeditor5-widget/issues/13). ([35a8aff](https://github.com/ckeditor/ckeditor5-widget/commit/35a8aff))
|
245
245
|
|
246
246
|
### Other changes
|
247
247
|
|
@@ -249,11 +249,11 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
249
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
250
|
|
251
251
|
|
252
|
-
## [0.1.1](https://github.com/ckeditor/ckeditor5-widget/compare/v0.1.0...v0.1.1) (2017
|
252
|
+
## [0.1.1](https://github.com/ckeditor/ckeditor5-widget/compare/v0.1.0...v0.1.1) (May 7, 2017)
|
253
253
|
|
254
254
|
Internal changes only (updated dependencies, documentation, etc.).
|
255
255
|
|
256
|
-
## 0.1.0 (2017
|
256
|
+
## 0.1.0 (April 5, 2017)
|
257
257
|
|
258
258
|
### Features
|
259
259
|
|
package/LICENSE.md
CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
|
|
2
2
|
==========================
|
3
3
|
|
4
4
|
**CKEditor 5 widget API** – https://github.com/ckeditor/ckeditor5-image <br>
|
5
|
-
Copyright (c) 2003–
|
5
|
+
Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
6
6
|
|
7
7
|
Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
|
8
8
|
|
package/lang/translations/ar.po
CHANGED
package/lang/translations/az.po
CHANGED
package/lang/translations/bg.po
CHANGED
package/lang/translations/bn.po
CHANGED
package/lang/translations/ca.po
CHANGED
package/lang/translations/cs.po
CHANGED
package/lang/translations/da.po
CHANGED
package/lang/translations/de.po
CHANGED
package/lang/translations/el.po
CHANGED
package/lang/translations/en.po
CHANGED
package/lang/translations/es.po
CHANGED
package/lang/translations/et.po
CHANGED
package/lang/translations/fa.po
CHANGED
package/lang/translations/fi.po
CHANGED
package/lang/translations/fr.po
CHANGED
package/lang/translations/gl.po
CHANGED
package/lang/translations/he.po
CHANGED
package/lang/translations/hi.po
CHANGED
package/lang/translations/hr.po
CHANGED
package/lang/translations/hu.po
CHANGED
package/lang/translations/id.po
CHANGED
package/lang/translations/it.po
CHANGED
package/lang/translations/ja.po
CHANGED
package/lang/translations/ko.po
CHANGED
package/lang/translations/ku.po
CHANGED
package/lang/translations/lt.po
CHANGED
package/lang/translations/lv.po
CHANGED
package/lang/translations/ms.po
CHANGED
package/lang/translations/nl.po
CHANGED
package/lang/translations/no.po
CHANGED
package/lang/translations/pl.po
CHANGED
package/lang/translations/pt.po
CHANGED
package/lang/translations/ro.po
CHANGED
package/lang/translations/ru.po
CHANGED
package/lang/translations/sk.po
CHANGED
package/lang/translations/sq.po
CHANGED
package/lang/translations/sr.po
CHANGED
package/lang/translations/sv.po
CHANGED
package/lang/translations/th.po
CHANGED
package/lang/translations/tk.po
CHANGED
package/lang/translations/tr.po
CHANGED
package/lang/translations/uk.po
CHANGED
package/lang/translations/ur.po
CHANGED
package/lang/translations/uz.po
CHANGED
package/lang/translations/vi.po
CHANGED
package/lang/translations/zh.po
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-widget",
|
3
|
-
"version": "
|
3
|
+
"version": "41.0.0",
|
4
4
|
"description": "Widget API for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -9,14 +9,15 @@
|
|
9
9
|
"ckeditor5-lib",
|
10
10
|
"ckeditor5-dll"
|
11
11
|
],
|
12
|
+
"type": "module",
|
12
13
|
"main": "src/index.js",
|
13
14
|
"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": "
|
15
|
+
"@ckeditor/ckeditor5-core": "41.0.0",
|
16
|
+
"@ckeditor/ckeditor5-engine": "41.0.0",
|
17
|
+
"@ckeditor/ckeditor5-enter": "41.0.0",
|
18
|
+
"@ckeditor/ckeditor5-ui": "41.0.0",
|
19
|
+
"@ckeditor/ckeditor5-utils": "41.0.0",
|
20
|
+
"@ckeditor/ckeditor5-typing": "41.0.0",
|
20
21
|
"lodash-es": "4.17.21"
|
21
22
|
},
|
22
23
|
"author": "CKSource (http://cksource.com/)",
|
package/src/augmentation.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
|
-
import type { Widget, WidgetResize, WidgetToolbarRepository, WidgetTypeAround } from './index';
|
5
|
+
import type { Widget, WidgetResize, WidgetToolbarRepository, WidgetTypeAround } from './index.js';
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
7
7
|
interface PluginsMap {
|
8
8
|
[Widget.pluginName]: Widget;
|
package/src/augmentation.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
export {};
|
package/src/highlightstack.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
import type { DowncastWriter, HighlightDescriptor } from '@ckeditor/ckeditor5-engine';
|
package/src/highlightstack.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
package/src/index.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget
|
7
7
|
*/
|
8
|
-
export { default as Widget } from './widget';
|
9
|
-
export { default as WidgetToolbarRepository } from './widgettoolbarrepository';
|
10
|
-
export { default as WidgetResize } from './widgetresize';
|
11
|
-
export { default as WidgetTypeAround } from './widgettypearound/widgettypearound';
|
12
|
-
export * from './utils';
|
13
|
-
import './augmentation';
|
8
|
+
export { default as Widget } from './widget.js';
|
9
|
+
export { default as WidgetToolbarRepository } from './widgettoolbarrepository.js';
|
10
|
+
export { default as WidgetResize } from './widgetresize.js';
|
11
|
+
export { default as WidgetTypeAround } from './widgettypearound/widgettypearound.js';
|
12
|
+
export * from './utils.js';
|
13
|
+
import './augmentation.js';
|
package/src/index.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget
|
7
7
|
*/
|
8
|
-
export { default as Widget } from './widget';
|
9
|
-
export { default as WidgetToolbarRepository } from './widgettoolbarrepository';
|
10
|
-
export { default as WidgetResize } from './widgetresize';
|
11
|
-
export { default as WidgetTypeAround } from './widgettypearound/widgettypearound';
|
12
|
-
export * from './utils';
|
13
|
-
import './augmentation';
|
8
|
+
export { default as Widget } from './widget.js';
|
9
|
+
export { default as WidgetToolbarRepository } from './widgettoolbarrepository.js';
|
10
|
+
export { default as WidgetResize } from './widgetresize.js';
|
11
|
+
export { default as WidgetTypeAround } from './widgettypearound/widgettypearound.js';
|
12
|
+
export * from './utils.js';
|
13
|
+
import './augmentation.js';
|
package/src/utils.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
package/src/utils.js
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/utils
|
7
7
|
*/
|
8
8
|
import { CKEditorError, toArray } from '@ckeditor/ckeditor5-utils';
|
9
|
-
import { findOptimalInsertionRange as engineFindOptimalInsertionRange } from '@ckeditor/ckeditor5-engine';
|
10
9
|
import { IconView } from '@ckeditor/ckeditor5-ui';
|
11
|
-
import HighlightStack from './highlightstack';
|
12
|
-
import { getTypeAroundFakeCaretPosition } from './widgettypearound/utils';
|
10
|
+
import HighlightStack from './highlightstack.js';
|
11
|
+
import { getTypeAroundFakeCaretPosition } from './widgettypearound/utils.js';
|
13
12
|
import dragHandleIcon from '../theme/icons/drag-handle.svg';
|
14
13
|
/**
|
15
14
|
* CSS class added to each widget element.
|
@@ -259,7 +258,7 @@ export function findOptimalInsertionRange(selection, model) {
|
|
259
258
|
return model.createRange(model.createPositionAt(selectedElement, typeAroundFakeCaretPosition));
|
260
259
|
}
|
261
260
|
}
|
262
|
-
return
|
261
|
+
return model.schema.findOptimalInsertionRange(selection);
|
263
262
|
}
|
264
263
|
/**
|
265
264
|
* A util to be used in order to map view positions to correct model positions when implementing a widget
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
package/src/widget.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
9
9
|
import { type Element, type Node } from '@ckeditor/ckeditor5-engine';
|
10
10
|
import { Delete } from '@ckeditor/ckeditor5-typing';
|
11
|
-
import WidgetTypeAround from './widgettypearound/widgettypearound';
|
11
|
+
import WidgetTypeAround from './widgettypearound/widgettypearound.js';
|
12
12
|
import '../theme/widget.css';
|
13
13
|
/**
|
14
14
|
* The widget plugin. It enables base support for widgets.
|
package/src/widget.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
@@ -9,9 +9,9 @@ import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { MouseObserver, TreeWalker } from '@ckeditor/ckeditor5-engine';
|
10
10
|
import { Delete } from '@ckeditor/ckeditor5-typing';
|
11
11
|
import { env, getLocalizedArrowKeyCodeDirection } from '@ckeditor/ckeditor5-utils';
|
12
|
-
import WidgetTypeAround from './widgettypearound/widgettypearound';
|
13
|
-
import verticalNavigationHandler from './verticalnavigation';
|
14
|
-
import { getLabel, isWidget, WIDGET_SELECTED_CLASS_NAME } from './utils';
|
12
|
+
import WidgetTypeAround from './widgettypearound/widgettypearound.js';
|
13
|
+
import verticalNavigationHandler from './verticalnavigation.js';
|
14
|
+
import { getLabel, isWidget, WIDGET_SELECTED_CLASS_NAME } from './utils.js';
|
15
15
|
import '../theme/widget.css';
|
16
16
|
/**
|
17
17
|
* The widget plugin. It enables base support for widgets.
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
import { Rect, type DecoratedMethodEvent } from '@ckeditor/ckeditor5-utils';
|
6
|
-
import ResizeState from './resizerstate';
|
7
|
-
import type { ResizerOptions } from '../widgetresize';
|
6
|
+
import ResizeState from './resizerstate.js';
|
7
|
+
import type { ResizerOptions } from '../widgetresize.js';
|
8
8
|
declare const Resizer_base: {
|
9
9
|
new (): import("@ckeditor/ckeditor5-utils").Observable;
|
10
10
|
prototype: import("@ckeditor/ckeditor5-utils").Observable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
@@ -7,8 +7,8 @@
|
|
7
7
|
*/
|
8
8
|
import { Template } from '@ckeditor/ckeditor5-ui';
|
9
9
|
import { Rect, ObservableMixin, compareArrays } from '@ckeditor/ckeditor5-utils';
|
10
|
-
import ResizeState from './resizerstate';
|
11
|
-
import SizeView from './sizeview';
|
10
|
+
import ResizeState from './resizerstate.js';
|
11
|
+
import SizeView from './sizeview.js';
|
12
12
|
/**
|
13
13
|
* Represents a resizer for a single resizable object.
|
14
14
|
*/
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
|
-
import type { ResizerOptions } from '../widgetresize';
|
5
|
+
import type { ResizerOptions } from '../widgetresize.js';
|
6
6
|
declare const ResizeState_base: {
|
7
7
|
new (): import("@ckeditor/ckeditor5-utils").Observable;
|
8
8
|
prototype: import("@ckeditor/ckeditor5-utils").Observable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
@@ -1,13 +1,13 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widgetresize/sizeview
|
7
7
|
*/
|
8
8
|
import { View } from '@ckeditor/ckeditor5-ui';
|
9
|
-
import type { ResizerOptions } from '../widgetresize';
|
10
|
-
import type ResizeState from './resizerstate';
|
9
|
+
import type { ResizerOptions } from '../widgetresize.js';
|
10
|
+
import type ResizeState from './resizerstate.js';
|
11
11
|
/**
|
12
12
|
* A view displaying the proposed new element size during the resizing.
|
13
13
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
package/src/widgetresize.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widgetresize
|
7
7
|
*/
|
8
|
-
import Resizer from './widgetresize/resizer';
|
8
|
+
import Resizer from './widgetresize/resizer.js';
|
9
9
|
import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
|
10
10
|
import { type Element, type ViewContainerElement } from '@ckeditor/ckeditor5-engine';
|
11
11
|
import '../theme/widgetresize.css';
|
package/src/widgetresize.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widgetresize
|
7
7
|
*/
|
8
|
-
import Resizer from './widgetresize/resizer';
|
8
|
+
import Resizer from './widgetresize/resizer.js';
|
9
9
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
10
10
|
import { MouseObserver } from '@ckeditor/ckeditor5-engine';
|
11
11
|
import { DomEmitterMixin, global } from '@ckeditor/ckeditor5-utils';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
9
9
|
import { BalloonPanelView, ContextualBalloon, ToolbarView } from '@ckeditor/ckeditor5-ui';
|
10
10
|
import { CKEditorError, logWarning } from '@ckeditor/ckeditor5-utils';
|
11
|
-
import { isWidget } from './utils';
|
11
|
+
import { isWidget } from './utils.js';
|
12
12
|
/**
|
13
13
|
* Widget toolbar repository plugin. A central point for registering widget toolbars. This plugin handles the whole
|
14
14
|
* toolbar rendering process and exposes a concise API.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
import type { DocumentSelection, DomConverter, Element, Schema, Selection, ViewElement } from '@ckeditor/ckeditor5-engine';
|
@@ -1,11 +1,11 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widgettypearound/utils
|
7
7
|
*/
|
8
|
-
import { isWidget } from '../utils';
|
8
|
+
import { isWidget } from '../utils.js';
|
9
9
|
/**
|
10
10
|
* The name of the type around model selection attribute responsible for
|
11
11
|
* displaying a fake caret next to a selected widget.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/* global DOMParser */
|
@@ -11,8 +11,8 @@ import { Template } from '@ckeditor/ckeditor5-ui';
|
|
11
11
|
import { Enter } from '@ckeditor/ckeditor5-enter';
|
12
12
|
import { Delete } from '@ckeditor/ckeditor5-typing';
|
13
13
|
import { env, isForwardArrowKeyCode } from '@ckeditor/ckeditor5-utils';
|
14
|
-
import { isTypeAroundWidget, getClosestTypeAroundDomButton, getTypeAroundButtonPosition, getClosestWidgetViewElement, getTypeAroundFakeCaretPosition, TYPE_AROUND_SELECTION_ATTRIBUTE } from './utils';
|
15
|
-
import { isWidget } from '../utils';
|
14
|
+
import { isTypeAroundWidget, getClosestTypeAroundDomButton, getTypeAroundButtonPosition, getClosestWidgetViewElement, getTypeAroundFakeCaretPosition, TYPE_AROUND_SELECTION_ATTRIBUTE } from './utils.js';
|
15
|
+
import { isWidget } from '../utils.js';
|
16
16
|
import returnIcon from '../../theme/icons/return-arrow.svg';
|
17
17
|
import '../../theme/widgettypearound.css';
|
18
18
|
const POSSIBLE_INSERTION_POSITIONS = ['before', 'after'];
|
package/theme/widget.css
CHANGED
package/theme/widgetresize.css
CHANGED